From 42e30b000951401f4ecc1cf3e93af43f2f3e5270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Sun, 10 Apr 2022 23:42:29 +0200 Subject: [PATCH 1/2] First draft of rolling stock page --- ram/portal/templates/flatpage.html | 75 --------- ram/portal/templates/footer.html | 2 +- ram/portal/templates/home.html | 41 +++-- ram/portal/templates/page.html | 247 +++++++++++++++++++++++++++++ ram/portal/urls.py | 3 +- ram/portal/views.py | 9 ++ ram/ram/urls.py | 2 +- 7 files changed, 280 insertions(+), 99 deletions(-) delete mode 100644 ram/portal/templates/flatpage.html create mode 100644 ram/portal/templates/page.html diff --git a/ram/portal/templates/flatpage.html b/ram/portal/templates/flatpage.html deleted file mode 100644 index 057dc02..0000000 --- a/ram/portal/templates/flatpage.html +++ /dev/null @@ -1,75 +0,0 @@ -{% load static %} -{% load breadcrumbs %} -{% load solo_tags %} -{% get_solo 'portal.SiteConfiguration' as site_conf %} - - - - - - - - - - - - - - - {{ site_conf.site_name }} - {{ page.name }} - - - - - - {% if site_conf.common_css %}{% endif %} - - - -
-
- {% include 'navbar.html' %} - -
-
-
-
-
- {{ content }} -
-
-
- - {% include 'footer.html' %} - - - - - - - diff --git a/ram/portal/templates/footer.html b/ram/portal/templates/footer.html index 67cdc67..18301f1 100644 --- a/ram/portal/templates/footer.html +++ b/ram/portal/templates/footer.html @@ -1,6 +1,6 @@ {% load markdown %} -