From 021ce489d18f999791dc2758eac3293e540d6fed Mon Sep 17 00:00:00 2001 From: sqozz Date: Fri, 30 Apr 2021 13:54:34 +0200 Subject: [PATCH] Add world download button --- homepage/html/index.html | 6 ++++++ homepage/static/css/styles.css | 4 ++++ homepage/static/img/extract_resources.sh | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/homepage/html/index.html b/homepage/html/index.html index 860d2c3..809a947 100644 --- a/homepage/html/index.html +++ b/homepage/html/index.html @@ -25,6 +25,12 @@
Map
+
+ +
+
World Download
+
+
diff --git a/homepage/static/css/styles.css b/homepage/static/css/styles.css index de1c86f..97f92cf 100644 --- a/homepage/static/css/styles.css +++ b/homepage/static/css/styles.css @@ -40,6 +40,10 @@ body { content:url('/img/map.png'); } +.worlddownload .icon { + content:url('/img/hopper.png'); +} + .whitelist .icon { content:url('/img/writable_book.png'); } diff --git a/homepage/static/img/extract_resources.sh b/homepage/static/img/extract_resources.sh index a9c7bfa..5e8b5a5 100755 --- a/homepage/static/img/extract_resources.sh +++ b/homepage/static/img/extract_resources.sh @@ -11,7 +11,7 @@ echo "done!" echo "Unzipped resources at $TMP_PATH" 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 echo -n "Grabbing asset from: " find $TMP_PATH -name $FILE -print -exec cp {} . \;