Commit 16bd872d authored by M3nt0r3's avatar M3nt0r3

utente

parent 01773d2d5c15
......@@ -21,8 +21,7 @@
{% endif %}
{% block operation %}
<form class="form" id="ae_form" role="form" autocomplete="off">
<fieldset>
<legend>Utente</legend>
<h2 class="center">DATI UTENTE</h2>
<input id="id_dao" type="hidden" name="id" value="{{pageData['dao'].id}}"/>
<input id="id_pg" type="hidden" name="id_pg" value="{{pageData['pg'].id}}"/>
<div class="form-row w-100">
......@@ -30,20 +29,20 @@
<div class="col-sm-7">
<div class="form-group" title="Username">
<label class="control-label" for="nome_utente">Username:</label>
<label class="control-label red-sublima" for="nome_utente">Username:</label>
<input class="form-control" value='{{pageData["dao"].username|nonone}}' type="text" name="nome_utente" id="nome_utente" required />
</div>
</div>
<div class="col-sm-6">
<div class="form-group" title="Password">
<label class="control-label" for="chiave_segreta">Password:</label>
<label class="control-label red-sublima" for="chiave_segreta">Password:</label>
<input class="form-control" type="password" name="chiave_segreta" id="chiave_segreta" autocomplete="new-password" value='' >
<p>Almeno 6 caratteri</p>
</div>
</div>
<div class="col-sm-6">
<div class="form-group" title="Password">
<label class="control-label" for="chiave_segreta2">Ripeti password:</label>
<label class="control-label red-sublima" for="chiave_segreta2">Ripeti password:</label>
<input class="form-control" type="password" name="chiave_segreta2" id="chiave_segreta2" autocomplete="new-password" value='' >
<p>Almeno 6 caratteri</p>
</div>
......@@ -54,7 +53,7 @@
<div class="col-sm-6">
<div class="form-group" title="Email">
<label class="control-label" for="email">Email:</label>
<label class="control-label red-sublima" for="email">Email:</label>
<input class="form-control" value='{{pageData["dao"].email|nonone}}' type="email" name="email" id="email" required />
</div>
</div>
......@@ -75,7 +74,7 @@
<!-- <div class="clearfix"></div> -->
<div class="col-sm-4">
<div class="form-group" title="Ruolo">
<label class="control-label" for="id_role" >Ruolo:</label>
<label class="control-label red-sublima" for="id_role" >Ruolo:</label>
<select id="id_role" name="id_role" class="form-control" required>
{% for t in pageData['ruoli'] %}
<option value="{{t.id}}" {{ 'selected="selected"' if t.id == pageData["dao"].id_role}} >{{t.name}}</option>
......@@ -85,7 +84,7 @@
</div>
<div class="col-sm-4">
<div class="form-group" title="">
<label class="control-label" for="user_magazzino">Punti vendita:</label>
<label class="control-label red-sublima" for="user_magazzino">Punti vendita:</label>
<select id="user_magazzino" name="user_magazzino" multiple>
<option></option>
......@@ -97,7 +96,7 @@
</div>
<div class="col-sm-4">
<div id="form_group_pg_cliente" class="form-group" title="Persona giuridica">
<label class="control-label" for="id_persona_giuridica">Persona Giuridica:</label>
<label class="control-label red-sublima" for="id_persona_giuridica">Persona Giuridica:</label>
<select id="id_persona_giuridica" class="id_persona_giuridica form-control">
{% if pageData["dao"].id and pageData["pg"].ragione_sociale %}
<option value="{{pageData['pg'].id}}" selected="selected">{{pageData["pg"].ragione_sociale}}</option>
......@@ -109,7 +108,7 @@
</div>
<div class="col-sm-4">
<div class="form-group" title="">
<label class="control-label" for="id_email_default">Profilo email predefinito.</label>
<label class="control-label red-sublima" for="id_email_default">Profilo email predefinito.</label>
<select id="id_email_default" name="id_email_default">
<option></option>
......@@ -122,20 +121,20 @@
<div class="col-sm-6">
<div class="form-group" title="Data registrazione">
<label class="control-label" >Data registrazione:</label>
<label class="control-label red-sublima" >Data registrazione:</label>
<p class="form-control-static">{{pageData["dao"].registration_date|nonone|datetimeformat}}</p>
</div>
</div>
<div class="col-sm-6">
<div class="form-group" title="Ultima modifica">
<label class="control-label" >Ultima modifica:</label>
<label class="control-label red-sublima" >Ultima modifica:</label>
<p class="form-control-static">{{pageData["dao"].last_modified|nonone|datetimeformat}}</p>
</div>
</div>
<h3 class="col-sm-12 red-sublima">DATI DI LAVORO</h3>
<div class="col-sm-4">
<div class="form-group" title="Abbinamento Azienda">
<label class="control-label" for="schemaa_azienda" >Azienda di lavoro:</label>
<label class="control-label red-sublima" for="schemaa_azienda" >Azienda di lavoro:</label>
<select id="schemaa_azienda" name="schemaa_azienda" class="form-control" required>
{% for t in pageData['aziende'] %}
<option value="{{t.schemaa}}"
......@@ -177,7 +176,6 @@
</div>
</div>
</div>
</fieldset>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment