small-projects/budgeting_website/templates/upload.html
2025-04-26 20:13:35 -05:00

31 lines
1.3 KiB
HTML

<!-- templates/upload.html -->
{% extends "layout.html" %}
{% block content %}
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">
Upload Your Financial Data
</div>
<div class="card-body">
<p class="card-text">
Upload a CSV file with your financial transactions to get started. The file should have the following columns:
</p>
<pre class="bg-light p-3 rounded">
"Date","Transaction ID","Transaction Type","Currency","Amount","Fee","Net Amount",
"Asset Type","Asset Price","Asset Amount","Status","Notes","Name of sender/receiver","Account"
</pre>
<form action="/upload" method="post" enctype="multipart/form-data" class="mt-4">
<div class="mb-3">
<label for="fileInput" class="form-label">Select CSV File</label>
<input class="form-control" type="file" id="fileInput" name="file" accept=".csv">
</div>
<button type="submit" class="btn btn-primary">Upload and Analyze</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}