pinokiod 3.20.2 → 3.20.4
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/kernel/api/index.js +1 -0
- package/kernel/environment.js +2 -2
- package/kernel/prototype.js +12 -1
- package/kernel/shell.js +7 -5
- package/kernel/shells.js +7 -1
- package/package.json +1 -1
- package/server/index.js +63 -6
- package/server/public/style.css +6 -3
- package/server/socket.js +0 -1
- package/server/views/app.ejs +127 -40
- package/server/views/git.ejs +0 -3
- package/server/views/index.ejs +13 -2
- package/server/views/init/index.ejs +689 -454
- package/server/views/settings.ejs +0 -6
- package/server/views/terminal.ejs +4 -2
|
@@ -286,13 +286,7 @@ body.dark .keys pre {
|
|
|
286
286
|
<% } %>
|
|
287
287
|
<% }) %>
|
|
288
288
|
<div class='flexible'></div>
|
|
289
|
-
<a href="/network" class='btn2'><div><i class="fa-solid fa-wifi"></i></div><div>Network</div></a>
|
|
290
|
-
<a href="/connect" class='btn2'><div><i class="fa-solid fa-circle-user"></i></div><div>Connect</div></a>
|
|
291
289
|
<div class='nav-btns'>
|
|
292
|
-
<a class='btn2' href="<%=portal%>" target="_blank"><div><i class="fa-solid fa-question"></i></div><div>Help</div></a>
|
|
293
|
-
<button class='btn2' id='genlog'><div><i class="fa-solid fa-laptop-code"></i></div><div>Logs</div></button>
|
|
294
|
-
<a id='downloadlogs' download class='hidden btn2' href="/pinokio/logs.zip"><div><i class="fa-solid fa-download"></i></div><div>Download logs</div></a>
|
|
295
|
-
<a class='btn2' href="/?mode=settings"><div><i class="fa-solid fa-gear"></i></div><div>Settings</div></a>
|
|
296
290
|
<button id='new-window' title='open a new window' class='btn2' data-agent="<%=agent%>"><div><i class="fa-solid fa-plus"></i></div><div>Window</div></button>
|
|
297
291
|
</div>
|
|
298
292
|
<!--
|
|
@@ -110,7 +110,7 @@ header {
|
|
|
110
110
|
text-align: right;
|
|
111
111
|
*/
|
|
112
112
|
padding: 0 10px;
|
|
113
|
-
font-size:
|
|
113
|
+
font-size: 12px;
|
|
114
114
|
}
|
|
115
115
|
#status-window strong {
|
|
116
116
|
color: royalblue;
|
|
@@ -253,9 +253,11 @@ document.addEventListener("DOMContentLoaded", async () => {
|
|
|
253
253
|
<% if (script_id) { %>
|
|
254
254
|
id: "<%-JSON.stringify(script_id).slice(1, -1)%>",
|
|
255
255
|
<% } %>
|
|
256
|
+
<% if (cwd) { %>
|
|
257
|
+
cwd: "<%-JSON.stringify(cwd).slice(1, -1)%>",
|
|
258
|
+
<% } %>
|
|
256
259
|
<% if (script_path) { %>
|
|
257
260
|
uri: "<%-JSON.stringify(script_path).slice(1, -1)%>",
|
|
258
|
-
cwd: "<%-JSON.stringify(cwd).slice(1, -1)%>",
|
|
259
261
|
<% } else { %>
|
|
260
262
|
uri: "~" + location.pathname,
|
|
261
263
|
<% } %>
|