pinokiod 3.19.85 → 3.19.87
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 +2 -0
- package/server/views/app.ejs +1 -0
- package/server/views/git.ejs +35 -6
package/package.json
CHANGED
package/server/public/style.css
CHANGED
package/server/views/app.ejs
CHANGED
package/server/views/git.ejs
CHANGED
|
@@ -24,15 +24,15 @@ body {
|
|
|
24
24
|
height: 100%;
|
|
25
25
|
}
|
|
26
26
|
aside {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
top: 0;
|
|
27
|
+
width: 200px;
|
|
28
|
+
overflow: auto;
|
|
30
29
|
}
|
|
31
30
|
aside .item.selected {
|
|
32
31
|
background: royalblue;
|
|
33
32
|
color: white;
|
|
34
33
|
}
|
|
35
34
|
aside .item {
|
|
35
|
+
overflow-wrap: break-word;
|
|
36
36
|
display: block;
|
|
37
37
|
text-decoration: none;
|
|
38
38
|
color: royalblue;
|
|
@@ -93,6 +93,7 @@ body.dark .changes {
|
|
|
93
93
|
color: white;
|
|
94
94
|
}
|
|
95
95
|
.changes {
|
|
96
|
+
overflow: auto;
|
|
96
97
|
height: 100%;
|
|
97
98
|
flex-grow: 1;
|
|
98
99
|
}
|
|
@@ -207,6 +208,35 @@ body.dark .empty {
|
|
|
207
208
|
.flexible {
|
|
208
209
|
flex-grow: 1;
|
|
209
210
|
}
|
|
211
|
+
|
|
212
|
+
/* Firefox */
|
|
213
|
+
* {
|
|
214
|
+
scrollbar-width: thin;
|
|
215
|
+
scrollbar-color: rgba(0,0,0,0.2) transparent;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* Chrome, Edge, and Safari */
|
|
219
|
+
*::-webkit-scrollbar {
|
|
220
|
+
width: 8px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
*::-webkit-scrollbar-track {
|
|
224
|
+
background: none;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
*::-webkit-scrollbar-thumb {
|
|
228
|
+
background-color: rgba(0,0,0,0.2);
|
|
229
|
+
border-radius: 30px;
|
|
230
|
+
border: 7px solid rgba(0,0,0,0.2);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
body.dark * {
|
|
234
|
+
scrollbar-color: rgba(255,255,255,0.3) transparent;
|
|
235
|
+
}
|
|
236
|
+
body.dark *::-webkit-scrollbar-thumb {
|
|
237
|
+
background-color: rgba(255,255,255,0.3);
|
|
238
|
+
border: 7px solid rgba(255,255,255,0.3);
|
|
239
|
+
}
|
|
210
240
|
</style>
|
|
211
241
|
</head>
|
|
212
242
|
<body class='<%=theme%>' data-platform="<%=platform%>" data-agent="<%=agent%>">
|
|
@@ -215,7 +245,7 @@ body.dark .empty {
|
|
|
215
245
|
<% if (connected) { %>
|
|
216
246
|
<a href="/run/scripts/git/push.json?cwd=<%=encodeURIComponent(dir)%>" class='btn'><i class="fa-brands fa-github"></i> Publish to GitHub</a>
|
|
217
247
|
<% } else { %>
|
|
218
|
-
<a class='btn' data-redirect="/github" target="_blank">Publish to GitHub</a>
|
|
248
|
+
<a class='btn' data-redirect="/github" target="_blank"><i class="fa-brands fa-github"></i> Publish to GitHub</a>
|
|
219
249
|
<% } %>
|
|
220
250
|
<a href="/run/scripts/git/commit.json?cwd=<%=encodeURIComponent(dir)%>" class='btn'><i class="fa-solid fa-floppy-disk"></i> Commit (Save the current version)</a>
|
|
221
251
|
<a href="<%=remote%>" target="_blank"><%=remote%></a>
|
|
@@ -223,7 +253,7 @@ body.dark .empty {
|
|
|
223
253
|
<% if (connected) { %>
|
|
224
254
|
<a href="/run/scripts/git/create.json?cwd=<%=encodeURIComponent(dir)%>" class='btn'><i class="fa-brands fa-github"></i> Create on GitHub</a>
|
|
225
255
|
<% } else { %>
|
|
226
|
-
<a class='btn' data-redirect="/github" target="_blank">Create on GitHub</a>
|
|
256
|
+
<a class='btn' data-redirect="/github" target="_blank"><i class="fa-brands fa-github"></i> Create on GitHub</a>
|
|
227
257
|
<% } %>
|
|
228
258
|
<a href="/run/scripts/git/commit.json?cwd=<%=encodeURIComponent(dir)%>" class='btn'><i class="fa-solid fa-floppy-disk"></i> Commit (Save the current version)</a>
|
|
229
259
|
<% } %>
|
|
@@ -242,7 +272,6 @@ body.dark .empty {
|
|
|
242
272
|
<h3><div class='flexible'>[<%= status %>] <%= file %></div><a class='btn' data-filepath="<%=path%>"><i class="fa-solid fa-arrow-up-right-from-square"></i> Open</a></h3>
|
|
243
273
|
<% if (binary) { %>
|
|
244
274
|
<div class="binary-notice">[Binary file <%= status %>]</div>
|
|
245
|
-
<iframe src="<%=webpath%>"></iframe>
|
|
246
275
|
<% } else { %>
|
|
247
276
|
<div class="diff-block">
|
|
248
277
|
<% diff.forEach(({ line, lineOld, lineNew, type }) => { %>
|