aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-31 17:10:39 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-31 17:11:17 +0100
commit7b3ff4bacab76138a45f018fcfee055c8fd1f186 (patch)
treec841299beeb9516ed4cb8f67072fca86d661dc02 /client
parentfix chrome showing white page on production (diff)
downloadscout-subs-7b3ff4bacab76138a45f018fcfee055c8fd1f186.tar.gz
scout-subs-7b3ff4bacab76138a45f018fcfee055c8fd1f186.zip
add go home message after saving data and other warning
Diffstat (limited to '')
-rw-r--r--client/templates/client/doc_create.html12
-rw-r--r--client/templates/client/doc_edit.html12
2 files changed, 24 insertions, 0 deletions
diff --git a/client/templates/client/doc_create.html b/client/templates/client/doc_create.html
index c1db432..71bdbbe 100644
--- a/client/templates/client/doc_create.html
+++ b/client/templates/client/doc_create.html
@@ -135,6 +135,18 @@
{% endif %}
<div class="row">
<div class="col s12">
+ <div class="card red">
+ <div class="card-content">
+ <p style="color:white"><b>
+ Attenzione: il documento non sarĂ  valido fino a quando non viene approvato. Selezionare
+ il documento dalla pagina principale per approvarlo.
+ </b></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col s12">
<br>
<a class="btn waves-effect waves-light {{color}}" onclick="window.history.back();" >
<i class="material-icons left">navigate_before</i>Indietro
diff --git a/client/templates/client/doc_edit.html b/client/templates/client/doc_edit.html
index 3af3584..40deb26 100644
--- a/client/templates/client/doc_edit.html
+++ b/client/templates/client/doc_edit.html
@@ -98,6 +98,18 @@
{% endif %}
<div class="row">
<div class="col s12">
+ <div class="card red">
+ <div class="card-content">
+ <p style="color:white"><b>
+ Attenzione: il documento non sarĂ  valido fino a quando non viene approvato. Selezionare
+ il documento dalla pagina principale per approvarlo.
+ </b></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col s12">
<br>
<a class="btn waves-effect waves-light {{color}}" onclick="window.history.back();" >
<i class="material-icons left">navigate_before</i>Indietro