adding login settings in admin

This commit is contained in:
Matthias 2021-09-05 19:01:21 +02:00
parent d2a68125ff
commit 1146e2abd9
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
3 changed files with 28 additions and 0 deletions

View 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 %}

View File

@ -62,6 +62,12 @@
</a>
</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" %}'>
<a href='#' class='nav-toggle' id='select-barcodes'>
<span class='fas fa-qrcode'></span> {% trans "Barcodes" %}

View File

@ -24,6 +24,7 @@
{% if user.is_staff %}
{% include "InvenTree/settings/global.html" %}
{% include "InvenTree/settings/login.html" %}
{% include "InvenTree/settings/barcode.html" %}
{% include "InvenTree/settings/currencies.html" %}
{% include "InvenTree/settings/report.html" %}