From bd613f7a4224e5eb6595ba2a2d24d2b7a9cc8310 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Thu, 22 Aug 2024 22:24:13 +0200 Subject: [PATCH] Add: importer urls list page template base --- .../apps/templates/importer/source_urls.html | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 archivist/apps/templates/importer/source_urls.html diff --git a/archivist/apps/templates/importer/source_urls.html b/archivist/apps/templates/importer/source_urls.html new file mode 100644 index 0000000..b1ded4d --- /dev/null +++ b/archivist/apps/templates/importer/source_urls.html @@ -0,0 +1,102 @@ +{% extends "layouts/base-electric.html" %} + +{% load static %} + +{% block title %} Source URLs | Importer {% endblock title %} + +{% block stylesheets %}{% endblock stylesheets %} + +{% block content %} + +{% include "includes/navigation-transparent.html" %} + +
+
+ +
+
+
+

Source URLs

+ + {% include "importer/partials/tabnavbar.html" %} + +

Complete Profiles/Galleries

+ + + + + + + + + + + {% if user.is_superuser or user.is_staff %} + + {% endif %} + + + + + {% for url in SourceURLs %} + {% if url.source_type == "C" %} + + + + + + {% if user.is_superuser or user.is_staff %} + + {% endif %} + + + {% endif %} + {% endfor %} + +
URL:Category:Added On:Last Imported/Scaned:Added ByActive
{{ url.url }}{{ url.category }}{{ url.date_added|date:'Y-m-d H:i' }}{{ url.last_imported|date:'Y-m-d H:i' }}{{ url.added_by_user|capfirst }}{{ url.active }}
+ +
+ +

Single Posts

+ + + + + + + + + + + {% if user.is_superuser or user.is_staff %} + + {% endif %} + + + + + {% for url in SourceURLs %} + {% if url.source_type == "P" %} + + + + + + {% if user.is_superuser or user.is_staff %} + + {% endif %} + + + {% endif %} + {% endfor %} + +
URL:Category:Added On:Last Imported/Scaned:Added ByActive
{{ url.url }}{{ url.category }}{{ url.date_added|date:'Y-m-d H:i' }}{{ url.last_imported|date:'Y-m-d H:i' }}{{ url.added_by_user|capfirst }}{{ url.active }}
+ +
+
+
+ +
+
+ +{% endblock content %}