From aef7fd913692c70ab06b522f985c095622fb54e3 Mon Sep 17 00:00:00 2001 From: Cristina Cochior Date: Mon, 21 Sep 2020 15:49:00 +0200 Subject: [PATCH] merged layout.html --- templates/layout.html | 283 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 231 insertions(+), 52 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index af330eb..35f7b2e 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -9,53 +9,147 @@ +
+
ABOUT
{% for librarian in librarians %} - - {{ librarian }} + {{librarian}} {% endfor %}
-
+ + + + + +
- {% for file in files_without_folders %} - {{file}}
- {% endfor %} + + {% for querylibrarian in urllibrarian %} + {% for file in filetoname_dict %} + {% for item in file['librarian'] %} + {% if item == querylibrarian and urlmethod == []%} + {% set show_file = file['debrisname'] %} + {{show_file}} + {% elif item == querylibrarian %} + {% for urlmeth in urlmethod %} + {% if urlmeth.lower() == file['method'].lower() %} + {% set show_file = file['debrisname'] %} + {{show_file}} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} + {% endfor %} + {% endfor %} + + + {% for querymethod in urlmethod %} + {% for file in filetoname_dict %} + {% if querymethod.lower() == file['method'].lower()%} + {% set show_file = file['debrisname'] %} + {{show_file}} + {% endif %} + {% endfor %} + {% endfor %}
@@ -133,9 +312,9 @@