-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.html
101 lines (98 loc) · 3.86 KB
/
settings.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
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<!-- the document type declaration and the opening tag of the html document -->
<meta charset="UTF-8" />
<!-- specifies the character encoding for the document -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- sets the viewport width and initial zoom level -->
<title>Settings - Invtrack</title>
<!-- sets the title of the webpage -->
<link rel="stylesheet" href="settings.css" />
<!-- links an external css file for styling -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
/>
<!-- links an external css file for font awesome icons -->
<link rel="stylesheet" href="sidebar.css" />
<!-- links an external css file for sidebar styling -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap"
/>
<!-- links an external css file for google fonts -->
</head>
<body>
<div class="sidebar"></div>
<!-- empty div element for the sidebar -->
<nav>
<!-- navigation section -->
<div id="green-square"></div>
<!-- empty div element with an id for styling purposes -->
<ul>
<!-- unordered list for navigation links -->
<li>
<!-- list item -->
<a href="home.html" id="home" class="nav-button"
><i class="fas fa-home icon"></i>home</a
>
<!-- anchor tag for the "home" link with font awesome icon -->
</li>
<li>
<!-- list item -->
<a href="tracking.html" id="tracking" class="nav-button"
><i class="fas fa-chart-line icon"></i>tracking</a
>
<!-- anchor tag for the "tracking" link with font awesome icon -->
</li>
<li>
<!-- list item -->
<a href="settings.html" id="settings" class="nav-button"
><i class="fas fa-cog icon"></i>settings</a
>
<!-- anchor tag for the "settings" link with font awesome icon -->
</li>
<li class="auth-buttons">
<!-- list item with a class for styling purposes -->
<span id="auth-status">
<!-- span element with an id for styling purposes -->
<a id="signin" href="login.html" class="nav-button">#</a>
<!-- anchor tag for the "#" link -->
</span>
</li>
</ul>
</nav>
<div id="content">
<!-- div element with an id for styling purposes -->
<div class="settings-container">
<!-- div element with a class for styling purposes -->
<h1>Settings</h1>
<!-- heading element for the "settings" title -->
<div class="setting-item">
<!-- div element with a class for styling purposes -->
<label for="dark-mode-toggle">dark mode (beta):</label>
<!-- label for the dark mode toggle checkbox -->
<input type="checkbox" id="dark-mode-toggle" />
<!-- checkbox input for enabling dark mode -->
</div>
<div class="setting-item">
<!-- div element with a class for styling purposes -->
<label>current date and time:</label>
<!-- label for displaying the current date and time -->
<span id="date-time"></span>
<!-- span element with an id for displaying the date and time dynamically -->
</div>
<div class="setting-item">
<!-- div element with a class for styling purposes -->
<label>version:</label>
<!-- label for displaying the version number -->
<span>26-06-24</span>
<!-- span element for displaying the version number -->
</div>
</div>
</div>
<script src="settings.js"></script>
<!-- script tag for linking an external javascript file -->
</body>
</html>