add auto-calculation of Itr and Ao form and also back-to dashboard button commit

This commit is contained in:
2025-12-04 17:31:12 +05:30
parent dd339070ab
commit 4fce58adec
29 changed files with 1387 additions and 314 deletions

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<title>Download CIT Reports</title>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
@@ -17,7 +18,7 @@
padding: 30px;
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
@@ -51,10 +52,32 @@
button:hover {
background-color: #0056b3;
}
/* 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 CIT Report</h2>
<form method="GET" action="{{ url_for('cit_report') }}" target="_blank">
@@ -63,7 +86,7 @@
<select name="year" id="year" required>
<option value="">-- Select Year --</option>
{% for y in years %}
<option value="{{ y }}">{{ y }}</option>
<option value="{{ y }}">{{ y }}</option>
{% endfor %}
</select>
<br><br>
@@ -71,4 +94,5 @@
</form>
</div>
</body>
</html>
</html>