From a263512eeead65773c3880dc9ebd4e092beecdf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Sun, 10 Apr 2022 19:32:58 +0200 Subject: [PATCH] Fix card buttons and change logo --- dcc/consist/views.py | 6 ------ dcc/portal/static/css/main.css | 4 ++++ dcc/portal/templates/home.html | 15 ++++++++------- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/dcc/consist/views.py b/dcc/consist/views.py index e3fdf06..b3bb0c0 100644 --- a/dcc/consist/views.py +++ b/dcc/consist/views.py @@ -13,9 +13,3 @@ class ConsistGet(RetrieveAPIView): queryset = Consist.objects.all() serializer_class = ConsistSerializer lookup_field = "uuid" - - -# class RosterIdentifier(RetrieveAPIView): -# queryset = RollingStock.objects.all() -# serializer_class = RollingStockSerializer -# lookup_field = "identifier" diff --git a/dcc/portal/static/css/main.css b/dcc/portal/static/css/main.css index 20f73a5..9abd996 100644 --- a/dcc/portal/static/css/main.css +++ b/dcc/portal/static/css/main.css @@ -2,6 +2,10 @@ width: 100%; } +.btn > span { + display: inline-block; +} + #footer > p { display: inline; } diff --git a/dcc/portal/templates/home.html b/dcc/portal/templates/home.html index 97f4002..f38b39c 100644 --- a/dcc/portal/templates/home.html +++ b/dcc/portal/templates/home.html @@ -40,7 +40,9 @@