From cf9c4f0e85a20f19acc42d16221b1dd2013cad70 Mon Sep 17 00:00:00 2001 From: Raphael Maenle Date: Fri, 22 May 2020 00:10:16 +0200 Subject: [PATCH] adds minor login design update and device page update --- server/static/css/main.css | 15 +++++++++++++++ server/template/devices.html | 14 +++++++------- server/template/login.html | 9 ++++++--- 3 files changed, 28 insertions(+), 10 deletions(-) diff --git a/server/static/css/main.css b/server/static/css/main.css index 3dfcf24..0e925c3 100644 --- a/server/static/css/main.css +++ b/server/static/css/main.css @@ -4,6 +4,21 @@ body * font-family: "Trebuchet MS", Helvetica, sans-serif; } +.banner { + display:flex; + justify-content: center; + align-items:center; + background-color: orange; + height: 20rem; + flex-direction: column; + margin-bottom: 10rem; +} + +.title { + margin: none; + color: blue; +} + .logins { height: 100px; width: 500px; diff --git a/server/template/devices.html b/server/template/devices.html index ec8f310..c43d8eb 100644 --- a/server/template/devices.html +++ b/server/template/devices.html @@ -2,9 +2,9 @@ {% block body%}
-
Device ID
-
Link Status
-
Action
+
Device ID
+
Link Status
+
Action
{% for item in devices %} @@ -26,10 +26,10 @@ {% endfor %}
- {{ form.hidden_tag() }} - {{ form.deviceId.label }} - {{ form.deviceId(size=32) }} - {{ form.submit() }} +
{{ form.hidden_tag() }}
+
{{ form.deviceId.label }}
+
{{ form.deviceId(size=32) }}
+
{{ form.submit() }}
diff --git a/server/template/login.html b/server/template/login.html index 720fa2f..301c963 100644 --- a/server/template/login.html +++ b/server/template/login.html @@ -2,7 +2,10 @@ {% block content %} -

Login Page

+
@@ -17,7 +20,7 @@
-
+