-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
244 lines (219 loc) · 10.1 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
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
<!DOCTYPE html>
<html theme="default">
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://cdn.modrinth.com; img-src 'self' https://cdn.modrinth.com">
<title>KSMP Client Updater</title>
<link rel="stylesheet" type="text/css" href="./assets/css/toastify.css">
<script type="text/javascript" src="./assets/js/front/toastify.js" defer></script>
<link href="./assets/css/themes.css" rel="stylesheet" />
<link href="./assets/css/fonts.css" rel="stylesheet" />
<link href="./assets/css/ee.css" rel="stylesheet" />
<link href="./assets/css/style.css" rel="stylesheet" />
<script src="./assets/js/front/functions.js" defer></script>
<script src="./assets/js/front/ee.js" defer></script>
<script src="./assets/js/front/logs.js" defer></script>
<script src="./assets/js/front/notifications.js" defer></script>
<script src="./renderer.js" defer></script>
</head>
<body>
<div class="header">
<svg file-to-load="./assets/img/svg/icon.svg"></svg>
<div class="navbar">
<div class="item selected" target-page="home">
<svg file-to-load="./assets/img/svg/home.svg"></svg>
<p>Accueil</p>
</div>
<div class="item" target-page="mods">
<svg file-to-load="./assets/img/svg/mods.svg"></svg>
<p>Mods</p>
</div>
<div class="item" target-page="ressourcepack">
<svg file-to-load="./assets/img/svg/rp.svg"></svg>
<p>Ressource Packs</p>
</div>
<div class="item" target-page="shaderpack">
<svg file-to-load="./assets/img/svg/sp.svg"></svg>
<p>Shader Packs</p>
</div>
<div class="item" target-page="settings">
<svg file-to-load="./assets/img/svg/settings.svg"></svg>
<p>Paramètres</p>
</div>
<div class="item" target-page="about">
<svg file-to-load="./assets/img/svg/about.svg"></svg>
<p>À propos</p>
</div>
</div>
</div>
<div class="pages">
<div class="page show" page="home">
<div class="grid-container">
<div class="grid-item">
<svg file-to-load="./assets/img/svg/home.svg"></svg>
<p>Emplacement du fichier de jeu</p>
</div>
<div class="grid-item">
<div class="input path">
<input name="game-folder" type="text" placeholder="%appdata%/.minecraft/">
<svg file-to-load="./assets/img/svg/search_file.svg"></svg>
</div>
</div>
<div class="grid-item">
<svg file-to-load="./assets/img/svg/mods.svg"></svg>
<p>Pack de mods</p>
</div>
<div class="grid-item">
<div class="input select">
<select name="modpack">
<option value="null">Aucun pack de mod selectionné.</option>
</select>
<svg file-to-load="./assets/img/svg/expand.svg"></svg>
</div>
</div>
<div class="grid-item">
<svg file-to-load="./assets/img/svg/rp.svg"></svg>
<p>Pack de ressources</p>
</div>
<div class="grid-item">
<div class="input select">
<select name="ressourcepack">
<option value="null">Aucun pack de ressources selectionné.</option>
</select>
<svg file-to-load="./assets/img/svg/expand.svg"></svg>
</div>
</div>
<div class="grid-item">
<svg file-to-load="./assets/img/svg/sp.svg"></svg>
<p>Pack visuels</p>
</div>
<div class="grid-item">
<div class="input select">
<select name="shaderpack">
<option value="null">Aucun shader pack selectionné.</option>
</select>
<svg file-to-load="./assets/img/svg/expand.svg"></svg>
</div>
</div>
<div class="grid-item">
<svg file-to-load="./assets/img/svg/startup.svg"></svg>
<p>Lancer au démarrage dy système</p>
</div>
<div class="grid-item">
<div class="input checkbox">
<label class="wrapper">
<input type="checkbox" name="startup">
<div class="slider">
<div class="knob"></div>
</div>
</label>
</div>
</div>
<div class="grid-item">
<svg file-to-load="./assets/img/svg/minimized.svg"></svg>
<p>Démarrer l'application en réduit</p>
</div>
<div class="grid-item">
<div class="input checkbox">
<label class="wrapper">
<input type="checkbox" name="startup-minimized">
<div class="slider">
<div class="knob"></div>
</div>
</label>
</div>
</div>
<div class="grid-item">
<svg file-to-load="./assets/img/svg/run_background.svg"></svg>
<p>Autoriser l'application à tourner en fond</p>
</div>
<div class="grid-item">
<div class="input checkbox">
<label class="wrapper">
<input type="checkbox" name="allow-run-background">
<div class="slider">
<div class="knob"></div>
</div>
</label>
</div>
</div>
<div class="grid-item full-width-item center-content">
<div class="input button secondary">
<label class="wrapper">
<svg file-to-load="./assets/img/svg/update.svg"></svg>
<p>Mettre à jour</p>
</label>
</div>
<div class="input button primary">
<label name="save" class="wrapper">
<svg file-to-load="./assets/img/svg/save.svg"></svg>
<p>Sauvegarde</p>
</label>
</div>
</div>
<div class="grid-item full-width-item tall-item">
<div class="log-area"></div>
</div>
</div>
</div>
<div class="page" page="mods">
<div class="grid-container">
<div class="grid-item full-width-item center-content">
<svg class="test" file-to-load="./assets/img/svg/mods.svg"></svg>
<h2>Pack de mods</h2>
</div>
<div class="grid-item full-width-item center-content">
<div class="input w-50 select">
<select name="modpack">
<option value="null">Aucun pack de mod selectionné.</option>
</select>
<svg file-to-load="./assets/img/svg/expand.svg"></svg>
</div>
</div>
<div class="grid-item full-width-item center-content">
<div class="separator"></div>
</div>
<div class="grid-item full-width-item">
<div class="mods"></div>
</div>
<div class="grid-item full-width-item center-content">
<div class="separator"></div>
</div>
<div class="grid-item full-width-item center-content">
<div class="input button secondary">
<label name="install-mod" class="wrapper">
<svg file-to-load="./assets/img/svg/update.svg"></svg>
<p>Installation</p>
</label>
</div>
<div class="input button primary">
<label name="save" class="wrapper">
<svg file-to-load="./assets/img/svg/save.svg"></svg>
<p>Sauvegarde</p>
</label>
</div>
</div>
<div class="grid-item full-width-item center-content">
<div class="void" style="--size: 1rem;"></div>
</div>
</div>
</div>
<div class="page" page="ressourcepack">
<h2>L'affichage et l'installation automatique arrivent bientôt !</h2>
<div class="void"></div>
</div>
<div class="page" page="shaderpack">
<h2>L'affichage et l'installation automatique arrivent bientôt !</h2>
<div class="void"></div>
</div>
<div class="page" page="settings">
<h2>Les settings arrivent bientôt !</h2>
</div>
<div class="page" page="about">
<h2>Plus d'infos et de crédits bientôt !</h2>
<p>Un grand merci à <a href="https://twitter.com/booluigi10">Booluigi</a> pour son aide sur le design 🙏</p>
</div>
</div>
</body>
</html>