From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/admin/users/form.html | 70 +++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 servo/templates/admin/users/form.html (limited to 'servo/templates/admin/users/form.html') diff --git a/servo/templates/admin/users/form.html b/servo/templates/admin/users/form.html new file mode 100644 index 0000000..34764ab --- /dev/null +++ b/servo/templates/admin/users/form.html @@ -0,0 +1,70 @@ +{% extends "admin/users/index.html" %} +{% load i18n %} + +{% block third_column %} +
+ {% csrf_token %} + +
+
+ {% include "form_field_snippet.html" with field=form.first_name %} + {% include "form_field_snippet.html" with field=form.last_name %} + {% include "form_field_snippet.html" with field=form.username %} + {% include "form_field_snippet.html" with field=form.email %} + {% include "form_field_snippet.html" with field=form.password1 %} + {% include "form_field_snippet.html" with field=form.password2 %} + {% include "form_field_snippet.html" with field=form.is_active %} +
+
+ {% include "form_field_snippet.html" with field=form.groups %} + {% include "form_field_snippet.html" with field=form.is_staff %} + {% include "form_field_snippet.html" with field=form.customer %} +
+ +
+
    + {% for t in user.get_tokens %} +
  • {{ t.key }}
  • + {% endfor %} +
+ {% if user.pk %} + {% trans "New Token" %} + {% else %} + {% trans "New Token" %} + {% endif %} +
+
+
+
+ {% include "form_field_snippet.html" with field=form.location %} + {% include "form_field_snippet.html" with field=form.locations %} +
+
+ {% include "form_field_snippet.html" with field=form.locale %} + {% include "form_field_snippet.html" with field=form.region %} + {% include "form_field_snippet.html" with field=form.timezone %} + {% include "form_field_snippet.html" with field=form.queues %} +
+
+ {% include "form_field_snippet.html" with field=form.tech_id %} + {% include "form_field_snippet.html" with field=form.gsx_userid %} + {% include "form_field_snippet.html" with field=form.gsx_poprefix %} +
+
+
+ {% if user.pk %} + {% trans "Delete" %} + {% else %} + {% trans "Delete" %} + {% endif %} + + +
+
+{% endblock third_column %} -- cgit v1.2.3