From e1deaaf4a239db742cea2d1e6c4f48a9656d8a0f Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Sun, 26 Jul 2020 21:28:06 +0200 Subject: bug fixes and visual improvements --- server/templates/server/doc_list.html | 8 +++++--- server/templates/server/doc_type.html | 31 +++++++++++++++++++------------ server/templates/server/index.html | 12 ++++++++++++ server/templates/server/user_list.html | 31 +++++++++++++++++++++++++++---- 4 files changed, 63 insertions(+), 19 deletions(-) (limited to 'server/templates') diff --git a/server/templates/server/doc_list.html b/server/templates/server/doc_list.html index e5be168..fb201d5 100644 --- a/server/templates/server/doc_list.html +++ b/server/templates/server/doc_list.html @@ -124,7 +124,7 @@
  • {% if doc.0.status == "wait" %} @@ -165,6 +165,8 @@ send{{doc.0.compilation_date}}
  • + +
    + + +
    diff --git a/server/templates/server/user_list.html b/server/templates/server/user_list.html index 8ee2008..1010bd4 100644 --- a/server/templates/server/user_list.html +++ b/server/templates/server/user_list.html @@ -30,7 +30,6 @@
    - close
    @@ -51,6 +50,30 @@ {{user.0.first_name}} {{user.0.last_name}}
    + {% if not user.0.is_staff %} + + remove_circle_outlineDeapprova utente +

    + {% endif %} +
      +
    • +
      + confirmation_numberU{{user.1.code}} +
      +
    • +
    • @@ -292,9 +315,9 @@ {% endblock %} {% block script %} -document.addEventListener('DOMContentLoaded', function() { - var elems = document.querySelectorAll('.collapsible'); - var instances = M.Collapsible.init(elems, {}); +$(document).ready(function(){ + $('.modal').modal(); + $('.collapsible').collapsible(); }); function send(id) { -- cgit v1.2.1