cleaning up app and improving html

This commit is contained in:
Zachary Watts
2026-05-02 00:41:49 -04:00
parent 78ba21227a
commit 2173733463
5 changed files with 53 additions and 42 deletions

View File

@@ -36,6 +36,9 @@
<div class="content">
<div class="block">
<div class="block">
<h1>Character Generator</h1>
<p>The below lets you generate a character based on your preferences. If you change levels, there will be subtle changes, usually just the "saving throws" and "hp" will change. Some classes, like spellcasters, will gain new spells.</p>
<hr>
<div class="columns">
<div class="column" >
<p>Select a Class</p>
@@ -81,6 +84,8 @@
</div>
</div>
</div>
<br>
<div class="card">
<h3>{{character.adv_class.title()}} - Level {{character.level}}</h3>
<div class="columns">
<div class="column">
@@ -114,9 +119,8 @@
</div>
{% if character.spells %}
<div class="column">
<h5>Spellbook</h5>
<table class="table">
<thead><tr><th>Spellname</th><th></th><th></th><th></th></thead>
<thead><tr><th>Spellbook</th><th></th><th></th><th></th></thead>
{%for spell in character.spell_book %}
<tbody><tr><th>{{spell}}</th><td></td><th></th><td></td></tr></tbody>
{%endfor%}

View File

@@ -90,9 +90,6 @@
</div>
</div>
<br>
<div class="block has-text-centered">
<button class="button is-primary is-fillwidth">Select this adventuring party!</button>
<div>
</div>
</div>
</div>