This commit is contained in:
fred 2023-03-15 05:37:03 +01:00
parent 1aa277ee09
commit 27bcef2e63
2 changed files with 4 additions and 3 deletions

View File

@ -48,11 +48,11 @@ header {
<body>
<header>
<h6>
<p id="station"><span>BOX</span></p><div id='countdown'></div>
<p id="station"><span>BOX</span></p>
<div>
<button onclick="homeAstroportStation('/?qrcode=station', '', 7654)">Open Station</button>
<div id="login"><button onclick="promptUser('login')">LOGIN</button><button onclick="promptUser('logout')">LOGOUT</button></div>
</div>
</div><div id='countdown'></div>
<div id="ainfo"></div><div id="debug"></div>
</h6>
</header>

View File

@ -163,6 +163,7 @@ echo "</body></html>" >> $html_file
htmlipfs=$(ipfs add -q $html_file)
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open http://ipfs.localhost:8080/ipfs/$htmlipfs
echo /ipfs/$htmlipfs
echo "/ipfs/$htmlipfs"
exit 0