From 9dfa9172f4aa723e4a5f216ab6446397a56a3d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Sun, 8 Jan 2023 00:40:13 +0100 Subject: [PATCH] Major templates and views refactoring --- ram/portal/templates/base.html | 17 +-- ram/portal/templates/cards.html | 45 ++++---- ram/portal/templates/companies.html | 34 +++--- ram/portal/templates/consist.html | 108 ++---------------- ram/portal/templates/consists.html | 32 +++--- ram/portal/templates/home.html | 41 +------ ram/portal/templates/manufacturers.html | 18 +-- ram/portal/templates/roster.html | 41 +++++++ ram/portal/templates/scales.html | 32 +++--- ram/portal/templates/search.html | 14 +-- ram/portal/urls.py | 16 +-- ram/portal/views.py | 144 +++++++++--------------- ram/ram/__init__.py | 2 +- 13 files changed, 212 insertions(+), 332 deletions(-) create mode 100644 ram/portal/templates/roster.html diff --git a/ram/portal/templates/base.html b/ram/portal/templates/base.html index 4954e0a..fc7e3ef 100644 --- a/ram/portal/templates/base.html +++ b/ram/portal/templates/base.html @@ -76,18 +76,19 @@ Home