plus joli, meilleure UX
This commit is contained in:
parent
804f3a07e6
commit
585f4041e8
|
@ -505,7 +505,7 @@ else
|
|||
fi
|
||||
########################################################################
|
||||
########################################################################
|
||||
|
||||
echo "${MEDIAKEY} = http://127.0.0.1:8181/ipfs/"
|
||||
|
||||
rm -f /tmp/${MEDIAKEY}.pass
|
||||
rm -f /tmp/${MEDIAKEY}.dunikey ## REMOVE KEYS
|
||||
|
|
|
@ -96,17 +96,20 @@ do
|
|||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h5>
|
||||
<a href=\"$LOCALTUBELINK\"><span>Lancez la lecture depuis Astroport/KODI de $TITLE </span></a>!
|
||||
</h5>
|
||||
<h6>
|
||||
<a href='https://astroport.com'><span>ASTROPORT/KODI</span> × <span> DEMO</span></a>
|
||||
</h6>
|
||||
</header>
|
||||
<main>
|
||||
<article><h2>$TITLE</h2>
|
||||
<a href=\"$LOCALTUBELINK\">LECTURE LOCALHOST</a>!<br><br>Lancement de la video dans 10 secondes ...<br>
|
||||
<h1 class='video-title'>Essayez <a href='https://copylaradio.com'>astrXbian</a> BETA Live TEstNET</h1>
|
||||
<br>Demonstration streaming video dans 10 secondes ...<br>
|
||||
<h1 class='video-title'>Vous essayez <a href='https://copylaradio.com'>astrXbian</a> et son BETA Live TEstNET</h1>
|
||||
</article>
|
||||
</main>
|
||||
<center><br>Démonstration du service Video Club du Datacenter P2P Libre et Légal.<br>
|
||||
<center><br>Service Video Club / Datacenter P2P Libre et Légal.<br>
|
||||
<br>Les dons au portefeuille du Media (${mediakey}) rapportent à son Auteur, et payent son hébergement.
|
||||
<br>
|
||||
<br><a target='tube' href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\"><img width=222 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></a></center>
|
||||
|
|
|
@ -287,7 +287,37 @@ rm /tmp/.ipfsid
|
|||
## IPNS access to index.html
|
||||
## Level 1 (not crypted) -> Redirect to ipfs streaming link
|
||||
## Modified by "./zen/ipns_TAG_refresh.sh" (add crypto/contracts there)
|
||||
echo "<meta http-equiv=\"Refresh\" content=\"0;URL=http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\">" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/index.html
|
||||
echo "<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>$TITLE in Astroport</title>
|
||||
<meta charset=\"UTF-8\">
|
||||
<meta http-equiv=\"Refresh\" content=\"10;URL=https://tube.copylaradio.com/ipns/$IPNSLINK/${G1PUB}/\">
|
||||
<link rel='stylesheet' href='/crowdbunker.css' type='text/css' />
|
||||
<link rel='icon' type='image/png' href='/astrocrowdbunker.png' />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h5>
|
||||
<a href=\"https://tube.copylaradio.com/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\"><span>Lancez la lecture depuis Astroport/KODI de $TITLE </span></a>!
|
||||
</h5>
|
||||
<h6>
|
||||
<a href='https://astroport.com'><span>ASTROPORT/KODI</span> × <span> DEMO</span></a>
|
||||
</h6>
|
||||
</header>
|
||||
<main>
|
||||
<article><h2>$TITLE</h2>
|
||||
<br>Lancement du streaming video dans 10 secondes ...<br>
|
||||
<h1 class='video-title'>Vous essayez <a href='https://copylaradio.com'>astrXbian</a> BETA Live TEstNET Astroport</h1>
|
||||
</article>
|
||||
</main>
|
||||
<center><br>Service Video Club / Datacenter P2P Libre et Légal.<br>
|
||||
<br>Les dons au portefeuille du Media (${mediakey}) rapportent à son Auteur, et payent son hébergement.
|
||||
<br>
|
||||
<br><a target='tube' href=\"https://www.gchange.fr/#/app/user/${G1PUB}/\"><img width=222 src=\"https://tube.copylaradio.com/ipns/$IPNSLINK/QR.png\"></a></center>
|
||||
</body>
|
||||
</html>" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/index.html
|
||||
# echo "<meta http-equiv=\"Refresh\" content=\"0;URL=http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$URLENCODE_FILE_NAME\">" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/${MEDIAKEY}/${G1PUB}/index.html
|
||||
|
||||
IPNSLINK=$(ipfs key list -l | grep ${MEDIAKEY} | cut -d ' ' -f 1)
|
||||
echo "<!DOCTYPE html>
|
||||
|
|
Loading…
Reference in New Issue