Add world download button
This commit is contained in:
parent
5125b4d5b8
commit
021ce489d1
|
@ -25,6 +25,12 @@
|
||||||
<div class="text">Map</div>
|
<div class="text">Map</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<a class="item worlddownload" href="https://play.geekify.de/map/recent.tar.gz" target="_blank">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<div class="text">World Download</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<a class="item whitelist" id="whitelist" onclick="return toggleDetails(this)">
|
<a class="item whitelist" id="whitelist" onclick="return toggleDetails(this)">
|
||||||
<div class="icon"></div>
|
<div class="icon"></div>
|
||||||
|
|
|
@ -40,6 +40,10 @@ body {
|
||||||
content:url('/img/map.png');
|
content:url('/img/map.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.worlddownload .icon {
|
||||||
|
content:url('/img/hopper.png');
|
||||||
|
}
|
||||||
|
|
||||||
.whitelist .icon {
|
.whitelist .icon {
|
||||||
content:url('/img/writable_book.png');
|
content:url('/img/writable_book.png');
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ echo "done!"
|
||||||
echo "Unzipped resources at $TMP_PATH"
|
echo "Unzipped resources at $TMP_PATH"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
FILES="birch_sign.png map.png redstone_lamp_on.png redstone_lamp.png writable_book.png diamond.png gold_ingot.png"
|
FILES="birch_sign.png map.png redstone_lamp_on.png redstone_lamp.png writable_book.png diamond.png gold_ingot.png hopper.png"
|
||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
echo -n "Grabbing asset from: "
|
echo -n "Grabbing asset from: "
|
||||||
find $TMP_PATH -name $FILE -print -exec cp {} . \;
|
find $TMP_PATH -name $FILE -print -exec cp {} . \;
|
||||||
|
|
Loading…
Reference in a new issue