aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/hazards.html
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-03 16:55:23 -0400
committerhistoria <[not public]>2026-07-03 16:55:23 -0400
commit034187d1c434b6bee32aeb539ea543f6ec537376 (patch)
treef238a9c6a657af20edf0c53e9d0980bc58c1133a /internal/admin/templates/hazards.html
parent778157981cccb8cb4856e3ab5a72085830c59120 (diff)
downloadthehouseoficarus-034187d1c434b6bee32aeb539ea543f6ec537376.tar.gz
feat: card ui added to drops, hazards, techs, and mods in admin gui
Diffstat (limited to 'internal/admin/templates/hazards.html')
-rw-r--r--internal/admin/templates/hazards.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/admin/templates/hazards.html b/internal/admin/templates/hazards.html
index 0d60df6..d7d4548 100644
--- a/internal/admin/templates/hazards.html
+++ b/internal/admin/templates/hazards.html
@@ -10,5 +10,9 @@
</div>
</div>
<script src="/static/editor.js"></script>
-<script>initEditor('hazards', [{key:'name',label:'Name',type:'text'},{key:'damage',label:'Damage',type:'number'},{key:'speed',label:'Speed',type:'number'},{key:'required_item',label:'Required Item',type:'text'},{key:'message',label:'Message',type:'text'},{key:'lethal',label:'Lethal',type:'checkbox'}]);</script>
+<script src="/static/cardeditor.js"></script>
+<script src="/static/hazardeditor.js"></script>
+<script>
+initHazardEditor();
+</script>
{{end}}