Add token image names for reference, cursor hover over image card

This commit is contained in:
Brandon Cornejo 2020-12-12 11:43:06 -06:00
parent c95d105890
commit 7a0e6a6e6a
2 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,9 @@
{% block head %}
<style>
div.acks-npc-card:hover {
cursor: pointer;
}
div.acks-npc-card > div > div > div > img.category-thumbnail {
width: 150px;
height: 150px;

View File

@ -48,7 +48,7 @@ def token_gallery():
base_url = "https://www.atr0phy.net/acks/img/player_tokens/"
def to_gallery_src(src):
return {"src": src, "thumb": src}
return {"src": src, "thumb": src, "subHtml": "<h4>{}</h4>".format(src.rpartition('/')[2])}
tokens = {}
parent_fs = Path(base_path)