Add token image names for reference, cursor hover over image card
This commit is contained in:
parent
c95d105890
commit
7a0e6a6e6a
@ -32,6 +32,9 @@
|
|||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<style>
|
<style>
|
||||||
|
div.acks-npc-card:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
div.acks-npc-card > div > div > div > img.category-thumbnail {
|
div.acks-npc-card > div > div > div > img.category-thumbnail {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
|
@ -48,7 +48,7 @@ def token_gallery():
|
|||||||
base_url = "https://www.atr0phy.net/acks/img/player_tokens/"
|
base_url = "https://www.atr0phy.net/acks/img/player_tokens/"
|
||||||
|
|
||||||
def to_gallery_src(src):
|
def to_gallery_src(src):
|
||||||
return {"src": src, "thumb": src}
|
return {"src": src, "thumb": src, "subHtml": "<h4>{}</h4>".format(src.rpartition('/')[2])}
|
||||||
|
|
||||||
tokens = {}
|
tokens = {}
|
||||||
parent_fs = Path(base_path)
|
parent_fs = Path(base_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user