-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (78 loc) · 2.81 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!--
Author: Ajay Singh
Version: 1.5
Date: 2024-08-12
Description: HTML structure for the ReVision application. Includes a header with the title, a data table with a search input, a date container with navigation buttons and a date picker.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="ReVision - A web application for managing and reviewing programs.">
<title>ReVision</title>
<!-- Icons and Manifest -->
<link rel="apple-touch-icon" sizes="180x180" href="favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon_io/favicon-16x16.png">
<link rel="manifest" href="favicon_io/site.webmanifest">
<!-- Stylesheets -->
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
</head>
<body>
<!-- Header Section -->
<header>
<h1 id="headerTitle">ReVision</h1>
</header>
<!-- Data Table Container -->
<div id="dataTableContainer">
<input
type="text"
id="searchInput"
class="search-bar"
placeholder="Search..."
autofocus
aria-label="Search Input"
>
<table id="dataTable">
<thead>
<tr>
<th>Program Name</th>
<th>Date</th>
<th>Revisions</th>
</tr>
</thead>
<tbody>
<!-- Table rows will be dynamically added here -->
</tbody>
</table>
</div>
<!-- Date Picker and Navigation -->
<div class="date-container">
<p id="dateDisplay" class="date-display"></p>
<input
type="text"
id="datePicker"
style="display:none;"
aria-label="Date Picker"
>
<div class="date-buttons">
<button id="prevDay" class="nav-button" aria-label="Previous Day"><</button>
<button id="nextDay" class="nav-button" aria-label="Next Day">></button>
</div>
</div>
<!-- Loading Animation -->
<div class="loading-overlay" id="loading">
<div class="loader-11">
<div></div>
</div>
</div>
<!-- ARIA live region for date announcements -->
<p id="dateAnnouncement" aria-live="polite" role="status"></p>
<!-- Scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
<script src="script.js"></script>
</body>
</html>