aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
authorAndrea Lepori <aleporia@gmail.com>2023-07-28 13:28:10 +0200
committerAndrea Lepori <aleporia@gmail.com>2023-07-28 13:28:10 +0200
commit12485144d5cb57b1f3d8a6115371765f20fcc86b (patch)
tree9e208621013076d811f00201a8fac0193123ce2c /server/templates
parentfix data request for new uc (diff)
downloadscout-subs-12485144d5cb57b1f3d8a6115371765f20fcc86b.tar.gz
scout-subs-12485144d5cb57b1f3d8a6115371765f20fcc86b.zip
remove branca from uc from admin panel
Diffstat (limited to '')
-rw-r--r--server/templates/server/user_list.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/server/templates/server/user_list.html b/server/templates/server/user_list.html
index 22788e9..95e205c 100644
--- a/server/templates/server/user_list.html
+++ b/server/templates/server/user_list.html
@@ -34,6 +34,27 @@
{{user.first_name}} {{user.last_name}}
</div>
<div class="collapsible-body"><span>
+ <div id="modal{{user.id}}" class="modal">
+ <div class="modal-content">
+ <h4>Attenzione</h4>
+ <p>
+ Sei sicuro di volerlere riumuovere la persona {{user.first_name}} {{user.last_name}} dalla branca {{user.branca}}?<br>
+ Una volta rimossa dovrà essere riaggiunta dalla persona stessa o con un codice di trasferimento.
+ <br>
+ I dati dell'utente non verranno rimossi come anche i documenti.
+ </p>
+ </div>
+ <div class="modal-footer">
+ <a style="color:red" href="#!" class="modal-close waves-effect waves-green btn-flat">Annulla</a>
+ <a onclick="send('d{{user.id}}')" class="modal-close waves-effect waves-green btn-flat">Rimuovi</a>
+ </div>
+ </div>
+ <div class="hide-on-med-and-down">
+ <a class="waves-effect waves-light btn {{color}} modal-trigger" href="#modal{{user.id}}"><i class="material-icons left">remove_circle_outline</i>Rimuovi utente dalla branca</a>
+ </div>
+ <div style="margin-bottom: 0px;" class="hide-on-large-only row">
+ <a class="col s12 waves-effect waves-light btn {{color}} modal-trigger" href="#modal{{user.id}}"><i class="material-icons left">remove_circle_outline</i>Riumuovi utente dalla branca</a>
+ </div>
<ul class="collection">
<li class="collection-item">
<i class="material-icons left">confirmation_number</i>U{{user.code}}