diff options
Diffstat (limited to 'apps/it/templates/list_stuff.html')
-rw-r--r-- | apps/it/templates/list_stuff.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/it/templates/list_stuff.html b/apps/it/templates/list_stuff.html new file mode 100644 index 0000000..2ed2d6b --- /dev/null +++ b/apps/it/templates/list_stuff.html @@ -0,0 +1,29 @@ +{% extends "default.html" %} +{% load bootstrap3 %} +{% load i18n %} + +{% block main %} + +<ul class="nav nav-tabs"> +{% for k, v in categories %} + <li{%if k == kind %} class="active"{% endif %}><a href="?kind={{ k }}">{{ v }}</a></li> +{% endfor %} +</ul> + +<table> + <tbody> + {% for i in object_list %} + <td>{{ i.name }}</td> + <td>{{ i.description }}</td> + {% endfor %} + </tbody> +</table> +{% endblock main %} + +{% block inspector %} + <form method="post"> + {% csrf_token %} + {% bootstrap_form form %} + <button class="btn btn-default btn-primary">{% trans "Add Asset" %}</button> + </form> +{% endblock inspector %} |