sinatra-hexacta 1.2.1 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8331478af6878415f2a47eed822f942c8ba0e295c46ff6fcee4c5c97db2cc6c4
4
- data.tar.gz: d27a3b1c60dbda7deadd4ddd1d7eca7cee96d48a4fd1d9aead1e95aac20494d5
3
+ metadata.gz: 45d80ce0e0132669ec6d45b9c750216f0e7c8155e012b991a66761880ff6ca8d
4
+ data.tar.gz: 575459075130c4f03a2c11483006aed700af6ba1c7d52e8c97cb1e0438e75669
5
5
  SHA512:
6
- metadata.gz: 7c34c5bd46b1e26092dbc99ea123fb51a14318bb20a94bcd7390f6036502a91a9befaa9d1057ef868804bc491fcdf2d872555e109fbb5bfd664b5412b8a2b1d8
7
- data.tar.gz: b94f1c5af15ddf9337e0c7e7694e1f92d2c1b9f8dd9f717c908c3745a96179ba97df798afe2333e9ba6e611d9b10cd6a1693833b24fe73d21dd0f2e739b06ace
6
+ metadata.gz: c2a4b2e7bfdac4c828e286ddfba6736604513a84eddcf32082a02f552fd3de0e60f7009d68393bc5ce0c1313625fe0b617dffebccc0f0426d7cb7e22e62bd5a4
7
+ data.tar.gz: d1101956aea331d5ef3e41898332939aa21670211bf7c146ccd36ca24ab75e1f844c879d34e825adf77a55eb1481a84ecd8b036db930882441a28eb9c1238878
@@ -12,9 +12,9 @@ module Sinatra
12
12
  end
13
13
 
14
14
  p "Setting up user configurations directory..."
15
- copy_dir_structure("/lib/sinatra/public","/app/public/#{Hexacta::GEM_FILE_DIR}")
16
15
  setup_dir("/app/views/#{Hexacta::GEM_FILE_DIR}/user_configurations")
17
- copy_all_files("/lib/sinatra/views/user_configurations","/app/views/#{Hexacta::GEM_FILE_DIR}/libraries")
16
+ copy_all_files("/lib/sinatra/views/user_configurations","/app/views/#{Hexacta::GEM_FILE_DIR}/user_configurations")
17
+
18
18
  end
19
19
 
20
20
  helpers UserConfigurationHelper
@@ -15784,7 +15784,7 @@ body.login-content:before {
15784
15784
 
15785
15785
  #profile-main .pmb-block .pmbb-header h2 {
15786
15786
  margin: 0;
15787
- font-weight: 100;
15787
+ font-weight: 300;
15788
15788
  font-size: 20px;
15789
15789
  }
15790
15790
 
@@ -636,7 +636,7 @@ html.ismobile .page-loader {
636
636
  margin: 0;
637
637
  line-height: 100%;
638
638
  color: #fff;
639
- font-weight: 100;
639
+ font-weight: 300;
640
640
  font-size: 50px;
641
641
  }
642
642
 
@@ -645,7 +645,7 @@ html.ismobile .page-loader {
645
645
  letter-spacing: 0;
646
646
  vertical-align: top;
647
647
  font-size: 16px;
648
- font-weight: 100;
648
+ font-weight: 300;
649
649
  }
650
650
 
651
651
  .pt-inner .pti-header .ptih-title {
@@ -218,7 +218,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
218
218
  }
219
219
 
220
220
  .listview:not(.lv-lg):not(.lv-message) .lv-item {
221
- border-bottom: 1px solid #424242 !important;
221
+ border-bottom: 1px solid #424242;
222
222
  }
223
223
 
