diff options
Diffstat (limited to 'python/templates/pages/packages/category/index.html')
-rw-r--r-- | python/templates/pages/packages/category/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/python/templates/pages/packages/category/index.html b/python/templates/pages/packages/category/index.html new file mode 100644 index 0000000..2538f88 --- /dev/null +++ b/python/templates/pages/packages/category/index.html @@ -0,0 +1,33 @@ +{% extends "layout/base.html" %} +{% block content %} +<div class="row"> + <h2>Packages in {{ C.Category }}</h2> + <div class="col-xs-12 col-md-5"> + {% for PM in PM_tmp %} + <table class="table table-striped frontpage-table"> + <tr> + <td class="frontpage-table-package-atom"> + <a href="/package/{{ PM.PackageId }}/" title="{{ C.Category }}/{{ PM.Package }}">{{ C.Category }}/{{ PM.Package }}</a> + <p title="{{ PM.Commitlog }}">Commit Log</p> + </td> + <td> + <p title="{{ PM.Descriptions }}">{{ PM.Descriptions }}</p> + <p title="{% for P in PM.Ebuilds %}{{ PM.Package }}/{{ P }}{% endfor %}">Versions + {% if PM.Repoman %} + <a class="btn btn-warning btn-xs" href="/repoman/{{PM.PackageId }}/">Repoman</a> + {% endif %} + </p> + </td> + </tr> + </table> + {% if forloop.last %} + </div> + {% else %} + {% if forloop.counter|divisibleby:"2" %} + </div><div class="col-xs-12 col-md-5"> + {% endif %} + {% endif %} + {% endfor %} +</div> + +{% endblock %}
\ No newline at end of file |