pinokiod 0.1.30 → 0.1.32
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/package.json +1 -1
- package/server/public/style.css +36 -3
- package/server/views/browser.ejs +3 -2
- package/server/views/index.ejs +18 -40
package/package.json
CHANGED
package/server/public/style.css
CHANGED
|
@@ -783,7 +783,10 @@ body.dark .line {
|
|
|
783
783
|
border-bottom: 1px solid var(--dark-thin);
|
|
784
784
|
}
|
|
785
785
|
body.dark .line.selected {
|
|
786
|
+
/*
|
|
786
787
|
background: rgba(0,0,0, 0.2);
|
|
788
|
+
*/
|
|
789
|
+
border-left: 6px solid white;
|
|
787
790
|
}
|
|
788
791
|
body.dark .line:hover {
|
|
789
792
|
background: rgba(0,0,0, 0.2);
|
|
@@ -792,8 +795,10 @@ body.dark .line:hover {
|
|
|
792
795
|
background: rgba(200,0,0, 0.04);
|
|
793
796
|
}
|
|
794
797
|
.line.selected {
|
|
795
|
-
border-left: 6px solid
|
|
796
|
-
|
|
798
|
+
border-left: 6px solid black;
|
|
799
|
+
/*
|
|
800
|
+
background: rgba(0,0,100, 0.03);
|
|
801
|
+
*/
|
|
797
802
|
}
|
|
798
803
|
.line {
|
|
799
804
|
text-decoration: none;
|
|
@@ -824,9 +829,11 @@ body.dark a.line {
|
|
|
824
829
|
a.line {
|
|
825
830
|
color: var(--light-color);
|
|
826
831
|
}
|
|
832
|
+
/*
|
|
827
833
|
body.dark .line i {
|
|
828
834
|
color: var(--dark-link-color);
|
|
829
835
|
}
|
|
836
|
+
*/
|
|
830
837
|
.line .title i {
|
|
831
838
|
/*
|
|
832
839
|
color: #54aeff;
|
|
@@ -968,7 +975,10 @@ body.dark .btn {
|
|
|
968
975
|
text-decoration: none;
|
|
969
976
|
padding: 10px;
|
|
970
977
|
border-radius: 3px;
|
|
978
|
+
background: black;
|
|
979
|
+
/*
|
|
971
980
|
background: var(--light-btn-bg);
|
|
981
|
+
*/
|
|
972
982
|
color: white;
|
|
973
983
|
font-size: 12px;
|
|
974
984
|
/*
|
|
@@ -1061,14 +1071,18 @@ body.dark .swal2-popup {
|
|
|
1061
1071
|
letter-spacing: -1px !important;
|
|
1062
1072
|
font-size: 30px !important;
|
|
1063
1073
|
padding: 20px !important;
|
|
1074
|
+
/*
|
|
1064
1075
|
background: rgba(0,0,200,0.04);
|
|
1076
|
+
*/
|
|
1065
1077
|
}
|
|
1066
1078
|
.swal2-actions {
|
|
1067
1079
|
width: 100% !important;
|
|
1068
1080
|
justify-content: flex-end !important;
|
|
1069
1081
|
margin: 0 !important;
|
|
1070
1082
|
padding: 10px 20px !important;
|
|
1083
|
+
/*
|
|
1071
1084
|
background: rgba(0,0,200,0.04);
|
|
1085
|
+
*/
|
|
1072
1086
|
}
|
|
1073
1087
|
.swal2-modal {
|
|
1074
1088
|
padding: 0 !important;
|
|
@@ -1350,7 +1364,7 @@ body.dark .header-label {
|
|
|
1350
1364
|
top: 0;
|
|
1351
1365
|
padding: 10px;
|
|
1352
1366
|
/*
|
|
1353
|
-
border-top:
|
|
1367
|
+
border-top: 2px solid rgba(0,0,0,0.04);
|
|
1354
1368
|
*/
|
|
1355
1369
|
}
|
|
1356
1370
|
|
|
@@ -1360,14 +1374,33 @@ nav.error-message {
|
|
|
1360
1374
|
color: rgba(0,0,0,0.7);
|
|
1361
1375
|
font-weight: bold;
|
|
1362
1376
|
}
|
|
1377
|
+
.not-running-apps {
|
|
1378
|
+
}
|
|
1363
1379
|
/*
|
|
1364
1380
|
.running-apps {
|
|
1365
1381
|
background: rgba(255,215, 0, 0.2);
|
|
1366
1382
|
}
|
|
1367
1383
|
*/
|
|
1384
|
+
.running-apps {
|
|
1385
|
+
/*
|
|
1386
|
+
background: rgba(255,215,0,0.03);
|
|
1387
|
+
*/
|
|
1388
|
+
}
|
|
1389
|
+
/*
|
|
1390
|
+
.running-apps .description {
|
|
1391
|
+
color: yellowgreen;
|
|
1392
|
+
}
|
|
1393
|
+
.running-apps .title {
|
|
1394
|
+
color: yellowgreen;
|
|
1395
|
+
}
|
|
1396
|
+
*/
|
|
1368
1397
|
.running-apps .spinner {
|
|
1369
1398
|
width: 50px;
|
|
1370
1399
|
text-align: center;
|
|
1400
|
+
font-size: 20px;
|
|
1401
|
+
/*
|
|
1402
|
+
color: yellowgreen;
|
|
1403
|
+
*/
|
|
1371
1404
|
}
|
|
1372
1405
|
body.dark header .home {
|
|
1373
1406
|
color: var(--dark-btn-color);
|
package/server/views/browser.ejs
CHANGED
|
@@ -35,7 +35,9 @@ body {
|
|
|
35
35
|
flex-grow: 1;
|
|
36
36
|
}
|
|
37
37
|
body aside {
|
|
38
|
+
/*
|
|
38
39
|
background: var(--light-bg);
|
|
40
|
+
*/
|
|
39
41
|
border-right: 1px solid rgba(0,0,0,0.04);
|
|
40
42
|
height: 100%;
|
|
41
43
|
}
|
|
@@ -220,12 +222,11 @@ body.dark nav {
|
|
|
220
222
|
}
|
|
221
223
|
*/
|
|
222
224
|
nav {
|
|
225
|
+
background: white;
|
|
223
226
|
padding: 5px;
|
|
224
227
|
cursor: grab !important;
|
|
225
228
|
-webkit-app-region: drag !important;
|
|
226
|
-
/*
|
|
227
229
|
border-bottom: 1px solid rgba(0,0,0,0.04);
|
|
228
|
-
*/
|
|
229
230
|
box-sizing: border-box;
|
|
230
231
|
}
|
|
231
232
|
nav .btn2 {
|
package/server/views/index.ejs
CHANGED
|
@@ -208,48 +208,26 @@
|
|
|
208
208
|
</div>
|
|
209
209
|
<% } %>
|
|
210
210
|
<% if (notRunning.length > 0) { %>
|
|
211
|
-
<div class='
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
<
|
|
220
|
-
|
|
221
|
-
<% } %>
|
|
222
|
-
<div class='col'>
|
|
223
|
-
<!--<div class='title'><a href="<%=item.browser_url%>"><%=item.name%> <i class="fa-solid fa-angles-right"></i></a></div>-->
|
|
224
|
-
<div class='title'><%=item.name%></div>
|
|
225
|
-
<div class='description'><%=item.description%></div>
|
|
226
|
-
<!--
|
|
227
|
-
<% if (item.menu && item.menu.length > 0) { %>
|
|
228
|
-
<div class='btns'>
|
|
229
|
-
<% if (item.menu) { %>
|
|
230
|
-
<% item.menu.forEach((btn) => { %>
|
|
231
|
-
<% if (btn.btn) { %>
|
|
232
|
-
<% if (btn.target) { %>
|
|
233
|
-
<% if (btn.features) { %>
|
|
234
|
-
<a target="<%=item.browser_url%>#<%=btn.target%>" href="<%=btn.href%>" features="<%=btn.features%>" class='btn'><%-btn.btn%></a>
|
|
235
|
-
<% } else { %>
|
|
236
|
-
<a target="<%=item.browser_url%>#<%=btn.target%>" href="<%=btn.href%>" class='btn'><%-btn.btn%></a>
|
|
237
|
-
<% } %>
|
|
238
|
-
<% } else { %>
|
|
239
|
-
<a href="<%=item.browser_url%>#<%=btn.href%>" class='btn'><%-btn.btn%></a>
|
|
240
|
-
<% } %>
|
|
241
|
-
<% } else if (btn.label) { %>
|
|
242
|
-
<label class='btn label'><%-btn.label%></label>
|
|
243
|
-
<% } %>
|
|
244
|
-
<% }) %>
|
|
245
|
-
<% } %>
|
|
211
|
+
<div class='not-running-apps'>
|
|
212
|
+
<div class='header-label'>Not Running</div>
|
|
213
|
+
<% notRunning.forEach((item) => { %>
|
|
214
|
+
<a href="<%=item.browser_url%>" data-description="<%=item.description%>" data-index="<%=item.index%>" data-name="<%=item.name%>" data-uri="<%=item.uri%>" class='line align-top'>
|
|
215
|
+
<h3>
|
|
216
|
+
<% if (item.icon) { %>
|
|
217
|
+
<img src="<%=item.icon%>">
|
|
218
|
+
<% } else { %>
|
|
219
|
+
<div class='avatar'>
|
|
220
|
+
<i class="fa-regular fa-circle-dot"></i>
|
|
246
221
|
</div>
|
|
247
222
|
<% } %>
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
223
|
+
<div class='col'>
|
|
224
|
+
<div class='title'><%=item.name%></div>
|
|
225
|
+
<div class='description'><%=item.description%></div>
|
|
226
|
+
</div>
|
|
227
|
+
</h3>
|
|
228
|
+
</a>
|
|
229
|
+
<% }) %>
|
|
230
|
+
</div>
|
|
253
231
|
<% } %>
|
|
254
232
|
<% if (running.length === 0 && notRunning.length === 0) { %>
|
|
255
233
|
<div class='placeholder'>
|