mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
adding login settings in admin
This commit is contained in:
parent
d2a68125ff
commit
1146e2abd9
21
InvenTree/templates/InvenTree/settings/login.html
Normal file
21
InvenTree/templates/InvenTree/settings/login.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{% extends "panel.html" %}
|
||||||
|
{% load i18n %}
|
||||||
|
{% load inventree_extras %}
|
||||||
|
|
||||||
|
{% block label %}login{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block heading %}
|
||||||
|
{% trans "Login Settings" %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<table class='table table-striped table-condensed'>
|
||||||
|
{% include "InvenTree/settings/header.html" %}
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{% endblock %}
|
@ -62,6 +62,12 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class='list-group-item' title='{% trans "Login" %}'>
|
||||||
|
<a href='#' class='nav-toggle' id='select-login'>
|
||||||
|
<span class='fas fa-fingerprint'></span> {% trans "Login" %}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class='list-group-item' title='{% trans "Barcodes" %}'>
|
<li class='list-group-item' title='{% trans "Barcodes" %}'>
|
||||||
<a href='#' class='nav-toggle' id='select-barcodes'>
|
<a href='#' class='nav-toggle' id='select-barcodes'>
|
||||||
<span class='fas fa-qrcode'></span> {% trans "Barcodes" %}
|
<span class='fas fa-qrcode'></span> {% trans "Barcodes" %}
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
{% if user.is_staff %}
|
{% if user.is_staff %}
|
||||||
|
|
||||||
{% include "InvenTree/settings/global.html" %}
|
{% include "InvenTree/settings/global.html" %}
|
||||||
|
{% include "InvenTree/settings/login.html" %}
|
||||||
{% include "InvenTree/settings/barcode.html" %}
|
{% include "InvenTree/settings/barcode.html" %}
|
||||||
{% include "InvenTree/settings/currencies.html" %}
|
{% include "InvenTree/settings/currencies.html" %}
|
||||||
{% include "InvenTree/settings/report.html" %}
|
{% include "InvenTree/settings/report.html" %}
|
||||||
|
Loading…
Reference in New Issue
Block a user