UI chnage mobile view and desktop view apllyign css

This commit is contained in:
2026-01-24 02:11:19 +05:30
parent 539561c8d8
commit 50f0e77f77
54 changed files with 1173 additions and 3001 deletions

View File

@@ -3,7 +3,7 @@
{% block title %}Add New AO Record{% endblock %}
{% block extra_css %}
<!-- Child page CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_ao.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -4,7 +4,7 @@
{% block extra_css %}
<!-- Child page CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_cit.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}
<div class="container">

View File

@@ -4,7 +4,7 @@
{% block extra_css %}
<!-- Child page CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_itr.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -4,7 +4,7 @@
{% block extra_css %}
<!-- Child page CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_itr.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -3,7 +3,7 @@
{% block title %}Download AO Report{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/ao_report.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/report_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8" />
<title>{% block title %}Income Tax Utilities{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Shared CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/index.css') }}">

View File

@@ -3,7 +3,7 @@
{% block title %}Download CIT Report{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/cit_report.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/report_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -5,7 +5,7 @@
{% block content %}
<!-- Load only display_itr CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_itr.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_model.css') }}">
<div class="container">
<h2 style="text-align: center;">Assessing Officer Records 👨‍💼</h2>

View File

@@ -5,7 +5,7 @@
{% block content %}
<!-- Load only display_itr CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_cit.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_model.css') }}">
<div class="main">
<div class="container">

View File

@@ -4,7 +4,7 @@
<!-- Load page-specific CSS -->
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_itat.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_model.css') }}">
{% endblock %}
{% block content %}
@@ -16,15 +16,6 @@
<a href="{{ url_for('add_itat') }}" class="btn btn-add"> Add New Record</a>
<!-- FLASH MESSAGES -->
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert alert-{{ category }}">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
<!-- TABLE -->
{% if records %}
<div class="table-wrapper">

View File

@@ -4,7 +4,7 @@
{% block content %}
<!-- Load only display_itr CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_itr.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/display_model.css') }}">
<div class="container">

View File

@@ -3,7 +3,7 @@
{% block title %}Download ITAT Report{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/itat_report.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/report_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -3,7 +3,7 @@
{% block title %}Download ITR Report{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/itr_report.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/report_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -4,68 +4,14 @@
<head>
<meta charset="UTF-8" />
<title>LCEPL Income Tax</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f3f3f3;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.login-container {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
h2 {
text-align: center;
margin-bottom: 1.5rem;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 0.5rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
width: 100%;
padding: 0.5rem;
background: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.flash {
color: red;
text-align: center;
margin-bottom: 1rem;
}
.title {
text-align: center;
color: #007bff;
}
.subtitle {
text-align: center;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ url_for('static', filename='css/login.css') }}">
</head>
<body>
<div class="login-container">
<h1 class="title">Laxmi Civil Engineering Services</h1>
<h2 class="sub-title">Income Tax Software</h2>
<h4 class="subtitle">LOGIN</h4>
{% with messages = get_flashed_messages(with_categories=true) %} {% if

View File

@@ -16,4 +16,4 @@
</ul>
</div>
</div>
{% endblock %}
{% endblock %}

View File

@@ -3,7 +3,7 @@
{% block title %}Update AO Record{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_ao.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -3,7 +3,7 @@
{% block title %}Update CIT Record{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_cit.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -2,7 +2,7 @@
{% block title %}Update ITAT Record{% endblock %}
{% block extra_css %}
<!-- Child page CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_itat.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -3,7 +3,7 @@
{% block title %}Update ITR Record{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_itr.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_model.css') }}">
{% endblock %}
{% block content %}

View File

@@ -12,7 +12,6 @@
<div class="container">
<h2>Document Records</h2>
<!-- FILTER FORM -->
<form method="GET">
<label for="year">Filter by Year:</label>
@@ -24,55 +23,59 @@
</select>
<label for="stage">Filter by Stage:</label>
<select name="stage">
<!-- <select name="stage">
<option value="">All</option>
<option value="ITR">ITR</option>
<option value="AO">AO</option>
<option value="CIT">CIT</option>
<option value="ITAT">ITAT</option>
</select> -->
<select name="stage">
<option value="">All</option>
{% set stages = ['ITR','AO','CIT','ITAT'] %}
{% for stage in stages %}
<option value="{{stage}}">{{stage}}</option>
{% endfor %}
</select>
<button type="submit">Apply</button>
</form>
<!-- DOCUMENT TABLE -->
<table>
<thead>
<tr>
<th>File</th>
<th>Type</th>
<th>Stage</th>
<th>Year</th>
<th>Uploaded At</th>
<th>Download</th>
<th>View</th>
</tr>
</thead>
<div class="table-responsive">
<table>
<thead>
<tr>
<th>File</th>
<th>Type</th>
<th>Stage</th>
<th>Year</th>
<th>Uploaded At</th>
<th>Download</th>
<th>View</th>
</tr>
</thead>
<tbody>
{% for doc in documents %}
<tr>
<td>{{ doc.filename }}</td>
<td>{{ doc.filetype }}</td>
<td>{{ doc.stage }}</td>
<td>AY {{ doc.year }}-{{ doc.year +1 }}</td>
<td>{{ doc.uploaded_at }}</td>
<tbody>
{% for doc in documents %}
<tr>
<td>{{ doc.filename }}</td>
<td>{{ doc.filetype }}</td>
<td>{{ doc.stage }}</td>
<td>AY {{ doc.year }}-{{ doc.year +1 }}</td>
<td>{{ doc.uploaded_at }}</td>
<td>
<a href="{{ url_for('uploaded_file', filename=doc.filename) }}?mode=download">
Download
</a>
</td>
<td> <a href="{{ url_for('uploaded_file', filename=doc.filename) }}?mode=download">Download/a>
</td>
<td>
<a href="{{ url_for('uploaded_file', filename=doc.filename) }}?mode=view" target="_blank">
View
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<td><a href="{{ url_for('uploaded_file', filename=doc.filename) }}?mode=view"
target="_blank">View</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>