224
224
  .weekend {
@@ -0,0 +1,424 @@
1
+
2
+ #header {
3
+ box-shadow: none;
4
+ background-color: #f2f4f8;
5
+ border-bottom: 1px solid rgba(0,0,0,0.05);
6
+ }
7
+
8
+ body.darkmode #header {
9
+ -webkit-box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
10
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
11
+ background-color: rgba(40,40,40,0.9) !important;
12
+ }
13
+
14
+ #header .top-menu > li > a {
15
+ color: #047bf8;
16
+ }
17
+
18
+ body.darkmode #header .top-menu > li > a {
19
+ color: white;
20
+ }
21
+
22
+ .top-menu > li > a > .tmn-counts, .tmn-counts {
23
+ color: white;
24
+ }
25
+
26
+ #header .logo {
27
+ padding: 6px 12px 6px 8px;
28
+ border-radius: 100px;
29
+ top: -4px;
30
+ position: relative;
31
+ min-width: 46px;
32
+ }
33
+
34
+ #header #menu-trigger .line-wrap .line {
35
+ background-color: #047bf8;
36
+ }
37
+
38
+ body.darkmode #header #menu-trigger .line-wrap .line {
39
+ background-color: white;
40
+ }
41
+
42
+ #header input[type="text"] {
43
+ border-radius: 30px;
44
+ outline: none;
45
+ border: none;
46
+ box-shadow: none;
47
+ background-color: rgba(121,138,185,0.07) !important;
48
+ color: gray;
49
+ }
50
+
51
+ body.darkmode #header input {
52
+ border-bottom: 2px solid white !important;
53
+ }
54
+
55
+ #header input::placeholder {
56
+ color: gray !important;
57
+ }
58
+
59
+ body.darkmode #header input::placeholder {
60
+ color: #7e8299 !important;
61
+ }
62
+
63
+ #header input:-ms-input-placeholder {
64
+ color: #7e8299 !important;
65
+ }
66
+
67
+ #header input::-ms-input-placeholder {
68
+ color: #7e8299 !important;
69
+ }
70
+
71
+ [data-current-skin="lightblue"] .logo {
72
+ background-color: #03a9f4;
73
+ }
74
+
75
+ [data-current-skin="bluegray"] .logo {
76
+ background-color: #607d8b;
77
+ }
78
+
79
+ [data-current-skin="blue"] .logo {
80
+ background-color: #2196f3;
81
+ }
82
+
83
+ [data-current-skin="darkblue"] .logo {
84
+ background-color: #2c4985;
85
+ }
86
+
87
+ [data-current-skin="teal"] .logo {
88
+ background-color: #009688;
89
+ }
90
+
91
+ [data-current-skin="purple"] .logo {
92
+ background-color: #9c27b0;
93
+ }
94
+
95
+ [data-current-skin="orange"] .logo {
96
+ background-color: #ff9800;
97
+ }
98
+
99
+ [data-current-skin="cyan"] .logo {
100
+ background-color: #00bcd4;
101
+ }
102
+
103
+ [data-current-skin="green"] .logo {
104
+ background-color: #4caf50;
105
+ }
106
+
107
+ [data-current-skin="teal"] .logo {
108
+ background-color: #009688;
109
+ }
110
+
111
+ [data-current-skin="pink"] .logo {
112
+ background-color: #e91e63;
113
+ }
114
+
115
+ body {
116
+ background-color: #f2f4f8;
117
+ }
118
+
119
+ #sidebar {
120
+ background-color: #f2f4f8;
121
+ border-right: 1px solid rgba(0,0,0,0.05);
122
+ position: absolute;
123
+ top: 0px;
124
+ min-height: 700px;
125
+ margin-top: 76px;
126
+ width: 150px;
127
+ -webkit-transform: translate3d(0, 0, 0);
128
+ transform: translate3d(0, 0, 0);
129
+ opacity: 1;
130
+ filter: alpha(opacity=100);
131
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
132
+ }
133
+
134
+ .container .block-header h2 {
135
+ color: #334152 !important;
136
+ }
137
+
138
+ .profile-menu {
139
+ margin-top: 0px;
140
+ }
141
+
142
+ .profile-menu > a {
143
+ background: none !important;
144
+ }
145
+
146
+ .profile-menu > a .profile-pic {
147
+ text-align: center;
148
+ }
149
+
150
+ .profile-menu > a .profile-info {
151
+ background: none;
152
+ margin-top: 0px;
153
+ color: #7f7f7f;
154
+ }
155
+
156
+ .profile-menu .main-menu {
157
+ border-bottom: 0px;
158
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
159
+ }
160
+
161
+ .main-menu > li.active > a {
162
+ color: white;
163
+ background-color: #047bf8;
164
+ }
165
+
166
+ .sub-menu > a:before, .sub-menu > a:after {
167
+ font-size: 12px;
168
+ right: 6px;
169
+ width: 17px;
170
+ text-align: center;
171
+ border-radius: 100px;
172
+ color: white;
173
+ background-color: #047bf8;
174
+ }
175
+
176
+ .sub-menu ul > li > a {
177
+ padding: 8px 20px 8px 20px;
178
+ color: #3E4B5B;
179
+ }
180
+
181
+ .sub-menu .sub-menu > a:before, .sub-menu .sub-menu > a:after {
182
+ top: 9px;
183
+ }
184
+
185
+ .sub-menu ul > li ul {
186
+ background-color: #047bf8;
187
+ }
188
+
189
+ .sub-menu.toggled ul > li > a {
190
+ color: white;
191
+ }
192
+
193
+ .profile-menu > a .profile-info {
194
+ text-align: center;
195
+ color: #3E4B5B;
196
+ border-bottom: 1px solid rgba(0,0,0,0.05);
197
+ }
198
+
199
+ .profile-menu > a .profile-info > i {
200
+ display: none;
201
+ }
202
+
203
+ .profile-menu .main-menu, .profile-menu .main-menu > li > a:hover {
204
+ border-bottom: 1px solid rgba(0,0,0,0.05);
205
+ box-shadow: none;
206
+ background-color: #047bf8;
207
+ }
208
+
209
+ .profile-menu .main-menu > li > a {
210
+ color: white;
211
+ }
212
+
213
+ .profile-menu .main-menu > li > a:hover {
214
+ font-weight: 600;
215
+ }
216
+
217
+ .card {
218
+ border-radius: 6px;
219
+ box-shadow: 0px 2px 4px rgba(126,142,177,0.12);
220
+ -webkit-transition: all 0.25s ease;
221
+ transition: all 0.25s ease;
222
+ }
223
+
224
+ .card:hover {
225
+ box-shadow: 0px 5px 12px rgba(126,142,177,0.2);
226
+ }
227
+
228
+ .card .tab-nav {
229
+ }
230
+
231
+ #profile-main {
232
+ }
233
+
234
+ #profile-main .pmo-pic .pmo-stat {
235
+ background: #047bf8 !important;
236
+ }
237
+
238
+ @media (min-width: 1200px) {
239
+ #profile-main .pm-body {
240
+
241
+ }
242
+ }
243
+
244
+ @media (min-width: 768px) and (max-width: 1200px) {
245
+ #profile-main .pm-body {
246
+
247
+ }
248
+ }
249
+
250
+ @media (max-width: 767px) {
251
+ #profile-main .pm-body {
252
+
253
+ }
254
+ }
255
+
256
+ #profile-main .pm-body .tab-nav {
257
+ }
258
+
259
+ .tab-nav li > a {
260
+ font-weight: 700;
261
+ }
262
+
263
+ .tab-nav:not([data-tab-color]) > li > a:after {
264
+ background: #047bf8;
265
+ }
266
+
267
+ .tab-nav li > a:after {
268
+ width: 50%;
269
+ left: 25%;
270
+ }
271
+
272
+ #profile-main .pm-body .tab-content {
273
+ }
274
+
275
+ #profile-main .pm-overview {
276
+ }
277
+
278
+ #profile-main .pmo-pic, #profile-main .pmo-block{
279
+ }
280
+
281
+ #profile-main .pmo-contact {
282
+ }
283
+
284
+ .lv-item, .t-view, .tvb-stats li,
285
+ .footer-text .text, .actions > li > a:before,
286
+ .actions > a:before, .pagination > li > a, .pagination > li > span,
287
+ #header input[type="text"], #header .results, .dropdown.open .dropdown-menu,
288
+ .modal .modal-content, .profile-view .pv-header > .pv-main, .pt-inner .pti-header, .ptih-title,
289
+ .card .tab-nav, .dash-widget-item {
290
+ border-radius: 6px;
291
+ }
292
+
293
+ .t-view:before {
294
+ box-shadow: none !important;
295
+ }
296
+
297
+ t-view:after {
298
+ left: -52px !important;
299
+ width: 3px !important;
300
+ }
301
+
302
+ .dash-widget-item {
303
+ -webkit-box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
304
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
305
+ overflow: hidden;
306
+ }
307
+
308
+ #main {
309
+ }
310
+
311
+ .pagination > li > a, .pagination > li > span {
312
+ }
313
+
314
+ .form-control {
315
+ }
316
+
317
+ #loader {
318
+ }
319
+
320
+ .profile-menu .profile-pic > img {
321
+ padding: 5px;
322
+ border: 1px solid rgba(0,0,0,0.05);
323
+ width: 65px;
324
+ height: 65px;
325
+ }
326
+
327
+
328
+ .profile-pic {
329
+ }
330
+
331
+ .results .card {
332
+ }
333
+
334
+ .profile-view {
335
+ }
336
+
337
+ .listview:not(.lv-lg):not(.lv-message) .lv-item {
338
+ border-bottom: 0px !important;
339
+ }
340
+
341
+ @media (min-width: 1200px) {
342
+ body #content {
343
+ padding-left: 150px;
344
+ }
345
+ }
346
+
347
+ @media (min-width: 1200px) {
348
+ body #content > .container {
349
+ width: calc(100% - 30px);
350
+ }
351
+ }
352
+
353
+ @media (min-width: 1200px) {
354
+ #header {
355
+ padding-left: 15px;
356
+ }
357
+
358
+ #menu-trigger {
359
+ display: none;
360
+ }
361
+ }
362
+
363
+ body:not(.sw-toggled) #sidebar {
364
+ box-shadow: none;
365
+ }
366
+
367
+
368
+ .lv-item span, .pt-inner .pti-header > h2 {
369
+ color: #334152;
370
+ font-weight: 700;
371
+ }
372
+
373
+ .listview .lv-item .lv-small, .pt-inner .pti-header > h2 small {
374
+ font-size: 10px;
375
+ letter-spacing: 1px;
376
+ text-transform: uppercase;
377
+ margin-top: 2px;
378
+ margin-bottom: 0px;
379
+ color: #047bf8;
380
+ font-weight: 700;
381
+ }
382
+
383
+ .card .card-header h2 small {
384
+ font-size: 10px;
385
+ letter-spacing: 1px;
386
+ text-transform: uppercase;
387
+ color: #047bf8;
388
+ font-weight: 700;
389
+ }
390
+
391
+ .modal .modal-body {
392
+ background-image: url('/sinatra-hexacta/img/lightadmin.white.png');
393
+ background-repeat: no-repeat;
394
+ background-position: center bottom;
395
+ background-size: 100% 70%;
396
+ }
397
+
398
+ .form-control {
399
+ background: transparent;
400
+ }
401
+
402
+ .preloader {
403
+ background: rgba(255,255,255,0.5);
404
+ border-radius: 100px;
405
+ left: 8px !important;
406
+ top: 6px !important;
407
+ }
408
+
409
+ /* ----- Pegaso related ----- */
410
+
411
+ .idx {
412
+ margin: 0px;
413
+ position: absolute;
414
+ text-align: center;
415
+ font-weight: 700;
416
+ left: -29px;
417
+ top: 9px;
418
+ width: 38px;
419
+ color: white;
420
+ background: #047bf8;
421
+ font-size: 14pt;
422
+ height: 38px;
423
+ border-radius: 100px;
424
+ padding-top: 9px;}
@@ -0,0 +1,266 @@
1
+
2
+ #header {
3
+ /*-webkit-box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
4
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);*/
5
+ box-shadow: none;
6
+ background-color: transparent !important;
7
+ /*background-color: rgba(255,255,255,0.5) !important;*/
8
+ }
9
+
10
+ html:not([data-scroll='0']) #header {
11
+ -webkit-box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
12
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
13
+ background-color: rgba(255,255,255,0.9) !important;
14
+ }
15
+
16
+ html:not([data-scroll='0']) body.darkmode #header {
17
+ -webkit-box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
18
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
19
+ background-color: rgba(40,40,40,0.9) !important;
20
+ }
21
+
22
+ html:not([data-scroll='0']) #header .top-menu > li > a {
23
+ color: #7e8299;
24
+ }
25
+
26
+ html:not([data-scroll='0']) body.darkmode #header .top-menu > li > a {
27
+ color: white;
28
+ }
29
+
30
+ .top-menu > li > a > .tmn-counts, .tmn-counts {
31
+ color: white;
32
+ }
33
+
34
+ #header .logo {
35
+ padding: 6px 12px 6px 8px;
36
+ border-radius: .42rem;
37
+ top: -4px;
38
+ position: relative;
39
+ min-width: 46px;
40
+ }
41
+
42
+ html:not([data-scroll='0']) #header #menu-trigger .line-wrap .line {
43
+ background-color: #7e8299;
44
+ }
45
+
46
+ html:not([data-scroll='0']) body.darkmode #header #menu-trigger .line-wrap .line {
47
+ background-color: white;
48
+ }
49
+
50
+
51
+ #header input {
52
+ background: transparent !important;
53
+ /*border-bottom: 2px solid #7e8299 !important;*/
54
+ border-bottom: 2px solid white !important;
55
+ color: white !important;
56
+ border-radius: 0 !important;
57
+ }
58
+
59
+ html:not([data-scroll='0']) #header input {
60
+ border-bottom: 2px solid #7e8299 !important;
61
+ color: #7e8299 !important;
62
+ }
63
+
64
+ html:not([data-scroll='0']) body.darkmode #header input {
65
+ border-bottom: 2px solid white !important;
66
+ }
67
+
68
+ html:not([data-scroll='0']) #header input::placeholder {
69
+ color: #7e8299 !important;
70
+ }
71
+
72
+ html:not([data-scroll='0']) body.darkmode #header input::placeholder {
73
+ color: #7e8299 !important;
74
+ }
75
+
76
+ #header input:-ms-input-placeholder {
77
+ color: #7e8299 !important;
78
+ }
79
+
80
+ #header input::-ms-input-placeholder {
81
+ color: #7e8299 !important;
82
+ }
83
+
84
+ [data-current-skin="lightblue"] .logo {
85
+ background-color: #03a9f4;
86
+ }
87
+
88
+ [data-current-skin="bluegray"] .logo {
89
+ background-color: #607d8b;
90
+ }
91
+
92
+ [data-current-skin="blue"] .logo {
93
+ background-color: #2196f3;
94
+ }
95
+
96
+ [data-current-skin="darkblue"] .logo {
97
+ background-color: #2c4985;
98
+ }
99
+
100
+ [data-current-skin="teal"] .logo {
101
+ background-color: #009688;
102
+ }
103
+
104
+ [data-current-skin="purple"] .logo {
105
+ background-color: #9c27b0;
106
+ }
107
+
108
+ [data-current-skin="orange"] .logo {
109
+ background-color: #ff9800;
110
+ }
111
+
112
+ [data-current-skin="cyan"] .logo {
113
+ background-color: #00bcd4;
114
+ }
115
+
116
+ [data-current-skin="green"] .logo {
117
+ background-color: #4caf50;
118
+ }
119
+
120
+ [data-current-skin="teal"] .logo {
121
+ background-color: #009688;
122
+ }
123
+
124
+ [data-current-skin="pink"] .logo {
125
+ background-color: #e91e63;
126
+ }
127
+
128
+ body {
129
+ background-color: #eef0f8;
130
+ }
131
+
132
+ #sidebar {
133
+ position: absolute;
134
+ top: 0px;
135
+ min-height: 700px;
136
+ margin-top: 80px;
137
+ }
138
+
139
+ .container .block-header h2 {
140
+ color: white !important;
141
+ }
142
+
143
+ .profile-menu {
144
+ margin-top: 20px;
145
+ }
146
+
147
+ .profile-menu > a {
148
+ background: none !important;
149
+ }
150
+
151
+ .profile-menu > a .profile-pic {
152
+ text-align: center;
153
+ }
154
+
155
+ .profile-pic > img {
156
+ width: 65px;
157
+ height: 65px;
158
+ }
159
+
160
+ .profile-menu > a .profile-info {
161
+ background: none;
162
+ margin-top: 0px;
163
+ color: #7f7f7f;
164
+ }
165
+
166
+ .profile-menu .main-menu {
167
+ border-bottom: 0px;
168
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
169
+ }
170
+
171
+ .card {
172
+ -webkit-box-shadow: 0 0 30px 0 rgba(82,63,105,.05);
173
+ box-shadow: 0 0 30px 0 rgba(82,63,105,.05);
174
+ border-radius: .42rem;
175
+ }
176
+
177
+ .card .tab-nav {
178
+ }
179
+
180
+ #profile-main {
181
+ }
182
+
183
+ @media (min-width: 1200px) {
184
+ #profile-main .pm-body {
185
+
186
+ }
187
+ }
188
+
189
+ @media (min-width: 768px) and (max-width: 1200px) {
190
+ #profile-main .pm-body {
191
+
192
+ }
193
+ }
194
+
195
+ @media (max-width: 767px) {
196
+ #profile-main .pm-body {
197
+
198
+ }
199
+ }
200
+
201
+ #profile-main .pm-body .tab-nav {
202
+ }
203
+
204
+ #profile-main .pm-body .tab-content {
205
+ }
206
+
207
+ #profile-main .pm-overview {
208
+ }
209
+
210
+ #profile-main .pmo-pic, #profile-main .pmo-block{
211
+ }
212
+
213
+ #profile-main .pmo-contact {
214
+ }
215
+
216
+ .btn, .lv-item, .btn-group, .t-view, .tvb-stats li,
217
+ .footer-text .text, .t-view:before, .actions > li > a:before,
218
+ .actions > a:before, .pagination > li > a, .pagination > li > span,
219
+ .listview [class*="lv-img"], .profile-pic > img,
220
+ #header input[type="text"], #header .results, .img-circle, .dropdown.open .dropdown-menu,
221
+ .modal .modal-content, .profile-view .pv-header > .pv-main, .pt-inner .pti-header, .ptih-title,
222
+ .card .tab-nav, .dash-widget-item, .t-view .tvh-user img {
223
+ border-radius: .42rem;
224
+ }
225
+
226
+ .dash-widget-item {
227
+ -webkit-box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
228
+ box-shadow: 0 10px 30px 0 rgba(82,63,105,.08);
229
+ overflow: hidden;
230
+ }
231
+
232
+ #main {
233
+ background-image: url('/sinatra-hexacta/img/metronic.jpg');
234
+ background-repeat: no-repeat;
235
+ background-position: center top;
236
+ background-size: 100% 350px;
237
+ }
238
+
239
+ .pagination > li > a, .pagination > li > span {
240
+ }
241
+
242
+ .form-control {
243
+ }
244
+
245
+ #loader {
246
+ }
247
+
248
+ .profile-pic > img {
249
+ }
250
+
251
+ .profile-pic {
252
+ }
253
+
254
+ .results .card {
255
+ }
256
+
257
+ .profile-view {
258
+ }
259
+
260
+ a {
261
+ color: white !important;
262
+ }
263
+
264
+ .listview:not(.lv-lg):not(.lv-message) .lv-item {
265
+ border-bottom: 0px !important;
266
+ }
@@ -5,7 +5,15 @@ script src="/sinatra-hexacta/vendors/typeahead.js/typeahead.bundle.min.js"
5
5
  script src="/sinatra-hexacta/vendors/chartist/chartist.min.js"
