diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/generic/index.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/generic/index.html')
-rwxr-xr-x | servo/templates/generic/index.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/servo/templates/generic/index.html b/servo/templates/generic/index.html new file mode 100755 index 0000000..379db1c --- /dev/null +++ b/servo/templates/generic/index.html @@ -0,0 +1,23 @@ +{% extends "admin/index.html" %} +{% load i18n %} + +{% block second_column %} +<ul class="nav nav-tabs"> + <li class="active"><a href="#">{% trans "Browse" %}</a></li> +</ul> + +<table class="table"> +{% for item in object_list %} + <tr> + <td><a href="{{ item.id }}/edit/">{{ item.title }}</a></td> + <td style="text-align:right"> + <div class="btn-group"> + <a href="{{ item.pk }}/edit/" class="btn btn-warning" title="{% trans "Edit" %}"><i class="icon-pencil icon-white"></i></a> + <a href="{{ item.pk }}/delete/" class="btn btn-danger" data-modal="#modal" title="{% trans "Delete" %}"><i class="icon-trash icon-white"></i></a> + </div> + </td> + </tr> +{% endfor %} +</table> +<a class="btn" href="new/"><i class="icon-plus"></i> {% trans "Create New" %}</a> +{% endblock second_column %} |