better like that
This commit is contained in:
parent
fde01d2478
commit
1dd2495a2e
|
@ -132,12 +132,6 @@ sed -i '$ d' ~/.zen/tmp/${MOATS}.http ## REMOVE LAST ','
|
|||
|
||||
echo ']}' >> ~/.zen/tmp/${MOATS}.http
|
||||
|
||||
## UMAP LEVEL
|
||||
if [[ $UMAP == "ONE" ]]; then
|
||||
|
||||
|
||||
fi
|
||||
|
||||
### SEND RESPONSE ON PORT
|
||||
cat ~/.zen/tmp/${MOATS}.http | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
||||
|
||||
|
|
|
@ -56,12 +56,19 @@ header {
|
|||
color: black;
|
||||
}
|
||||
|
||||
#toggleConsoleButton {
|
||||
position: fixed;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#console {
|
||||
visibility: hidden;
|
||||
background: rgba(0, 0, 0, 0.9); /* Adjust the background color and opacity as needed */
|
||||
color: white;
|
||||
width: 570px;
|
||||
height: 480px;
|
||||
width: 80%;
|
||||
height: 45%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
@ -98,15 +105,29 @@ input[name="uplanet"] {
|
|||
</style>
|
||||
<!-- Astro API JS LIB -->
|
||||
<script src="http://127.0.0.1:8080/ipfs/Qmae5v9zydax9u6C9ceDijURu5PYdd5avmv4NkenCw7RFv/astro.js"></script>
|
||||
<script>
|
||||
// Prepare QRCode generator for this same page
|
||||
var currentURL = window.location.href;
|
||||
const amzURL = encodeURIComponent(currentURL);
|
||||
const rooturl = currentURL.split('/?')[0];
|
||||
|
||||
const qrURL = `${rooturl}/?amzqr=${amzURL}&logo=G1WorldMap`;
|
||||
console.log('qrURL = ' + qrURL);
|
||||
</script>
|
||||
<script>
|
||||
function toggleConsole() {
|
||||
const console = document.getElementById('console');
|
||||
console.style.visibility = (console.style.visibility === 'visible' ? 'hidden' : 'visible');
|
||||
}
|
||||
|
||||
function hideConsole() {
|
||||
document.getElementById('console').style.visibility = 'hidden';
|
||||
}
|
||||
|
||||
function toggleConsoleFullScreen() {
|
||||
const console = document.getElementById('console');
|
||||
|
||||
if (console.style.width === '100%' && console.style.height === '100%') {
|
||||
console.style.width = '570px';
|
||||
console.style.height = '480px';
|
||||
} else {
|
||||
console.style.width = '100%';
|
||||
console.style.height = '100%';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
@ -119,7 +140,7 @@ input[name="uplanet"] {
|
|||
<button onclick="homeAstroportStation('/?qrcode=station', 'tab', 33000)">ẐenStation</button>
|
||||
</div>
|
||||
-->
|
||||
<button style="position: fixed; top: 10px; left: 10px;" onclick="document.getElementById('console').style.visibility = (document.getElementById('console').style.visibility === 'visible' ? 'hidden' : 'visible');">(-/+)</button>
|
||||
<button style="position: fixed; top: 10px; left: 10px;" onclick="toggleConsole()">(-/+)</button>
|
||||
<span><div id="ainfo"></div></span>
|
||||
<div id="debug"></div>
|
||||
<!--
|
||||
|
@ -156,7 +177,8 @@ input[name="uplanet"] {
|
|||
|
||||
</form>
|
||||
|
||||
<div id="console"> ___ <a href="https://zen.g1sms.fr" target="aframe">Made In Ẑen</a> ___ <button onclick="document.getElementById('console').style.visibility = 'hidden';"> X </button>
|
||||
<div id="console"> ___ <a href="https://zen.g1sms.fr" target="aframe">Made In Ẑen</a> ___
|
||||
<button id="fullscreenButton" onclick="toggleConsoleFullScreen()">^^</button><button onclick="hideConsole()"> X </button>
|
||||
<iframe name="aframe" id="aframe" src="https://pad.p2p.legal/p/Astroport_AIDE" width="100%" height="100%"></iframe>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ header {
|
|||
</h2>
|
||||
</br>
|
||||
<p>
|
||||
<b><a target="pad" href="http://127.0.0.1:8080/ipfs/QmcSkcJ2j7GAsC2XhVqGSNAKVRpXgxfjjvDbhD5YxrncZY/?room=cocoding">LIVE VIDEO ROOM</a></b>
|
||||
<b><a target="pad" href="http://127.0.0.1:8080/ipfs/QmcSkcJ2j7GAsC2XhVqGSNAKVRpXgxfjjvDbhD5YxrncZY/?room=cocoding">JOIN VIDEO ROOM</a> (WebRTC protocol)</b>
|
||||
</p>
|
||||
</header>
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ json_payload='{
|
|||
"To": [
|
||||
{
|
||||
"Email": "'${RECIPIENT_EMAIL}'",
|
||||
"Name": "Astronaut"
|
||||
"Name": "'${pseudo}' Astronaut"
|
||||
}
|
||||
],
|
||||
"Bcc": [
|
||||
|
|
Loading…
Reference in New Issue