pinokiod 3.19.84 → 3.19.86
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/index.js +2 -1
- package/server/public/style.css +2 -0
- package/server/views/app.ejs +1 -0
- package/server/views/git.ejs +4 -5
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -978,7 +978,8 @@ class Server {
|
|
|
978
978
|
|
|
979
979
|
console.log("check requirements")
|
|
980
980
|
let { requirements, install_required, requirements_pending, error } = await this.kernel.bin.check({
|
|
981
|
-
bin: this.kernel.bin.preset("ai"),
|
|
981
|
+
//bin: this.kernel.bin.preset("ai"),
|
|
982
|
+
bin: this.kernel.bin.preset("dev"),
|
|
982
983
|
script: resolved
|
|
983
984
|
})
|
|
984
985
|
|
package/server/public/style.css
CHANGED
package/server/views/app.ejs
CHANGED
package/server/views/git.ejs
CHANGED
|
@@ -25,14 +25,14 @@ body {
|
|
|
25
25
|
}
|
|
26
26
|
aside {
|
|
27
27
|
min-width: 200px;
|
|
28
|
-
|
|
29
|
-
top: 0;
|
|
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;
|
|
@@ -215,7 +215,7 @@ body.dark .empty {
|
|
|
215
215
|
<% if (connected) { %>
|
|
216
216
|
<a href="/run/scripts/git/push.json?cwd=<%=encodeURIComponent(dir)%>" class='btn'><i class="fa-brands fa-github"></i> Publish to GitHub</a>
|
|
217
217
|
<% } else { %>
|
|
218
|
-
<a class='btn' data-redirect="/github" target="_blank">Publish to GitHub</a>
|
|
218
|
+
<a class='btn' data-redirect="/github" target="_blank"><i class="fa-brands fa-github"></i> Publish to GitHub</a>
|
|
219
219
|
<% } %>
|
|
220
220
|
<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
221
|
<a href="<%=remote%>" target="_blank"><%=remote%></a>
|
|
@@ -223,7 +223,7 @@ body.dark .empty {
|
|
|
223
223
|
<% if (connected) { %>
|
|
224
224
|
<a href="/run/scripts/git/create.json?cwd=<%=encodeURIComponent(dir)%>" class='btn'><i class="fa-brands fa-github"></i> Create on GitHub</a>
|
|
225
225
|
<% } else { %>
|
|
226
|
-
<a class='btn' data-redirect="/github" target="_blank">Create on GitHub</a>
|
|
226
|
+
<a class='btn' data-redirect="/github" target="_blank"><i class="fa-brands fa-github"></i> Create on GitHub</a>
|
|
227
227
|
<% } %>
|
|
228
228
|
<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
229
|
<% } %>
|
|
@@ -242,7 +242,6 @@ body.dark .empty {
|
|
|
242
242
|
<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
243
|
<% if (binary) { %>
|
|
244
244
|
<div class="binary-notice">[Binary file <%= status %>]</div>
|
|
245
|
-
<iframe src="<%=webpath%>"></iframe>
|
|
246
245
|
<% } else { %>
|
|
247
246
|
<div class="diff-block">
|
|
248
247
|
<% diff.forEach(({ line, lineOld, lineNew, type }) => { %>
|