single character sheet improvements

This commit is contained in:
Zachary Watts
2026-04-30 00:57:04 -04:00
parent 0171a05c19
commit f089cf0d2c
11 changed files with 308 additions and 164 deletions

View File

@@ -23,12 +23,9 @@
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="party?cache=true">
Generate Adventurer Party
</a>
<a class="navbar-item" href="character">
Generate Single Adventurer
</a>
<a class="navbar-item" href="/">Home</a>
<a class="navbar-item" href="party?cache=true">Generate Adventurer Party</a>
<a class="navbar-item" href="character">Generate Single Adventurer</a>
</div>
</div>
</nav>
@@ -66,10 +63,10 @@
</div>
</div>
<div class="column" >
<p>Change character preservation? {{cache}}</p>
<p>Preserve adventurers?</p>
<div class="buttons">
{% if cache == 'true' %}
<a class="button is-primary">are cached</a>
<a class="button is-primary">cached</a>
<a class="button is-danger is-outlined" href="{{ '/party?count={}&level={}&cache=false'.format(count,level) }}">not cached</a>
{% else %}
<a class="button is-primary is-outlined" href="{{ '/party?count={}&level={}&cache=true'.format(count,level) }}">are cached</a>