100 lines
2.4 KiB
HTML
100 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Download ITAT Reports</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
|
|
<style>
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: #f4f7f9;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 60px auto;
|
|
padding: 30px;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
color: #333;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
label {
|
|
font-weight: 600;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
select {
|
|
padding: 8px 12px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
min-width: 200px;
|
|
}
|
|
|
|
button {
|
|
padding: 10px 20px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
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 ITAT Report</h2>
|
|
<form method="GET" action="{{ url_for('itat_report') }}" target="_blank">
|
|
|
|
<label for="year">Select Year:</label>
|
|
<br>
|
|
<select name="year" id="year" required>
|
|
<option value="">-- Select Year --</option>
|
|
{% for y in years %}
|
|
<option value="{{ y }}">{{ y }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<br><br>
|
|
<button type="submit">Download Excel</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |