From 987a6d3c553dbfdfc37bfc9f0f656d107c74f85e Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Mon, 22 Jun 2020 23:03:32 +0200 Subject: Download docs, better preview --- client/templates/client/approve.html | 2 +- client/templates/client/doc_create.html | 8 +- client/templates/client/doc_edit.html | 26 +++- client/templates/client/index.html | 218 +++++++++++++++++++++++++++----- 4 files changed, 216 insertions(+), 38 deletions(-) (limited to 'client/templates/client') diff --git a/client/templates/client/approve.html b/client/templates/client/approve.html index e00aedc..f440fbe 100644 --- a/client/templates/client/approve.html +++ b/client/templates/client/approve.html @@ -1,4 +1,4 @@ -{% extends 'registration/base.html' %} +{% extends 'registration/base_client.html' %} {% block title %}Approva{% endblock %} diff --git a/client/templates/client/doc_create.html b/client/templates/client/doc_create.html index a095c04..710ba29 100644 --- a/client/templates/client/doc_create.html +++ b/client/templates/client/doc_create.html @@ -1,4 +1,4 @@ -{% extends 'registration/base.html' %} +{% extends 'registration/base_client.html' %} {% block title %}Crea Documento{% endblock %} @@ -46,7 +46,7 @@ {% if personal_data %}
-
+

Il documento conterrà le informazioni personali, prego verificare che siano corrette e aggiornate @@ -59,7 +59,7 @@ {% if medical_data %}

-
+

Il documento conterrà le informazioni mediche, prego verificare che siano corrette e aggiornate @@ -72,7 +72,7 @@ {% if custom_message %}

-
+

{{custom_message_text}} diff --git a/client/templates/client/doc_edit.html b/client/templates/client/doc_edit.html index 8cd5a98..0048fd5 100644 --- a/client/templates/client/doc_edit.html +++ b/client/templates/client/doc_edit.html @@ -1,4 +1,4 @@ -{% extends 'registration/base.html' %} +{% extends 'registration/base_client.html' %} {% block title %}Modifica documento{% endblock %} @@ -26,21 +26,39 @@ {% if personal_data %}

- Il documento conterrà le informazioni personali, prego verificare che siano corrette e aggiornate +
+
+

+ Il documento conterrà le informazioni personali, prego verificare che siano corrette e aggiornate +

+
+
{% endif %} {% if medical_data %}
- Il documento conterrà le informazioni mediche, prego verificare che siano corrette e aggiornate +
+
+

+ Il documento conterrà le informazioni mediche, prego verificare che siano corrette e aggiornate +

+
+
{% endif %} {% if custom_message %}
- {{custom_message_text}} +
+
+

+ {{custom_message_text}} +

+
+
{% endif %} diff --git a/client/templates/client/index.html b/client/templates/client/index.html index 733f62f..ff12e74 100644 --- a/client/templates/client/index.html +++ b/client/templates/client/index.html @@ -1,4 +1,4 @@ -{% extends 'registration/base.html' %} +{% extends 'registration/base_client.html' %} {% block title %}Home{% endblock %} @@ -7,10 +7,10 @@ {% endblock%} {% block content %} -
+
-
Aggiungi un documento
-

Usa questo bottone per creare un nuovo documento

+
Aggiungi un documento
+

Usa questo bottone per creare un nuovo documento

@@ -38,15 +38,15 @@
- - - {% for field in doc.2 %} - - - - {% endfor %} - -
{{field}}
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
{% endif %} @@ -75,15 +124,126 @@ healingDati medici
- - - {% for field in doc.3 %} - - - - {% endfor %} - -
{{field}}
+
+
+
Persona di contatto in caso di necessità
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
Assicurazione
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ È sostenitore REGA   + +
+
+
+
+
Medico di famiglia
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
Scheda medica personale
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ Deve assumere regolarmente medicamenti   + +
+
+ + +
+
+ Informazioni particolari sullo stato di salute: (postumi di operazioni, incidenti, malattie, disturbi fisici)   + +
+
+ + +
{% endif %} @@ -113,7 +273,7 @@ {% endif %} -- cgit v1.2.1