diff options
Diffstat (limited to 'servo/templates/rules/list_rules.html')
-rw-r--r-- | servo/templates/rules/list_rules.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/servo/templates/rules/list_rules.html b/servo/templates/rules/list_rules.html new file mode 100644 index 0000000..9aef78e --- /dev/null +++ b/servo/templates/rules/list_rules.html @@ -0,0 +1,22 @@ +{% extends "admin/index.html" %} +{% load servo_tags %} +{% load i18n %} + +{% block toolbar %} + <a class="btn" href="{% url 'rules-create' %}"><i class="icon-plus"></i> {% trans "New Rule" %}</a> +{% endblock toolbar %} + +{% block second_column %} + <div class="span3"> + <ul class="nav nav-pills nav-stacked"> + <li class="nav-header">{% trans "Rules" %}</li> + {% for o in object_list %} + <li class="{% active_url request o.get_admin_url %}"><a href="{{ o.get_admin_url }}">{{ o.get_name }}</a></li> + {% endfor %} + </ul> + </div> + <div class="span9"> + {% block third_column %} + {% endblock third_column %} + </div> +{% endblock second_column %} |