6
6
  script src="/sinatra-hexacta/vendors/chartist/chartist-plugin-legend.js"
7
7
 
8
-
9
8
  script src="/sinatra-hexacta/js/app.js?ver=#{settings.version}" type='text/javascript'
10
9
  script src="/sinatra-hexacta/js/finder.js?ver=#{settings.version}" type='text/javascript'
11
10
  script src="/sinatra-hexacta/js/process.js?ver=#{settings.version}" type='text/javascript'
11
+
12
+ javascript:
13
+ const storeScroll = () => {
14
+ document.documentElement.dataset.scroll = window.scrollY;
15
+ }
16
+ // Listen for new scroll events
17
+ document.addEventListener('scroll', storeScroll);
18
+ // Update scroll position for first time
19
+ storeScroll();
@@ -21,7 +21,7 @@
21
21
  .lv-item style="padding:10px 15px;border-bottom:1px solid #eee;#{notification.pending?? 'background-color: #ECF9FF;' : ''}"
22
22
  .media
23
23
  .pull-left.text-center.p-r-15
24
- img.lv-img-sm alt="" src="#{Configuration::USER_PHOTO_URL}#{notification.creator.hxt_id}" title="#{notification.creator.full_name}"
24
+ img.lv-img-sm alt="" src="#{Configuration::USER_PHOTO_URL}#{notification.creator.hxt_id}" onError="this.onerror=null;this.src='/sinatra-hexacta/img/noimage.jpg';" title="#{notification.creator.full_name}"
25
25
  input type="checkbox" name="notifications[]" value="#{notification.id}" style="position: absolute;left: 5px;bottom: 5px;"
