modification ui changes base pages,login, manus and from chnages and adding filds. V2 commit
This commit is contained in:
@@ -1,81 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{% extends "base.html" %}
|
||||
|
||||
<head>
|
||||
<title>Download CIT 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;
|
||||
}
|
||||
{% block title %}Download CIT Report{% endblock %}
|
||||
|
||||
.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;
|
||||
}
|
||||
{% block extra_css %}
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/cit_report.css') }}">
|
||||
{% endblock %}
|
||||
|
||||
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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block content %}
|
||||
<div class="main">
|
||||
<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">
|
||||
|
||||
<label for="year">Select Year:</label>
|
||||
<br>
|
||||
<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> -->
|
||||
<option value="{{ y }}">AY {{ y }}-{{y +1 }}</option>
|
||||
<option value="{{ y }}">AY {{ y }} - {{ y + 1 }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<br><br>
|
||||
<button type="submit">Download Excel</button>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<br>
|
||||
<button type="submit">Download Excel</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ url_for('static', filename='js/year_dropdown.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/toggle.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_js %} <script src="{{ url_for('static', filename='js/year_dropdown.js') }}"></script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user