pinokiod 1.0.45 → 1.0.47
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/views/browser.ejs +17 -4
package/package.json
CHANGED
package/server/views/browser.ejs
CHANGED
|
@@ -327,19 +327,28 @@ nav .btn2 {
|
|
|
327
327
|
border-radius: 0;
|
|
328
328
|
text-transform: lowercase;
|
|
329
329
|
flex-shrink: 0;
|
|
330
|
+
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-direction: column;
|
|
333
|
+
justify-content: center;
|
|
334
|
+
align-items: center;
|
|
330
335
|
}
|
|
331
336
|
nav .logo {
|
|
332
337
|
font-size: 14px;
|
|
333
338
|
padding: 10px;
|
|
334
339
|
}
|
|
340
|
+
body.dark #location {
|
|
341
|
+
color: white;
|
|
342
|
+
}
|
|
335
343
|
#location {
|
|
344
|
+
background: none;
|
|
336
345
|
padding: 15px;
|
|
337
346
|
font-size: 12px;
|
|
338
347
|
font-family: verdana;
|
|
339
348
|
box-sizing: border-box;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
349
|
+
flex-grow: 1;
|
|
350
|
+
border: none;
|
|
351
|
+
outline: none;
|
|
343
352
|
}
|
|
344
353
|
.bar {
|
|
345
354
|
-webkit-app-region: no-drag !important;
|
|
@@ -456,7 +465,10 @@ body.dark .loader-container {
|
|
|
456
465
|
<!--
|
|
457
466
|
<button class='btn2 logo' id='reload'><i class="fa-solid fa-rotate-right"></i></button>
|
|
458
467
|
-->
|
|
468
|
+
<input type='url' id='location' readonly>
|
|
469
|
+
<!--
|
|
459
470
|
<div id='location'></div>
|
|
471
|
+
-->
|
|
460
472
|
</div>
|
|
461
473
|
<!--
|
|
462
474
|
<div class='flexible'></div>
|
|
@@ -1165,7 +1177,8 @@ window.addEventListener('message', (event) => {
|
|
|
1165
1177
|
let url = event.data.action.url
|
|
1166
1178
|
console.log({ action: event.data.action })
|
|
1167
1179
|
document.querySelector("#open-browser").href = url
|
|
1168
|
-
document.querySelector("#location").innerHTML = url
|
|
1180
|
+
//document.querySelector("#location").innerHTML = url
|
|
1181
|
+
document.querySelector("#location").value = url
|
|
1169
1182
|
}
|
|
1170
1183
|
} else if (event.data.type) {
|
|
1171
1184
|
if (event.data.type === 'disconnect') {
|