From ddfe8ff9b2cd6c727dff1b6220c6974c196a3ed8 Mon Sep 17 00:00:00 2001 From: David Morris Date: Tue, 28 May 2024 08:20:19 +0100 Subject: [PATCH] Tidy up for search input box --- cmp/static/cmp/css/base.css | 14 +++++++++----- templates/cmp/index.html | 13 ++----------- templates/cmp/mgmt-index.html | 6 +----- templates/cmp/search-cemeteries.html | 4 +++- templates/cmp/search-countries.html | 4 ++++ templates/cmp/search-prisoner-of-war-camps.html | 2 ++ templates/cmp/search-ranks.html | 3 ++- templates/cmp/search-soldiers.html | 7 ++++++- 8 files changed, 29 insertions(+), 24 deletions(-) diff --git a/cmp/static/cmp/css/base.css b/cmp/static/cmp/css/base.css index 954e9c9..dcd63c6 100644 --- a/cmp/static/cmp/css/base.css +++ b/cmp/static/cmp/css/base.css @@ -5,9 +5,8 @@ margin-top: 5%; font-size: 18px; text-align: center; - - } + h1, h3, h3, h4, h5, h6 { color: #8B0000; } @@ -17,6 +16,7 @@ padding: 7px; text-align: center; } + .response-text { font-size: 24px; margin-top: 3%; @@ -45,7 +45,11 @@ margin-right: auto; width: 50%; /* adjust this value as needed */ } - + + .search-input { + padding-bottom: 24px; + } + .content-table thead tr { background-color: #8B0000; color: #ffffff; @@ -55,9 +59,9 @@ } - .content-table th, + .content-table th, .content-table td { - padding: 12px 15px; + padding: 12px; } .content-table tbody tr { diff --git a/templates/cmp/index.html b/templates/cmp/index.html index d15dcfc..555f34d 100644 --- a/templates/cmp/index.html +++ b/templates/cmp/index.html @@ -3,11 +3,6 @@ {% block title %} Corps of Military Police {% endblock %} {% block content %} -
The badge of the Royal Military Police @@ -15,19 +10,15 @@

Corps of Military Police

Casualties, Honours & Decorations, Prisoners of War

-

-

-

-

-
+
{% csrf_token %}
-
+
{% include 'cmp/soldier-results.html' %}
diff --git a/templates/cmp/mgmt-index.html b/templates/cmp/mgmt-index.html index d9bd226..67fe64a 100644 --- a/templates/cmp/mgmt-index.html +++ b/templates/cmp/mgmt-index.html @@ -6,11 +6,7 @@

Management Index