diff --git a/adventure/rooms/meteofrance.sh b/adventure/rooms/meteofrance.sh index ace025cb..7aaaaec9 100755 --- a/adventure/rooms/meteofrance.sh +++ b/adventure/rooms/meteofrance.sh @@ -25,17 +25,17 @@ else echo $ts > ~/.zen/adventure/meteo.anim.eu/.ts PSEUDO=$(cat ~/.zen/adventure/players/.current/.pseudo 2>/dev/null) - OLDID=$(cat ~/.zen/adventure/players/.current/.meteo.index 2>/dev/null) + OLDID=$(cat ~/.zen/adventure/.meteo.index 2>/dev/null) sed s/_OLDID_/$OLDID/g ${MY_PATH}/../templates/meteo_chain.html > /tmp/index.html sed -i s/_IPFSID_/$IPFSID/g /tmp/index.html sed -i s/_DATE_/$(date -u "+%Y-%m-%d#%H:%M:%S")/g /tmp/index.html - sed s/_PSEUDO_/$PSEUDO/g /tmp/index.html > ~/.zen/adventure/players/.current/public/index.html + sed s/_PSEUDO_/$PSEUDO/g /tmp/index.html > ~/.zen/adventure/index.html # Copy style css cp -R ${MY_PATH}/../templates/styles ~/.zen/adventure/players/.current/public/ - INDEXID=$(ipfs add -rHq ~/.zen/adventure/players/.current/public | tail -n 1) - echo $INDEXID > ~/.zen/adventure/players/.current/.meteo.index + INDEXID=$(ipfs add -rHq ~/.zen/adventure/index.html | tail -n 1) + echo $INDEXID > ~/.zen/adventure/.meteo.index echo "LAST VIDEO INDEX http://127.0.0.1:8080/ipfs/$INDEXID" IPFS=$(ipfs add -Rw ~/.zen/adventure/meteo.anim.eu/) echo $IPFS > ~/.zen/adventure/meteo.anim.eu/.chain diff --git a/adventure/template/meteo_chain.html b/adventure/templates/meteo_chain.html similarity index 100% rename from adventure/template/meteo_chain.html rename to adventure/templates/meteo_chain.html diff --git a/adventure/template/styles/bootstrap.min.css b/adventure/templates/styles/bootstrap.min.css similarity index 100% rename from adventure/template/styles/bootstrap.min.css rename to adventure/templates/styles/bootstrap.min.css diff --git a/adventure/template/styles/bootstrap.min.css.map b/adventure/templates/styles/bootstrap.min.css.map similarity index 100% rename from adventure/template/styles/bootstrap.min.css.map rename to adventure/templates/styles/bootstrap.min.css.map diff --git a/adventure/template/styles/decoration.css b/adventure/templates/styles/decoration.css similarity index 100% rename from adventure/template/styles/decoration.css rename to adventure/templates/styles/decoration.css diff --git a/adventure/template/styles/font-awesome.min.css b/adventure/templates/styles/font-awesome.min.css similarity index 100% rename from adventure/template/styles/font-awesome.min.css rename to adventure/templates/styles/font-awesome.min.css diff --git a/adventure/template/styles/forest.css b/adventure/templates/styles/forest.css similarity index 100% rename from adventure/template/styles/forest.css rename to adventure/templates/styles/forest.css diff --git a/adventure/template/styles/jqcloud.scss b/adventure/templates/styles/jqcloud.scss similarity index 100% rename from adventure/template/styles/jqcloud.scss rename to adventure/templates/styles/jqcloud.scss diff --git a/adventure/template/styles/jquery.css b/adventure/templates/styles/jquery.css similarity index 100% rename from adventure/template/styles/jquery.css rename to adventure/templates/styles/jquery.css diff --git a/adventure/template/styles/layout.css b/adventure/templates/styles/layout.css similarity index 100% rename from adventure/template/styles/layout.css rename to adventure/templates/styles/layout.css diff --git a/adventure/template/styles/logo.png b/adventure/templates/styles/logo.png similarity index 100% rename from adventure/template/styles/logo.png rename to adventure/templates/styles/logo.png diff --git a/adventure/template/styles/monokai.css b/adventure/templates/styles/monokai.css similarity index 100% rename from adventure/template/styles/monokai.css rename to adventure/templates/styles/monokai.css diff --git a/adventure/template/styles/pagination.css b/adventure/templates/styles/pagination.css similarity index 100% rename from adventure/template/styles/pagination.css rename to adventure/templates/styles/pagination.css diff --git a/adventure/template/styles/slick.css b/adventure/templates/styles/slick.css similarity index 100% rename from adventure/template/styles/slick.css rename to adventure/templates/styles/slick.css diff --git a/adventure/template/styles/slickstyle.css b/adventure/templates/styles/slickstyle.css similarity index 100% rename from adventure/template/styles/slickstyle.css rename to adventure/templates/styles/slickstyle.css diff --git a/adventure/template/styles/tagcloud.css b/adventure/templates/styles/tagcloud.css similarity index 100% rename from adventure/template/styles/tagcloud.css rename to adventure/templates/styles/tagcloud.css diff --git a/adventure/template/styles/video-js.css b/adventure/templates/styles/video-js.css similarity index 100% rename from adventure/template/styles/video-js.css rename to adventure/templates/styles/video-js.css diff --git a/adventure/template/styles/video-wall.css b/adventure/templates/styles/video-wall.css similarity index 100% rename from adventure/template/styles/video-wall.css rename to adventure/templates/styles/video-wall.css