From 0d2560fa55689d920bc7431fae3f2995bd1b0d71 Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Mon, 10 Aug 2009 15:47:02 -0400 Subject: Add a page to aid Aaron in user creation. --- templates/admin/index.html | 90 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 templates/admin/index.html (limited to 'templates/admin/index.html') diff --git a/templates/admin/index.html b/templates/admin/index.html new file mode 100644 index 0000000..af4d0b7 --- /dev/null +++ b/templates/admin/index.html @@ -0,0 +1,90 @@ +{% extends "admin/base_site.html" %} +{% load i18n %} + +{% block extrastyle %}{{ block.super }}{% endblock %} + +{% block coltype %}colMS{% endblock %} + +{% block bodyclass %}dashboard{% endblock %} + +{% block breadcrumbs %}{% endblock %} + +{% block content %} +pppppppp +
+
+ + + + + + +
Custom Admin Pages
Create New User
+
+ +{% if app_list %} + {% for app in app_list %} +
+ + + {% for model in app.models %} + + {% if model.perms.change %} + + {% else %} + + {% endif %} + + {% if model.perms.add %} + + {% else %} + + {% endif %} + + {% if model.perms.change %} + + {% else %} + + {% endif %} + + {% endfor %} +
{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}
{{ model.name }}{{ model.name }}{% trans 'Add' %} {% trans 'Change' %} 
+
+ {% endfor %} +{% else %} +

{% trans "You don't have permission to edit anything." %}

+{% endif %} +
+{% endblock %} + +{% block sidebar %} + +{% endblock %} -- cgit v1.2.3-24-g4f1b