add auto-calculation of Itr and Ao form and also back-to dashboard button commit
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Download Summary Report</title>
|
||||
<style>
|
||||
@@ -58,14 +59,37 @@
|
||||
color: red;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
/* Back button styling */
|
||||
.back-btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 20px;
|
||||
padding: 10px 18px;
|
||||
background: #6c757d;
|
||||
color: white;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
border-radius: 6px;
|
||||
text-decoration: none;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
|
||||
.back-btn:hover {
|
||||
background: #5a6268;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Back to Dashboard Button -->
|
||||
<a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>
|
||||
|
||||
<h2>Download Year-wise Summary Report</h2>
|
||||
|
||||
{% if message %}
|
||||
<p class="message">{{ message }}</p>
|
||||
<p class="message">{{ message }}</p>
|
||||
{% endif %}
|
||||
|
||||
<form method="GET" action="{{ url_for('summary_report') }}">
|
||||
@@ -73,11 +97,12 @@
|
||||
<select name="year" id="year" required>
|
||||
<option value="">-- Select Year --</option>
|
||||
{% for year in years %}
|
||||
<option value="{{ year }}">{{ year }}</option>
|
||||
<option value="{{ year }}">{{ year }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button type="submit">Download Summary Report</button>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user