Contact me to be added to this repository. Push the creations you make for D&D, and they will be displayed in a nice website. See the website for how to contribute.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.0 KiB

{% extends "base.html" %}
{% block content %}
<form action="/search" id="searchForm" method="post">
Search Type:
<select name="type">
<option value="name">Name</option>
<option value="rarity">Rarity</option>
<option value="aura">Aura</option>
<option value="text">Text</option>
</select>
<input type="text" name="inputText" placeholder="Enter your search here">
<input type="submit" value="search">
</form>
<nav>
<ul>
<li><a href="/items">Items</a></li>
<li><a href="/places">Places</a></li>
<li><a href="/characters">Characters</a></li>
<li><a href="/spells">Spells</a></li>
<li><a href="/feats">Feats</a></li>
<li><a href="/monsters">Monsters</a></li>
</ul>
</nav>
<a href="/marches">.</a>
<a href="/dungeon">.</a>
{% if searchResults is defined %}
{{ macros.itemTable(searchResults) }}
{% endif %}
{% if featureText is defined %}
<section>
<h2>Featured {{featureType}}:</h2>
{{ macros.itemTable([featureText]) }}
</section>
{% endif %}
{% endblock %}