From 5df3c956391bf32ea5bdb01fa581f12bd6007316 Mon Sep 17 00:00:00 2001 From: thmsn <9084377+thmsndk@users.noreply.github.com> Date: Thu, 23 Nov 2023 00:32:40 +0000 Subject: [PATCH] visualize if sprite is mapped or used hovering shows title with details --- admin.py | 2 +- utility/htmls/imagesets/selector.html | 151 ++++++++++++++++++++++---- utility/htmls/selector.html | 58 ---------- 3 files changed, 128 insertions(+), 83 deletions(-) delete mode 100644 utility/htmls/selector.html diff --git a/admin.py b/admin.py index 6beea66..8124664 100644 --- a/admin.py +++ b/admin.py @@ -104,7 +104,7 @@ class Selector(webapp.RequestHandler): #NOTICE: << Publicly available at /commun if not name: whtml(self,"utility/htmls/imagesets/select-imageset.html",domain=gdi(self),imagesets=imagesets) return - # TODO: Render alist of image sets that you can choose instead of redirecting + name=name.split("/")[0] file=imagesets[name]["file"] size=imagesets[name]["size"] diff --git a/utility/htmls/imagesets/selector.html b/utility/htmls/imagesets/selector.html index 9e3ecc9..c73ced8 100644 --- a/utility/htmls/imagesets/selector.html +++ b/utility/htmls/imagesets/selector.html @@ -4,26 +4,119 @@ - - + + + @@ -40,19 +133,29 @@
14
-
+
{% for y in ys %} -
- {% for x in xs%} -
-
- -
-
- {% endfor %} +
+ {% for x in xs%} +
+
+ +
+ {% endfor %} +
{% endfor %}
- \ No newline at end of file + diff --git a/utility/htmls/selector.html b/utility/htmls/selector.html deleted file mode 100644 index 9e3ecc9..0000000 --- a/utility/htmls/selector.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - -
-
-
2
-
4
-
6
-
Alert
-
-
8
-
10
-
12
-
14
-
-
-
- {% for y in ys %} -
- {% for x in xs%} -
-
- -
-
- {% endfor %} -
- {% endfor %} -
- - \ No newline at end of file