diff options
Diffstat (limited to 'python/templates/pages/packages/index.html')
-rw-r--r-- | python/templates/pages/packages/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/python/templates/pages/packages/index.html b/python/templates/pages/packages/index.html new file mode 100644 index 0000000..7139c87 --- /dev/null +++ b/python/templates/pages/packages/index.html @@ -0,0 +1,28 @@ +{% extends "layout/base.html" %} +{% block content %} +<div class="row"> +<h2>Categories</h2> + <div class="col-xs-8 col-md-4"> + {% for CM in CM_tmp %} + <table class="table table-striped frontpage-table"> + <tr> + <td class="frontpage-table-package-atom"> + <a href="/categories/{{ CM.CategoryId }}/" title="{{ CM.Category }}">{{CM.Category }}</a> + </td> + <td> + <p title="{{ CM.Descriptions }}">{{ CM.Descriptions }}</p> + <p title="{% for P in CM.Packages %}{{ CM.Category}}/{{ P }}{% endfor %}">Packages</p> + </td> + </tr> + </table> + {% if forloop.last %} + </div> + {% else %} + {% if forloop.counter|divisibleby:"2" %} + </div><div class="col-xs-8 col-md-4"> + {% endif %} + {% endif %} + {% endfor %} +</div> + +{% endblock %}
\ No newline at end of file |