2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

Fix MFA auth flow (#8720)

* Re-add html account base
Fixes #8690

* fix base template
This commit is contained in:
Matthias Mair
2024-12-19 21:21:22 +01:00
committed by GitHub
parent 53792693f5
commit aad5575cd2
2 changed files with 38 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{% extends "account/base.html" %}
{% extends "skeleton.html" %}
{% load i18n %}
{% load inventree_extras %}

View File

@ -0,0 +1,37 @@
{% extends "skeleton.html" %}
{% load i18n %}
{% load inventree_extras %}
{% block body %}
<body class='login-screen' style='background: url({% inventree_splash %}); background-size: cover;'>
<div class='container-fluid'>
<div class='notification-area' id='alerts'>
<!-- Div for displayed alerts -->
</div>
</div>
<div class='main body-wrapper login-screen d-flex'>
<div class='login-container'>
<div class="row">
<div class='container-fluid'>
<div class='clearfix content-heading login-header d-flex flex-wrap'>
<img class="pull-left" src="{% inventree_logo %}" alt='{% trans "InvenTree logo" %}' width="60" height="60"/>
{% include "spacer.html" %}
<span class='float-right'><h3>{% inventree_title %}</h3></span>
</div>
</div>
<div class='container-fluid'>
<hr>
{% block content %}
{% endblock content %}
</div>
</div>
</div>
{% block extra_body %}
{% endblock extra_body %}
</div>
{% endblock body %}