diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-18 16:07:39 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-18 16:07:39 +0200 |
commit | d3e65b98ca932aef1e05e33d74eaf62be520cdd4 (patch) | |
tree | 3645410b3c4c857d1a602f6b6abda71b106aae64 /index.html | |
parent | aa44f67ab57673528e96a4a075fbd8cd0354bd68 (diff) |
inventory and items
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -54,6 +54,22 @@ </div> </template> + <template id="tpl___tabs"> + <div class="tabs"></div> + </template> + <template id="tpl___tabs__tab-heading"> + <div data-template-type="multiple"> + <input data-template-slot="input" type="radio" name="{TABS}" id="{TAB_BUTTON}" aria-controls="{TAB_PANEL}"> + <label data-template-slot="label" class="tabs__tab-heading menu-button" for="{TAB_BUTTON}"></label> + </div> + </template> + <template id="tpl___tabs__panels"> + <div class="tabs__panels"></div> + </template> + <template id="tpl___tabs__tab-panel"> + <section data-template-slot="panel" id="{TAB_PANEL}" class="tabs__tab-panel"></section> + </template> + <template id="tpl___battle__monster"> <div class="battle__monster"> <div class="battle__monster-info"> @@ -189,6 +205,7 @@ <template id="tpl___moveset__list"> <div class="moveset__list"></div> </template> + <template id="tpl___moveset__item"> <div class="moveset__item"> <span data-template-slot="name" class="moveset__item__name"></span> @@ -198,6 +215,20 @@ </div> </template> + <template id="tpl___inventory"> + <div class="inventory"></div> + </template> + + <template id="tpl___inventory__item"> + <div class="inventory__item"> + <img data-template-slot="sprite" /> + <div> + <span data-template-slot="name"></span> + x<span data-template-slot="quantity"></span> + </div> + </div> + </template> + <template id="tpl___menu__journal"> <div class="menu__journal"> <button data-template-slot="save" class="menu-button">Save</button> @@ -226,6 +257,7 @@ <script type="text/javascript" src="/resources/js/classes/Technique.js"></script> <script type="text/javascript" src="/resources/js/classes/StatusEffect.js"></script> <script type="text/javascript" src="/resources/js/classes/Item.js"></script> + <script type="text/javascript" src="/resources/js/classes/InventoryItem.js"></script> <script type="text/javascript" src="/resources/js/classes/State.js"></script> <script type="text/javascript" src="/resources/js/db.js"></script> <script type="text/javascript" src="/resources/js/formula.js"></script> |