isite 2022.9.23 → 2023.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/client-side/app.js +3 -22
- package/apps/client-side/site_files/css/bootstrap5-addon.css +2 -0
- package/apps/client-side/site_files/css/effect.css +19 -12
- package/apps/client-side/site_files/css/images.css +16 -12
- package/apps/client-side/site_files/css/layout.css +16 -9
- package/apps/client-side/site_files/css/modal.css +1 -1
- package/apps/client-side/site_files/css/table.css +1 -1
- package/apps/client-side/site_files/js/angular.js +23512 -22334
- package/apps/client-side/site_files/js/angular.min.js +352 -6
- package/apps/client-side/site_files/js/angular.min.js.map +8 -0
- package/apps/client-side/site_files/js/bootstrap-5-directive.js +2 -2
- package/apps/client-side/site_files/js/directive.js +2 -2
- package/apps/client-side/site_files/js/jquery.js +2 -4
- package/apps/client-side/site_files/js/site.js +1 -1
- package/apps/client-side/site_files/js/site.min.js +1 -1
- package/apps/security/site_files/html/add_modal.html +28 -37
- package/apps/security/site_files/html/delete_modal.html +25 -36
- package/apps/security/site_files/html/login_modal.html +2 -2
- package/apps/security/site_files/html/logout_modal.html +14 -14
- package/apps/security/site_files/html/register_modal.html +23 -23
- package/apps/security/site_files/html/update_modal.html +22 -36
- package/apps/security/site_files/html/view_modal.html +26 -37
- package/index.js +10 -4
- package/lib/collection.js +4 -4
- package/lib/collectionFile.js +5 -2
- package/lib/mongodb.js +5 -49
- package/lib/parser.js +100 -2
- package/lib/routing.js +34 -3
- package/lib/sessions.js +1 -1
- package/lib/words.js +1 -1
- package/object-options/index.js +2 -0
- package/object-options/lib/fn.js +44 -1
- package/package.json +2 -2
package/apps/client-side/app.js
CHANGED
|
@@ -41,33 +41,14 @@ module.exports = function (site) {
|
|
|
41
41
|
__dirname + '/site_files/js/dom-to-image.js',
|
|
42
42
|
__dirname + '/site_files/js/barcode.js',
|
|
43
43
|
__dirname + '/site_files/js/qrcode.js',
|
|
44
|
-
__dirname + '/site_files/js/angular.js',
|
|
45
|
-
__dirname + '/site_files/js/app.js',
|
|
46
|
-
__dirname + '/site_files/js/directive-core.js',
|
|
47
|
-
__dirname + '/site_files/js/directive.js',
|
|
48
|
-
__dirname + '/site_files/js/last.js',
|
|
49
|
-
],
|
|
50
|
-
});
|
|
51
|
-
site.get({
|
|
52
|
-
name: ['/x-js/all.min.js'],
|
|
53
|
-
public: true,
|
|
54
|
-
parser: 'js',
|
|
55
|
-
path: [
|
|
56
|
-
__dirname + '/site_files/js/first.js',
|
|
57
|
-
__dirname + '/site_files/js/jquery.js',
|
|
58
|
-
__dirname + '/site_files/js/mustache.js',
|
|
59
|
-
__dirname + '/site_files/js/base64.js',
|
|
60
|
-
__dirname + '/site_files/js/site.min.js',
|
|
61
|
-
__dirname + '/site_files/js/dom-to-image.min.js',
|
|
62
|
-
__dirname + '/site_files/js/barcode.js',
|
|
63
|
-
__dirname + '/site_files/js/qrcode.min.js',
|
|
64
44
|
__dirname + '/site_files/js/angular.min.js',
|
|
65
45
|
__dirname + '/site_files/js/app.js',
|
|
66
46
|
__dirname + '/site_files/js/directive-core.js',
|
|
67
|
-
__dirname + '/site_files/js/directive.
|
|
47
|
+
__dirname + '/site_files/js/directive.js',
|
|
68
48
|
__dirname + '/site_files/js/last.js',
|
|
69
49
|
],
|
|
70
50
|
});
|
|
51
|
+
|
|
71
52
|
site.get({
|
|
72
53
|
name: ['/x-js/bootstrap-5-support.js'],
|
|
73
54
|
public: true,
|
|
@@ -81,7 +62,7 @@ module.exports = function (site) {
|
|
|
81
62
|
__dirname + '/site_files/js/dom-to-image.js',
|
|
82
63
|
__dirname + '/site_files/js/barcode.js',
|
|
83
64
|
__dirname + '/site_files/js/qrcode.js',
|
|
84
|
-
__dirname + '/site_files/js/angular.js',
|
|
65
|
+
__dirname + '/site_files/js/angular.min.js',
|
|
85
66
|
__dirname + '/site_files/js/app.js',
|
|
86
67
|
__dirname + '/site_files/js/directive-core.js',
|
|
87
68
|
__dirname + '/site_files/js/bootstrap-5-directive.js',
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
float: none !important;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.is-invalid{
|
|
73
|
+
.is-invalid {
|
|
74
74
|
border: 1px solid red !important;
|
|
75
75
|
}
|
|
76
|
-
.is-valid{
|
|
76
|
+
.is-valid {
|
|
77
77
|
border: 1px solid green !important;
|
|
78
78
|
}
|
|
79
79
|
.text-center {
|
|
@@ -99,7 +99,15 @@
|
|
|
99
99
|
.italic {
|
|
100
100
|
font-style: italic;
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
.flex-center {
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
}
|
|
107
|
+
.center {
|
|
108
|
+
margin: 0 auto;
|
|
109
|
+
text-align: center;
|
|
110
|
+
}
|
|
103
111
|
.center,
|
|
104
112
|
.center p,
|
|
105
113
|
.center span,
|
|
@@ -107,7 +115,6 @@
|
|
|
107
115
|
.center b,
|
|
108
116
|
.center i,
|
|
109
117
|
.center img {
|
|
110
|
-
margin: 0 auto !important;
|
|
111
118
|
text-align: center !important;
|
|
112
119
|
}
|
|
113
120
|
|
|
@@ -200,20 +207,20 @@
|
|
|
200
207
|
font-size: xx-large !important;
|
|
201
208
|
}
|
|
202
209
|
|
|
203
|
-
.rtl {
|
|
210
|
+
.rtl, .rtl input{
|
|
204
211
|
direction: rtl;
|
|
205
212
|
}
|
|
206
|
-
|
|
207
|
-
.ltr {
|
|
213
|
+
|
|
214
|
+
.ltr , .ltr input{
|
|
208
215
|
direction: ltr;
|
|
209
216
|
}
|
|
210
|
-
|
|
211
|
-
.height-auto{
|
|
217
|
+
|
|
218
|
+
.height-auto {
|
|
212
219
|
height: auto !important;
|
|
213
|
-
}
|
|
214
|
-
.width-auto{
|
|
220
|
+
}
|
|
221
|
+
.width-auto {
|
|
215
222
|
height: auto !important;
|
|
216
|
-
}
|
|
223
|
+
}
|
|
217
224
|
.error {
|
|
218
225
|
text-align: center;
|
|
219
226
|
color: red;
|
|
@@ -10,26 +10,23 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
i-image {
|
|
13
|
-
display:
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
13
|
+
display: block;
|
|
14
|
+
width: 90% !important;
|
|
15
|
+
height: 90% !important;
|
|
16
16
|
border: var(--i-image-border);
|
|
17
17
|
}
|
|
18
18
|
i-image img {
|
|
19
19
|
width: 256px;
|
|
20
20
|
height: 256px;
|
|
21
|
-
object-fit:
|
|
22
|
-
background-image: url('/images/no.png');
|
|
21
|
+
object-fit: fill;
|
|
23
22
|
background-size: contain;
|
|
24
23
|
background-position: center;
|
|
25
24
|
background-repeat: no-repeat;
|
|
26
|
-
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
i-image.full img {
|
|
30
28
|
width: 100% !important;
|
|
31
29
|
height: auto !important;
|
|
32
|
-
|
|
33
30
|
padding: 5px;
|
|
34
31
|
}
|
|
35
32
|
|
|
@@ -50,11 +47,18 @@ i-image.img128 img {
|
|
|
50
47
|
width: 64px;
|
|
51
48
|
height: 64px;
|
|
52
49
|
}
|
|
50
|
+
i-image.img256 {
|
|
51
|
+
width: 256px !important;
|
|
52
|
+
height: 256px !important;
|
|
53
|
+
min-width: 256px !important;
|
|
54
|
+
min-height: 256px !important;
|
|
55
|
+
padding: 3px !important;
|
|
56
|
+
}
|
|
53
57
|
i-image.img256 img {
|
|
54
|
-
width:
|
|
55
|
-
height:
|
|
56
|
-
min-width:
|
|
57
|
-
min-height:
|
|
58
|
+
width: 250px !important;
|
|
59
|
+
height: 250px !important;
|
|
60
|
+
min-width: 250px !important;
|
|
61
|
+
min-height: 250px !important;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
i-image.hover img:hover {
|
|
@@ -64,7 +68,7 @@ i-image.hover img:hover {
|
|
|
64
68
|
i-image[view] {
|
|
65
69
|
border: var(--i-image-view-border);
|
|
66
70
|
}
|
|
67
|
-
i-image[view] img{
|
|
71
|
+
i-image[view] img {
|
|
68
72
|
background-image: none;
|
|
69
73
|
background-color: transparent;
|
|
70
74
|
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
html {
|
|
14
14
|
background-color: var(--body-background);
|
|
15
15
|
scroll-behavior: smooth;
|
|
16
|
+
scroll-padding-top: 70px;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
body {
|
|
@@ -39,7 +40,15 @@ h5 {
|
|
|
39
40
|
font-weight: var(--h-font-weight);
|
|
40
41
|
line-height: var(--line-height);
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
+
h1 {
|
|
44
|
+
font-size: clamp(18px, 2vw, 3vw);
|
|
45
|
+
}
|
|
46
|
+
h2 {
|
|
47
|
+
font-size: clamp(16px, 1.5vw, 2.5vw);
|
|
48
|
+
}
|
|
49
|
+
h3 {
|
|
50
|
+
font-size: clamp(14px, 1vw, 2vw);
|
|
51
|
+
}
|
|
43
52
|
.loaded {
|
|
44
53
|
visibility: collapse;
|
|
45
54
|
}
|
|
@@ -211,10 +220,12 @@ h5 {
|
|
|
211
220
|
width: calc(11.9 / 12 * 100%) !important;
|
|
212
221
|
}
|
|
213
222
|
|
|
214
|
-
|
|
215
223
|
/* Mobile */
|
|
216
224
|
@media screen and (max-width: 480px) {
|
|
217
|
-
div
|
|
225
|
+
div,
|
|
226
|
+
.row,
|
|
227
|
+
fieldset,
|
|
228
|
+
.container {
|
|
218
229
|
max-width: 100vw !important;
|
|
219
230
|
margin: 0 !important;
|
|
220
231
|
}
|
|
@@ -232,13 +243,12 @@ h5 {
|
|
|
232
243
|
max-width: 100vw;
|
|
233
244
|
}
|
|
234
245
|
.mobile {
|
|
235
|
-
|
|
246
|
+
display: block !important;
|
|
236
247
|
}
|
|
237
248
|
|
|
238
249
|
.desktop {
|
|
239
|
-
|
|
250
|
+
display: none !important;
|
|
240
251
|
}
|
|
241
|
-
|
|
242
252
|
}
|
|
243
253
|
|
|
244
254
|
/* Small devices (landscape phones, 576px and down) */
|
|
@@ -261,7 +271,6 @@ h5 {
|
|
|
261
271
|
}
|
|
262
272
|
}
|
|
263
273
|
|
|
264
|
-
|
|
265
274
|
/* Medium devices (tablets, 768px and down) */
|
|
266
275
|
@media (max-width: 768px) {
|
|
267
276
|
.col1,
|
|
@@ -288,10 +297,8 @@ h5 {
|
|
|
288
297
|
|
|
289
298
|
/* X-Large devices (large desktops, 1200px and down) */
|
|
290
299
|
@media (max-width: 1200px) {
|
|
291
|
-
|
|
292
300
|
}
|
|
293
301
|
|
|
294
302
|
/* XX-Large devices (larger desktops, 1400px and down) */
|
|
295
303
|
@media (max-width: 1400px) {
|
|
296
|
-
|
|
297
304
|
}
|