pinokiod 0.1.74 → 0.1.75

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1412,3 +1412,24 @@ header .home {
1412
1412
  padding: 10px;
1413
1413
  cursor: pointer;
1414
1414
  }
1415
+ /*
1416
+ .win {
1417
+ flex-grow: 1;
1418
+ display: flex;
1419
+ }
1420
+ .win footer {
1421
+ width: 200px;
1422
+ display: block;
1423
+ }
1424
+ */
1425
+ footer.status {
1426
+ position: fixed;
1427
+ z-index: 10000;
1428
+ bottom: 10;
1429
+ right: 10;
1430
+ background: rgba(0,0,0,0.1);
1431
+ border: none;
1432
+ width: 300px;
1433
+ display: block;
1434
+ background: black;
1435
+ }
@@ -97,6 +97,9 @@ document.addEventListener("DOMContentLoaded", async () => {
97
97
  document.querySelector(".requirements .content").innerHTML = '<div class="loading"><i class="fa-solid fa-circle-exclamation"></i> <%=error%></div>'
98
98
  <% } %>
99
99
  <% if (!install_required) { %>
100
+ document.querySelector("footer").addEventListener("click", (e) => {
101
+ document.querySelector("footer").classList.add('hidden')
102
+ })
100
103
  /*
101
104
  document.querySelector("footer").addEventListener("click", (e) => {
102
105
  if (e.target.classList.contains("toggle-expand") || e.target.closest(".toggle-expand")) {
@@ -799,7 +802,7 @@ const reloadMemory = async () => {
799
802
  <div class='terminal-container'>
800
803
  <div id='terminal'></div>
801
804
  </div>
802
- <footer><b>Ready</b></footer>
805
+ <footer class='status'><b>Ready</b></footer>
803
806
  <% } %>
804
807
  <% } %>
805
808
  </body>