mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Improve rendering for login page
This commit is contained in:
parent
a7d825158c
commit
f11348c965
@ -1,4 +1,5 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@ -26,17 +27,20 @@
|
|||||||
|
|
||||||
<div class='login'>
|
<div class='login'>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-2 col-md-offset-5">
|
<div class='container-fluid'>
|
||||||
<div class='clearfix content-heading'>
|
<div class='clearfix content-heading'>
|
||||||
<img class="pull-left" src="{% static 'img/inventree.png' %}" width="60" height="60"/> <h3>InvenTree</h3>
|
<img class="pull-left" src="{% static 'img/inventree.png' %}" width="60" height="60"/> <h3>InvenTree</h3>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div class='container-fluid'>
|
<div class='container-fluid'>
|
||||||
<form method="post">
|
<form method="post" action=''>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{% load crispy_forms_tags %}
|
||||||
<button class='pull-right btn btn-primary' type="submit">Login</button>
|
|
||||||
|
{{ form|crispy }}
|
||||||
|
|
||||||
|
<button class='pull-right btn btn-primary' type="submit">{% trans "Login" %}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user