From 58fa50535cffa836971ff2a5413c4e95a5b639fc Mon Sep 17 00:00:00 2001 From: Lova Andriarimalala <43842786+Xpirix@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:54:17 +0300 Subject: [PATCH] Update login page UI --- qgis-app/static/style/scss/style.scss | 6 +- qgis-app/templates/registration/login.html | 140 +++++++++++++++++---- 2 files changed, 116 insertions(+), 30 deletions(-) diff --git a/qgis-app/static/style/scss/style.scss b/qgis-app/static/style/scss/style.scss index 52ca938d..ca393181 100644 --- a/qgis-app/static/style/scss/style.scss +++ b/qgis-app/static/style/scss/style.scss @@ -179,7 +179,7 @@ p { &.is-active { display: block; position: fixed; - height: 100dvh; + height: 87dvh; overflow: auto; left: 0; animation: slideInFromLeft 0.3s ease-out forwards; @@ -235,8 +235,8 @@ a.is-active > span { } .login-container { - box-shadow: 0 8px 12px 0 rgba(60, 60, 60, 0.75); - border-radius: 20px; + // box-shadow: 0 8px 12px 0 rgba(60, 60, 60, 0.75); + // border-radius: 20px; max-width: 500px; } diff --git a/qgis-app/templates/registration/login.html b/qgis-app/templates/registration/login.html index a8344348..d54bc352 100644 --- a/qgis-app/templates/registration/login.html +++ b/qgis-app/templates/registration/login.html @@ -1,32 +1,118 @@ -{% extends "base.html" %}{% load i18n %} - -{% block content %} -
{% trans "Login using your OSGEO id." %}
-{% trans "Please note that you do not need a login to download a plugin." %}
-- {% trans 'You can create a new OSGEO id on OSGEO web portal.' %} -
- {% if form.errors or form.non_field_errors %} -