diff options
Diffstat (limited to '')
-rw-r--r-- | server/templates/server/data_request.html | 2 | ||||
-rw-r--r-- | server/templates/server/doc_type.html | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/server/templates/server/data_request.html b/server/templates/server/data_request.html index 1db580c..fbbcbc0 100644 --- a/server/templates/server/data_request.html +++ b/server/templates/server/data_request.html @@ -20,6 +20,8 @@ <option value="" disabled selected>Scegli</option> <option value="email_all">Email (tutti gli utenti)</option> <option value="email_non_staff">Email (solo non capi)</option> + <option value="data_user">CSV Dati personali</option> + <option value="data_user_medic">CSV Dati personali + medici</option> </select> <label>Richiesta dati</label> </div> diff --git a/server/templates/server/doc_type.html b/server/templates/server/doc_type.html index c407239..1ef1433 100644 --- a/server/templates/server/doc_type.html +++ b/server/templates/server/doc_type.html @@ -144,7 +144,24 @@ <span class="new badge {{color}}" data-badge-caption="">{{doctype.2}}</span> </div> <div class="collapsible-body"><span> - <a class="waves-effect waves-light btn {{color}}" onclick="send('e{{doctype.0.id}}')"><i class="material-icons left">edit</i> Modifica tipo</a> + <div class="hide-on-med-and-down"> + <a class="waves-effect waves-light btn {{color}}" onclick="send('e{{doctype.0.id}}')"><i class="material-icons left">edit</i> Modifica tipo</a> + <a class="waves-effect waves-light btn {{color}}" onclick="send('d{{doctype.0.id}}')"><i class="material-icons left">file_download</i> Scarica CSV</a> + {% if doctype.0.medical_data %} + <a class="waves-effect waves-light btn {{color}}" onclick="send('m{{doctype.0.id}}')"><i class="material-icons left">file_download</i> Scarica CSV (con dati medici)</a> + {% endif %} + </div> + <div style="margin-bottom: 0px;" class="hide-on-large-only row"> + <a class="col s12 waves-effect waves-light btn {{color}}" onclick="send('e{{doctype.0.id}}')"><i class="material-icons left">edit</i> Modifica tipo</a> + <br> + <br> + <a class="col s12 waves-effect waves-light btn {{color}}" onclick="send('d{{doctype.0.id}}')"><i class="material-icons left">file_download</i> Scarica CSV</a> + {% if doctype.0.medical_data %} + <br> + <br> + <a class="col s12 waves-effect waves-light btn {{color}}" onclick="send('m{{doctype.0.id}}')"><i class="material-icons left">file_download</i> Scarica CSV (con dati medici)</a> + {% endif %} + </div> <br> <br> <ul class="collection"> |