This commit is contained in:
fred 2022-10-25 14:50:15 +02:00
parent 6e17246306
commit 3eb4f11de0
3 changed files with 10 additions and 4 deletions

View File

@ -136,6 +136,7 @@ sed "s~127.0.0.1~$myIP~g" $HOME/.zen/Astroport.ONE/templates/homepage.html >> ~/
cat ~/.zen/tmp/123/messout.${G1PUB}.json >> ~/.zen/tmp/123/${MOATS}.messaging.json
echo ']' >> ~/.zen/tmp/123/${MOATS}.messaging.json
## ADDING HTTP/1.1 PROTOCOL HEADER
echo "HTTP/1.1 200 OK
Server: Astroport
Content-Type: text/html; charset=UTF-8
@ -143,6 +144,8 @@ Content-Type: text/html; charset=UTF-8
cat ~/.zen/tmp/123/${MOATS}.messaging.json >> ~/.zen/tmp/123/${MOATS}.index.redirect
fi
######################## MESSAGING
# G1PUB -> Open Gchange Profile
[[ "$TYPE" == "g1pub" ]] && sed "s~_TWLINK_~https://www.gchange.fr/#/app/user/$G1PUB/~g" ~/.zen/Astroport.ONE/templates/index.redirect > ~/.zen/tmp/123/${MOATS}.index.redirect

View File

@ -42,9 +42,10 @@
<br>
Phrase Une (identifiant) : <input name=salt value=''></br>
Phrase Deux (mot de passe) : <input name=pepper value=''></br>
Astronaute ? <input type="checkbox" id="official" name="official">
</br>
Pour vous inscrire! Cochez cette case <input type="checkbox" id="g1pub" name="g1pub"></br>
Ajoutez un Email où recevoir votre Visa : <input name=email value=''></br></br>
Pas encore inscrit? Cochez cette case <input type="checkbox" id="g1pub" name="g1pub"></br>
Et indiquez un Email où expédier vos clefs : <input name=email value=''></br></br>
<input type='submit' value='CONNEXION ASTRONAUTE'>
</form>
<p>

View File

@ -5,18 +5,20 @@ Content-Type: text/html; charset=UTF-8
<!doctype html>
<html>
<head>
<meta http-equiv="refresh" content="4; url='http://127.0.0.1:12345'" />
<meta http-equiv="refresh" content="5; url='http://127.0.0.1:12345'" />
<style>
#wait {
width:42%;
height:42%;
}
</style>
<title>[Astroport] IPFS - Basic Input Output Social System - BIOSS - Astronaut TW's -</title>
</head>
<body>
<center>
<h1>ASTROPORT Ŋ1</h1>
<b>Astronaute... préparation de votre port d'arrimage</b><br>
<b>Astronaute... ouverture de votre port d'arrimage</b><br>
<img src='http://127.0.0.1:8080/ipfs/QmS4xmYNpto1ce65VBPJsDjiaoupmxTTE7o5RD2zrnJcVb/QRCode.gif' id='wait'/>
</center>
</body>