-
-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Re-add html account base Fixes #8690 * fix base template
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% extends "account/base.html" %} | ||
{% extends "skeleton.html" %} | ||
|
||
{% load i18n %} | ||
{% load inventree_extras %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 %} |