From 320e203bfbc57c693fbf9c741486b5315201ae4a Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Mon, 22 Jan 2024 10:28:33 +0100 Subject: [PATCH 1/8] Override base.html --- .../templates/apis_metainfo/base.html | 211 ++++++++++++++++++ 1 file changed, 211 insertions(+) create mode 100644 apis_ontology/templates/apis_metainfo/base.html diff --git a/apis_ontology/templates/apis_metainfo/base.html b/apis_ontology/templates/apis_metainfo/base.html new file mode 100644 index 0000000..e787fbe --- /dev/null +++ b/apis_ontology/templates/apis_metainfo/base.html @@ -0,0 +1,211 @@ + +{% load static %} +{% load apis_metainfo_extras %} + + + + + + + {% block title %}Title Placeholder{% endblock %} + + + + + {% block metaDescription %} + + + {% endblock %} + + + + + + + + + {% block styles %} + {% include "partials/bootstrap4_css.html" %} + {% endblock styles %} + + + + + + {% include "apis_entities/apis_templatetag.html" %} + + + + + {% block scriptHeader %}{% endblock %} + + + + +
+ + +
+ + {% if DEV_VERSION %} + + {% endif %} + + {% block content %}{% endblock %} + +
+ + + + + + + + +
+ + {% block scripts %} + {% include "partials/feather_js.html" %} + {% include "partials/bootstrap4_js.html" %} + + + {% endblock %} + + {% block scripts2 %} + {% endblock scripts2 %} + + {% block modal %} + + + {% endblock modal %} + + + + From b8bc1c16b13505d544ee630c034e4202b903e60c Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Mon, 22 Jan 2024 10:56:35 +0100 Subject: [PATCH 2/8] Move template to the correct place --- apis_ontology/templates/{apis_metainfo => }/base.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apis_ontology/templates/{apis_metainfo => }/base.html (100%) diff --git a/apis_ontology/templates/apis_metainfo/base.html b/apis_ontology/templates/base.html similarity index 100% rename from apis_ontology/templates/apis_metainfo/base.html rename to apis_ontology/templates/base.html From ef31807b3a1d05ea1f9fe9079e33d92525b72147 Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Mon, 22 Jan 2024 11:36:21 +0100 Subject: [PATCH 3/8] Move base to apis_metainfo --- apis_ontology/templates/{ => apis_metainfo}/base.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename apis_ontology/templates/{ => apis_metainfo}/base.html (100%) diff --git a/apis_ontology/templates/base.html b/apis_ontology/templates/apis_metainfo/base.html similarity index 100% rename from apis_ontology/templates/base.html rename to apis_ontology/templates/apis_metainfo/base.html From 83e68ebf380ebb3e7aa59350034484b1111ab86f Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Mon, 22 Jan 2024 11:37:51 +0100 Subject: [PATCH 4/8] Add HTMX --- apis_ontology/templates/apis_metainfo/base.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apis_ontology/templates/apis_metainfo/base.html b/apis_ontology/templates/apis_metainfo/base.html index e787fbe..d0093cd 100644 --- a/apis_ontology/templates/apis_metainfo/base.html +++ b/apis_ontology/templates/apis_metainfo/base.html @@ -37,12 +37,14 @@ + {% block scriptHeader %}{% endblock %} - + - +