From 6eb66e10e9a0d43d1c7764c8e690be72a12adcba Mon Sep 17 00:00:00 2001 From: Daniel Gray Date: Thu, 11 Jul 2024 09:55:47 +0200 Subject: [PATCH] clean up code --- app/templates/app/search.html | 288 +++++++++++++++++----------------- 1 file changed, 144 insertions(+), 144 deletions(-) diff --git a/app/templates/app/search.html b/app/templates/app/search.html index f6cf93b7..27e49eaa 100644 --- a/app/templates/app/search.html +++ b/app/templates/app/search.html @@ -4,170 +4,170 @@ {% block content %} -
-
-
-
-
{% trans "Search a term" %}
-
+
+
+
+
+
{% trans "Search a term" %}
+ - + -
- -
-
-
- {% for document in search_results %} + + +
+
+
+ {% for document in search_results %} -
-
    -
  • - {% trans "Title:" %} - {{ document.title }} -
  • -
  • - {% trans "Institution:" %} - {{ document.institution }} -
  • -
  • - {% trans "Headline:" %} - {{ document.search_headline|safe }} -
  • -
  • - {% trans "File:" %} - {{ document.uploaded_file }} -
  • -
  • - {% trans "License:" %} - {{ document.license }} -
  • -
  • - {% trans "License:" %} - {{ document.document_type }} -
  • -
  • - {% trans "Mime Type:" %} - {{ document.mime_type }} -
  • -
  • - {% trans "Rank:" %} - {{ document.rank }} -
  • -
-
- {% endfor %} -
+
+
    +
  • + {% trans "Title:" %} + {{ document.title }} +
  • +
  • + {% trans "Institution:" %} + {{ document.institution }} +
  • +
  • + {% trans "Headline:" %} + {{ document.search_headline|safe }} +
  • +
  • + {% trans "File:" %} + {{ document.uploaded_file }} +
  • +
  • + {% trans "License:" %} + {{ document.license }} +
  • +
  • + {% trans "License:" %} + {{ document.document_type }} +
  • +
  • + {% trans "Mime Type:" %} + {{ document.mime_type }} +
  • +
  • + {% trans "Rank:" %} + {{ document.rank }} +
  • +
+
+ {% endfor %}
-
-
- -
+
+
+
+ -
+
+
+ - + -
+
-
-
-
- -
- {% for checkbox in filter.form.institution %} -
- {{ checkbox.tag }} - -
- {% endfor %} -
+
+
+
+ +
+ {% for checkbox in filter.form.institution %} +
+ {{ checkbox.tag }} + +
+ {% endfor %}
-
-
- -
- {% for checkbox in filter.form.document_type %} -
- {{ checkbox.tag }} - -
- {% endfor %} -
+
+
+
+ +
+ {% for checkbox in filter.form.document_type %} +
+ {{ checkbox.tag }} + +
+ {% endfor %}
-
-
- -
- {% for checkbox in filter.form.subjects %} -
- {{ checkbox.tag }} - -
- {% endfor %} -
+
+
+
+ +
+ {% for checkbox in filter.form.subjects %} +
+ {{ checkbox.tag }} + +
+ {% endfor %}
-
-
- -
- {% for checkbox in filter.form.languages %} -
- {{ checkbox.tag }} - -
- {% endfor %} -
+
+
+
+ +
+ {% for checkbox in filter.form.languages %} +
+ {{ checkbox.tag }} + +
+ {% endfor %}
- -
- +
+ +
+ -
-
+
+
{% endblock content %}