From 5d6df1528f29e5d46a676aa84738040082fd7807 Mon Sep 17 00:00:00 2001 From: promaroy Date: Sun, 3 Feb 2019 23:10:48 +0530 Subject: [PATCH] redesign ui of create link page. Fixes #7 issue --- iplogger/static/iplogger/css/style.css | 39 ++++++++++++++++++++-- iplogger/templates/registration/login.html | 34 +++++++++---------- 2 files changed, 51 insertions(+), 22 deletions(-) diff --git a/iplogger/static/iplogger/css/style.css b/iplogger/static/iplogger/css/style.css index a697857..6bf5900 100644 --- a/iplogger/static/iplogger/css/style.css +++ b/iplogger/static/iplogger/css/style.css @@ -6,6 +6,7 @@ body { background-size: cover; font-family: 'Open Sans', sans-serif; padding-top: 60px; + text-align: center; } blockquote, q { @@ -188,7 +189,7 @@ footer { top: 6em; text-align: center; background-color: #242830; - + } ._footer a { @@ -279,7 +280,7 @@ Media Queries margin: 0 auto; } body{ - overflow-x:hidden; + overflow-x:hidden; } } @media (min-width: 20px) and (max-width: 500px) { @@ -297,4 +298,36 @@ body{ width: 80%; margin: 0 auto; } -} \ No newline at end of file +} h3{ + font-style: italic; + font-size: 20px; +}.logginbox p{ + margin: 2px; + font-weight:bold; + } + .logginbox input{ + width:100%; + margin-bottom: 20px; +} + .logginbox input[type="text"],input[type="password"] + { border:2px solid black; + border-radius:8px; + background:transparent; + + height:40px; + color:black; + font-size:16px; + } + .logginbox input[type="submit"] +{ border:3px solid black; + border-radius:4px; + height:40px; + background:#fb2525; + color:white; + font-size:18px; +} + .logginbox input[type="submit"]:hover + { cursor:pointer; + background:#ffc107; + color:black; + } diff --git a/iplogger/templates/registration/login.html b/iplogger/templates/registration/login.html index 2558943..21293c4 100644 --- a/iplogger/templates/registration/login.html +++ b/iplogger/templates/registration/login.html @@ -8,31 +8,27 @@ {% if user.is_authenticated %}

You are not authorised to view this page.

{% else %} -

Please Login to see this page.

+

Please Login to see this page.

{% endif %} {% endif %} +
+

LOGIN HERE

+
+

Username

+ + +

Password

+

+ +
+
+
+ - - {# Assumes you setup the password_reset view in your URLconf #}

Lost password?

-{% endblock %} \ No newline at end of file +{% endblock %}