-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
260 lines (246 loc) · 11 KB
/
index.html
File metadata and controls
260 lines (246 loc) · 11 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html lang="de">
<head>
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#9A7AA0">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="description" content="Gradia by JVDesign allows you to calculate and organize your grades quickly and easily, even over multiple school years. Keep track of your academic performance offline and on your device, ensuring you never miss a chance to improve your grades. Take control of your educational journey with Gradia!">
<meta property="og:image" content="./img/ogimage.png" />
<title>Gradia</title>
<link rel="apple-touch-icon" href="./img/app_icon.png">
<link rel="apple-touch-startup-image" href="./img/app_icon.png">
<link rel="stylesheet" href="style.css">
<style>
#loading-screen {
position: fixed;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
background: #000;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
z-index: 9999;
}
#loading-screen svg {
width: 80vw;
aspect-ratio: 1;
max-width: 80vh;
fill:#957b9e;
fill-opacity:1;
stroke-width:4.50001;
paint-order:fill markers stroke;
}
#loading-error {
text-align: center;
width: 80vw;
white-space: pre-wrap;
}
</style>
<script type="importmap">
{
"imports": {
"datamanager": "./modules/datamanager.js",
"cryptojs": "./modules/crypto.js"
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Gradia",
"alternateName": "Grade Tracker Gradia",
"operatingSystem": "Web",
"applicationCategory": "EducationApplication",
"applicationSubCategory": "StudentApplication",
"description": "Gradia by JVDesign lets students manage and calculate their grades across multiple school years. Track academic progress with weighted exams, offline access, and a clean, structured interface.",
"keywords": "grade tracker, grade calculator, school app, student planner, grade management, GPA calculator, education, semester planner, exam organizer",
"url": "https://jvdesign.is-a.dev/gradia/",
"sameAs": [
"https://github.com/jvdesign-dev/gradia"
],
"screenshot": "https://jvdesign.is-a.dev/gradia/img/ogimage.png",
"softwareVersion": "1.1",
"creator": {
"@type": "Organization",
"name": "JVDesign"
},
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "EUR"
},
"browserRequirements": "Requires modern browser",
"inLanguage": ["de", "en"],
"datePublished": "2025-07-10"
}
</script>
<script type="module" src="script.js"></script>
</head>
<body>
<div id="loading-screen">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M 11.958917,0.04026482 A 12,12 0 0 0 0.040782,10.665456 h 2.778642 a 9.25,9.25 0 0 1 9.139493,-7.8749715 9.25,9.25 0 0 1 1.37511,0.1085205 V 0.12243035 a 12,12 0 0 0 -1.37511,-0.08216553 z m 1.37511,10.62519118 v 2.749703 h 7.772136 a 9.25,9.25 0 0 1 -7.772136,7.766451 v 2.778125 A 12,12 0 0 0 23.959218,12.040049 12,12 0 0 0 23.877053,10.665456 H 21.105646 Z M 0.041299,13.415159 A 12,12 0 0 0 10.584324,23.959735 V 13.415159 Z" />
</svg>
<div>
<p id="loading-error"></p>
</div>
</div>
<div class="background"></div>
<main>
<dialog id="downloadDialog">
<form method="dialog">
<div>
<div class="infoTop">
<button value="true" autofocus>Später</button>
<button value="false">Nicht mehr zeigen</button>
</div>
<span id="downloadMessage"></span>
</div>
</form>
</dialog>
<dialog id="confirmDialog">
<form method="dialog">
<div>
<span id="confirmMessage"></span>
<div>
<button value="false">Abbrechen</button>
<button value="true" autofocus>Ok</button>
</div>
</div>
</form>
</dialog>
<dialog id="sortDialog">
<form method="dialog">
<div>
<span id="sortMessage"></span>
<div class="multiSelect">
<select id="sortMode">
<option value="alphabet">alphabetisch</option>
<option value="grade">Note</option>
<option value="gradeCount">Notenanzahl</option>
</select>
<select id="sortOrder">
<option value="asc">aufsteigend</option>
<option value="desc">absteigend</option>
</select>
</div>
<div>
<button value="false">Abbrechen</button>
<button value="true" autofocus>Ok</button>
</div>
</div>
</form>
</dialog>
<dialog id="selectDialog">
<form method="dialog">
<div>
<span id="selectMessage"></span>
<select id="dialogSelect"></select>
<input type="text" id="filePasswordInput" placeholder="password" class="encryptedFile">
<label for="filePasswordInput" class="encryptedFile">Choose a password to lock the file</label>
<div class="encryptedFile box">
<span id="recoveryKey" class="encryptedFile"></span>
<button id="copyRecoveryKey" type="button">Copy</button>
</div>
<label for="copyRecoveryKey" class="encryptedFile">Your Recovery Code</label>
<div>
<button value="false">Abbrechen</button>
<button value="true" autofocus>Ok</button>
</div>
</div>
</form>
</dialog>
<dialog id="fileAccessDialog">
<form method="dialog">
<div>
<span id="fileAccessMessage"></span>
<input id="fileAccessKey" class="fileAccess" type="text" placeholder="password">
<label for="fileAccessKey" class="fileAccess">Your Password or Recovery Key</label>
<div>
<button value="false">Abbrechen</button>
<button value="true" autofocus>Ok</button>
</div>
</div>
</form>
</dialog>
<dialog id="infoDialog">
<form method="dialog">
<div>
<div class="infoTop">
<button id="infoConfirm" value="true" autofocus>Fertig</button>
</div>
<span id="infoMessage"></span>
</div>
</form>
</dialog>
<nav id="top-controls">
<div id="toolDiv">
<div class="transparent">
<i class="options-icon"></i>
</div>
<div>
<i class="alphabet-asc-icon" id="sortIcon"></i>
</div>
</div>
<span id="semesterLink"></span>
</nav>
<table id="table">
</table>
<div id="add">
<input type="text" id="addSess" placeholder="Schuljahr-Name">
<input type="text" id="focusedSubj" list="subjects" placeholder="Fach-Name">
<datalist id="subjects"></datalist>
<input type="number" max="6" min="1" id="grade" placeholder="Note">
<input type="number" id="weight" placeholder="Gewichtung">
<input type="text" id="description" placeholder="Beschreibung">
<div class="checkboxbox" id="schulaufgabebox"><input type="checkbox" id="schulaufgabe"><label for="schulaufgabe">Schulaufgabe</label></div>
<span class="data" id="addVar"></span>
</div>
<div id="settings">
<select class="autosave" name="language" id="lang">
<option value="de">Deutsch</option>
<option value="en">English</option>
</select>
<input type="text" id="examName">
<div class="checkboxbox between" id="multiplierBox">
<span>Gewichtungen</span>
<label class="switch">
<input class="autosave" type="checkbox" id="showMultipliers">
<span class="slider"></span>
</label>
</div>
<div class="checkboxbox between" id="darkmodeBox">
<span>Darkmode</span>
<label class="switch">
<input class="autosave" type="checkbox" id="darkmode">
<span class="slider"></span>
</label>
</div>
<div class="checkboxbox between" id="offlineBox">
<span>Offline</span>
<label class="switch">
<input class="autosave" type="checkbox" id="offline">
<span class="slider"></span>
</label>
</div>
<div class="labelBox">
<div class="innerLabelBox"><input type="button" id="downloadButton" value="Daten herunterladen"/><label for="downloadButton">Datei herunterladen</label></div>
<div class="innerLabelBox"><input type="file" id="fileInput" accept=".grd, .grde"><label for="fileInput">Datei hochladen</label></div>
<div class="innerLabelBox"><input type="button" id="deleteButton" value="Alle Daten löschen"/><label for="deleteButton">Daten löschen</label></div>
</div>
<span id="buildVersion"></span>
</div>
</main>
<nav class="nav bottom">
<div class="smalluibutton"><i data-size = '100%' class="home-icon" data-scene = "main"></i></div>
<div id="centerbutton" class="uibutton"><i id="centerbuttonicon" data-size = '100%' data-color = "#fff" class="plus-icon" data-scene = "add"></i></div>
<div class="smalluibutton"><i data-size = '100%' class="settings-icon" data-scene = "settings"></i></div>
</nav>
</body>
</html>