window.open

This commit is contained in:
fred 2023-04-28 14:46:49 +02:00
parent 0b800bf4f8
commit f31aa39c80
2 changed files with 10 additions and 5 deletions

View File

@ -64,7 +64,7 @@ if [[ ! -d $img_dir ]]; then
echo "<button onclick=\"homeAstroportStation('$myASTROPORT/?qrcode=G1G1$WISHNAME&tw=$ASTRONAUTENS', 'tab', 9000)\">G1$WISHNAME</button>" >> ~/.zen/tmp/carousel/${pub}.button
done < ~/.zen/tmp/${PLAYER}.g1wishes.txt
fi
echo "<button onclick=\"window.parent.location.href = '"$myIPFS"/ipns/"$ASTRONAUTENS"'\">TW</button>" >> ~/.zen/tmp/carousel/${pub}.button
echo "<button onclick=\"window.open('"$myIPFS"/ipns/"$ASTRONAUTENS"');\">TW</button>" >> ~/.zen/tmp/carousel/${pub}.button
##################

View File

@ -49,9 +49,14 @@ header {
position: absolute;
bottom: 2%;
left: 2%;
width: 800px;
width: 60%;
visibility: hidden;
}
#ainfo {
position: absolute;
top: 2%;
left: 50%;
}
h1 {
margin-top: 10px;
font-size: 40px;
@ -94,7 +99,7 @@ a {
}
#container {
top: 20px;
top: 40px;
right: 0px;
position: absolute;
display: inline-block;
@ -110,7 +115,7 @@ a {
<div id="demo">
<div id="description">
<header>
<h1><a href="http://astroport.localhost:1234"><span>♥Box</span> Ğ1Station</a></h1><br>
<h1><a href="http://astroport.localhost:1234">/<span>♥Box</span>/Ğ1Station</a></h1><br>
</header>
<h3>Oubliez la crise !</h3>
<h2>Utilisez la Monnaie Libre.</h2>
@ -146,7 +151,7 @@ a {
</div>
</div>
<a href="https://opencollective.com/monnaie-libre/" target="funding">- ♥BOX Edition -</a>
<a href="https://opencollective.com/monnaie-libre/" target="funding">- (^‿‿^) -</a>
<script type="text/javascript">
async function fetchAstroport(myURL) {