26
26
  .media-body
27
27
  small.lv-small
@@ -13,7 +13,7 @@
13
13
  h5.c-gray Tema
14
14
 
15
15
  .col-xs-4
16
- == select_input({ :name => "css", :elements => [{ :text => "Default", :value => nil}, { :text => "Wieldy", :value => 'wieldy'}], :placeholder => "" , :chosen => user_configuration.nil?? nil : user_configuration.css })
16
+ == select_input({ :name => "css", :elements => [{ :text => "Default", :value => nil}, { :text => "Wieldy", :value => 'wieldy'}, { :text => "Metronic", :value => 'metronic'}, { :text => "Light Admin", :value => 'lightadmin'}], :placeholder => "" , :chosen => user_configuration.nil?? nil : user_configuration.css })
17
17
 
18
18
  .col-xs-6
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-hexacta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Zanger
@@ -105,6 +105,8 @@ files:
105
105
  - lib/sinatra/public/css/app.min.1.css
106
106
  - lib/sinatra/public/css/app.min.2.css
107
107
  - lib/sinatra/public/css/darkmode.css
108
+ - lib/sinatra/public/css/lightadmin.css
109
+ - lib/sinatra/public/css/metronic.css
108
110
  - lib/sinatra/public/css/shell.css
109
111
  - lib/sinatra/public/css/wieldy.css
110
112
  - lib/sinatra/public/fonts/montserrat/Montserrat-Black.otf
@@ -132,6 +134,7 @@ files:
132
134
  - lib/sinatra/public/fonts/roboto/Roboto-Thin-webfont.ttf
133
135
  - lib/sinatra/public/fonts/roboto/Roboto-Thin-webfont.woff
134
136
  - lib/sinatra/public/img/finder.png
137
+ - lib/sinatra/public/img/metronic.jpg
135
138
  - lib/sinatra/public/img/noimage.jpg
136
139
  - lib/sinatra/public/img/select.png
137
140
  - lib/sinatra/public/img/select@2x.png