added some function for choose date

This commit is contained in:
2026-06-06 09:05:26 +02:00
parent 75e51dacdc
commit fa6f041f12
4 changed files with 215 additions and 5 deletions
+27 -2
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ZynkTime - Time Reporting</title>
<link rel="stylesheet" href="/static/css/style.css?v=2">
<link rel="stylesheet" href="/static/css/style.css?v=3">
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
@@ -66,6 +66,31 @@
</div>
</div>
<!-- Time Entries Preview Table -->
<div id="previewContainer" style="display: none; margin-top: 1.5rem;">
<h4>Preview Time Entries</h4>
<p class="text-sm text-muted mb-2">Click on a row or checkbox to exclude it from reporting.</p>
<div class="table-responsive">
<table class="preview-table">
<thead>
<tr>
<th width="50"><input type="checkbox" id="selectAllPreview" checked></th>
<th>Date</th>
<th>Hours</th>
</tr>
</thead>
<tbody id="previewTableBody">
</tbody>
<tfoot>
<tr>
<td colspan="2" align="right"><strong>Total Selected:</strong></td>
<td><strong id="previewTotalHours">0.00</strong></td>
</tr>
</tfoot>
</table>
</div>
</div>
<!-- Project Selection -->
<div class="form-group">
<label for="projectSelect">Select Project</label>
@@ -155,6 +180,6 @@
<p>Processing your request...</p>
</div>
<script src="/static/js/app.js?v=2"></script>
<script src="/static/js/app.js?v=3"></script>
</body>
</html>