From 80653d69a0dd7bb6a089b6fda05fbe98ff7ac9fb Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Fri, 30 Oct 2020 20:47:10 +0100 Subject: renaming, max partecipant number, only "capi" docs --- server/templates/server/doc_create.html | 14 +++++ server/templates/server/doc_edit.html | 107 ++++++++++++++++++++++++++++++++ server/templates/server/doc_type.html | 11 ++++ server/templates/server/index.html | 12 ++-- 4 files changed, 138 insertions(+), 6 deletions(-) create mode 100644 server/templates/server/doc_edit.html (limited to 'server/templates') diff --git a/server/templates/server/doc_create.html b/server/templates/server/doc_create.html index 9549a9d..8557f4c 100644 --- a/server/templates/server/doc_create.html +++ b/server/templates/server/doc_create.html @@ -95,6 +95,20 @@ +
+
+ +
+
+
+
+ + +
+
save diff --git a/server/templates/server/doc_edit.html b/server/templates/server/doc_edit.html new file mode 100644 index 0000000..fe11ab4 --- /dev/null +++ b/server/templates/server/doc_edit.html @@ -0,0 +1,107 @@ +{% extends 'registration/base_admin.html' %} + +{% block title %}Admin - Modifica Tipo{% endblock %} + +{% block breadcrumb %} + Admin + Tipo Doc + Modifica Tipo +{% endblock %} + +{% block content %} +
+
+
+
+
+ + {% csrf_token %} +
+
+ + +
+
+
+
+ +
+
+ +
+
+ + +
+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ + +
+
+ +
+
+
+
+
+{% endblock %} + +{% block script%} +$(document).ready(function(){ + {% if error %} + M.toast({html: '{{ error_text}}', classes: 'orange'}) + {% endif %} +}); +{% endblock %} \ No newline at end of file diff --git a/server/templates/server/doc_type.html b/server/templates/server/doc_type.html index 8c3093d..c407239 100644 --- a/server/templates/server/doc_type.html +++ b/server/templates/server/doc_type.html @@ -137,10 +137,16 @@ {% if doctype.0.auto_sign %} assignment_turned_in {% endif %} + {% if doctype.0.staff_only %} + lock + {% endif %} {{doctype.0.name}} {{doctype.2}}
+ edit Modifica tipo +
+
    {% if not doctype.0.group_private %}
  • @@ -157,6 +163,11 @@ healingDati medici
  • {% endif %} + {% if doctype.0.max_instances != 0 %} +
  • + control_point_duplicateNumero massimo di partecipanti: {{doctype.0.max_instances}} +
  • + {% endif %}
{% if doctype.0.custom_data or doctype.0.custom_message %}
    diff --git a/server/templates/server/index.html b/server/templates/server/index.html index aa4681e..de28169 100644 --- a/server/templates/server/index.html +++ b/server/templates/server/index.html @@ -31,13 +31,13 @@
- Lista utenti + Utenti

Approva utente @@ -75,17 +75,17 @@