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.

35 lines
927 B

{% 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>
<input type="text" name="inputText" placeholder="Enter your search here">
<input type="submit" value="search">
<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>
{% if searchResults is defined %}
{{ macros.itemTable(searchResults) }}
{% endif %}
{% if featureText is defined %}
<h2>Featured {{featureType}}:</h2>
{{ macros.itemTable([featureText]) }}
{% endif %}
{% endblock %}