adding DM view options

This commit is contained in:
evilchili
2022-08-07 11:57:35 -07:00
parent 4f010ba507
commit 5edf5f2283
7 changed files with 40 additions and 21 deletions
@@ -20,12 +20,13 @@
{{ article.content }}
{% set target = article.title.replace(' ', '_') %}
{% if self.is_dm() %}
<div class='statblock'>
<div style='cursor: pointer;'
onclick="document.getElementById('{{target}}').style.display=((document.getElementById('{{ target }}').style.display=='none')?'':'none');" ><h3>{{ article.title }}</h3></div>
<div id="{{ target }}" style='display:none;'>
<div class='read'>
{{ r.description }}
{{ r.dm_notes }}
</div>
<dl>
<dt>Size</dt><dd>{{ r.size }} sq. miles </dd>
@@ -37,6 +38,7 @@
</dl>
</div>
</div>
{% endif %}
<hr>
{% include "bottom-nav.html" %}
</div>