From 86b03abd59219374792aac669b445f3f987c141e Mon Sep 17 00:00:00 2001 From: catborise Date: Thu, 11 May 2023 15:31:42 +0300 Subject: [PATCH] reorganize otp_login and login pages --- accounts/templates/accounts/otp_login.html | 45 +++++++++++++--------- accounts/templates/login.html | 15 ++++---- static/css/signin.css | 15 ++------ 3 files changed, 38 insertions(+), 37 deletions(-) diff --git a/accounts/templates/accounts/otp_login.html b/accounts/templates/accounts/otp_login.html index 8b4e654..bd7ce61 100644 --- a/accounts/templates/accounts/otp_login.html +++ b/accounts/templates/accounts/otp_login.html @@ -1,30 +1,37 @@ -{% extends 'base.html' %} +{% extends "base.html" %} {% load i18n %} {% load static %} {% load django_bootstrap5 %} -{% block title %}WebVirtCloud{% endblock title %} +{% block title %}{% trans "WebVirtCloud" %} - {% trans "Sign In with OTP" %}{% endblock title %} -{% block page_heading %}WebVirtCloud{% endblock page_heading %} +{% block style %} + +{% endblock style %} {% block content %} -
-
-
-
- {% if form.errors %} - {% bootstrap_form_errors form %} - {% endif %} - +
{% endblock content %} \ No newline at end of file diff --git a/accounts/templates/login.html b/accounts/templates/login.html index b81a63e..1a7da2d 100644 --- a/accounts/templates/login.html +++ b/accounts/templates/login.html @@ -2,7 +2,8 @@ {% load i18n %} {% load static %} -{% block title %}{% trans "WebVirtCloud" %} - {% trans "Sign In" %}{% endblock %} + +{% block title %}{% trans "WebVirtCloud" %} - {% trans "Sign In" %}{% endblock title %} {% block style %} @@ -11,19 +12,20 @@ {% block content %}