17
17
}
18
18
}
19
19
20
- // (C) HTML ?>
20
+ // (C) INSTALLATION PAGE HTML ?>
21
21
<!DOCTYPE html>
22
22
<html>
23
23
<head>
26
26
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.5">
27
27
<meta name="robots" content="noindex">
28
28
<link rel="stylesheet" href="<?= HOST_ASSETS ?> bootstrap.min.css">
29
+ <link rel="stylesheet" href="<?= HOST_ASSETS ?> PAGE-cb.css">
30
+ <script defer src="<?= HOST_ASSETS ?> tsparticles.confetti.bundle.min.js"></script>
29
31
<script defer src="<?= HOST_ASSETS ?> bootstrap.bundle.min.js"></script>
30
32
<?php require PATH_LIB . "CORE-Install-JS.php " ; ?>
31
33
</head>
32
34
<body><div class="container p-4">
33
- <?php if (I_APACHE === false || I_REWRITE === false ) { ?>
34
- <!-- (C1) WARNINGS -->
35
- <div class="bg-danger text-white p-2 mb-2">
36
- If you are running Apache Web Server - Please enable <code class="text-white">MOD_REWRITE</code>.
37
- </div>
38
- <div class="bg-danger text-white p-2">
39
- If you are not running Apache Web Server, you can still try to proceed.
40
- After the installation, "translate" your own <code class="text-white">.htaccess</code> file.
41
- </div>
42
- <?php } ?>
35
+ <form id="iForm" onsubmit="return false">
36
+ <?php if (I_APACHE === false || I_REWRITE === false ) { ?>
37
+ <!-- (C1) WARNINGS -->
38
+ <div class="bg-danger text-white p-2 mb-2">
39
+ If you are running Apache Web Server - Please enable <code class="text-white">MOD_REWRITE</code>.
40
+ </div>
41
+ <div class="bg-danger text-white p-2">
42
+ If you are not running Apache Web Server, you can still try to proceed.
43
+ After the installation, "translate" your own <code class="text-white">.htaccess</code> file.
44
+ </div>
45
+ <?php } ?>
43
46
44
- <!-- (C2) HEADER -->
45
- <div class="d-flex align-items-center mb-3">
46
- <img src="assets/favicon.png" class="me-2">
47
- <h1><?= strtoupper (SITE_NAME )?> INSTALLATION</h1>
48
- </div>
47
+ <!-- (C2) HEADER -->
48
+ <div class="d-flex align-items-center mb-3">
49
+ <img src="assets/favicon.png" class="me-2">
50
+ <h1><?= strtoupper (SITE_NAME )?> INSTALLATION</h1>
51
+ </div>
49
52
50
- <!-- (C3) INSTALLATION FORM -->
51
- <form id="iForm" onsubmit="return false">
52
- <!-- (C3-1) HOST URL -->
53
+ <!-- (C3) HOST URL -->
53
54
<h4 class="text-danger mb-3">HOST URL</h4>
54
55
<div class="bg-light border p-3 mb-3">
55
56
<div class="form-floating mb-2">
70
71
</div>
71
72
</div>
72
73
73
- <!-- (C3-2 ) API ENDPOINT -->
74
+ <!-- (C4 ) API ENDPOINT -->
74
75
<h4 class="text-danger mb-3">API ENDPOINT</h4>
75
76
<div class="bg-light border p-3 mb-3">
76
77
<div class="form-floating mb-2">
110
111
</div>
111
112
</div>
112
113
113
- <!-- (C3-3 ) DATABASE -->
114
+ <!-- (C5 ) DATABASE -->
114
115
<h4 class="text-danger mb-3">DATABASE</h4>
115
116
<div class="bg-light border p-3 mb-3">
116
117
<div class="form-floating mb-2">
134
135
</div>
135
136
</div>
136
137
137
- <!-- (C3-4 ) EMAIL & TIMEZONE -->
138
+ <!-- (C6 ) EMAIL & TIMEZONE -->
138
139
<h4 class="text-danger mb-3">SYSTEM DEFAULTS</h4>
139
140
<div class="bg-light border p-3 mb-3">
140
141
<div class="form-floating mb-2">
151
152
</div>
152
153
</div>
153
154
154
- <!-- (C3-5 ) COMPANY -->
155
+ <!-- (C7 ) COMPANY -->
155
156
<?php if (I_CO ) { ?>
156
157
<h4 class="text-danger mb-3">COMPANY</h4>
157
158
<div class="bg-light border p-3 mb-3">
177
178
</div>
178
179
<?php } ?>
179
180
180
- <!-- (C3-6 ) ADMIN USER -->
181
+ <!-- (C8 ) ADMIN USER -->
181
182
<?php if (I_USER ) { ?>
182
183
<h4 class="text-danger mb-3">ADMIN USER</h4>
183
184
<div class="bg-light border p-3 mb-3">
204
205
</div>
205
206
<?php } ?>
206
207
207
- <!-- (C3-7 ) JWT -->
208
+ <!-- (C9 ) JWT -->
208
209
<h4 class="text-danger mb-3">JSON WEB TOKEN</h4>
209
210
<div class="bg-light border p-3 mb-3">
210
211
<div class="form-floating mb-2">
224
225
</div>
225
226
</div>
226
227
227
- <!-- (C3-8 ) PUSH NOTIFICATION -->
228
+ <!-- (C10 ) PUSH NOTIFICATION -->
228
229
<?php if (I_PUSH ) { ?>
229
230
<h4 class="text-danger mb-3">WEB PUSH VAPID KEYS</h4>
230
231
<div class="bg-light border p-3 mb-3">
245
246
</div>
246
247
<?php } ?>
247
248
248
- <!-- (C3-9 ) GO! -->
249
+ <!-- (C11 ) GO! -->
249
250
<input id="gobtn" type="submit" class="btn btn-primary" value="Go!" disabled>
250
251
</form>
252
+
253
+ <!-- (C12) DONE -->
254
+ <!-- @TODO - UPDATE LINKS FOR YOUR PROJECT -->
255
+ <div id="iCelebrate" class="d-none">
256
+ <h1 class="my-4">INSTALLATION COMPLETE</h1>
257
+
258
+ <h4 class="text-danger m-0">A FEW LINKS</h4>
259
+ <div class="bg-light border p-3 mb-3"><ul class="list-group">
260
+ <li class="list-group-item d-flex align-items-center">
261
+ <a class="btn btn-danger" href="https://code-boxx.com/core-boxx-php-framework/" target="_blank">
262
+ <i class="ico-sm icon-home3"></i> Official
263
+ </a>
264
+ <div class="ms-2">Official Core Boxx Page (Documentation & Stuff).</div>
265
+ </li>
266
+ <li class="list-group-item d-flex align-items-center">
267
+ <a class="btn btn-danger" href="https://github.com/code-boxx/Core-Boxx-PHP-Framework/issues/new/choose" target="_blank">
268
+ <i class="ico-sm icon-bug"></i> Report
269
+ </a>
270
+ <div class="ms-2">Report a bug / Feature Request.</div>
271
+ </li>
272
+ <li class="list-group-item d-flex align-items-center">
273
+ <a class="btn btn-danger" href="https://github.com/code-boxx/Core-Boxx-PHP-Framework" target="_blank">
274
+ <i class="ico-sm icon-star-full"></i> Star
275
+ </a>
276
+ <div class="ms-2">Just give a star to Storage Boxx on GitHub - It's free.</div>
277
+ </li>
278
+ <li class="list-group-item d-flex align-items-center">
279
+ <a class="btn btn-danger" href="https://github.com/sponsors/code-boxx?frequency=one-time" target="_blank">
280
+ <i class="ico-sm icon-heart"></i> Donate
281
+ </a>
282
+ <div class="ms-2">Buy a malnourished developer some food. Even a small one-time amount helps.</div>
283
+ </li>
284
+ <li class="list-group-item d-flex align-items-center">
285
+ <a class="btn btn-danger" id="iDone">
286
+ <i class="ico-sm icon-checkmark"></i> Done
287
+ </a>
288
+ <div class="ms-2">To the home page.</div>
289
+ </li>
290
+ </ul></div>
291
+ </div>
251
292
</div></body>
252
293
</html>
0 commit comments