From 1146e2abd98bfd8f3c71c30d0f0aac9515889a70 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 5 Sep 2021 19:01:21 +0200 Subject: [PATCH] adding login settings in admin --- .../templates/InvenTree/settings/login.html | 21 +++++++++++++++++++ .../templates/InvenTree/settings/navbar.html | 6 ++++++ .../InvenTree/settings/settings.html | 1 + 3 files changed, 28 insertions(+) create mode 100644 InvenTree/templates/InvenTree/settings/login.html diff --git a/InvenTree/templates/InvenTree/settings/login.html b/InvenTree/templates/InvenTree/settings/login.html new file mode 100644 index 0000000000..675787bfe9 --- /dev/null +++ b/InvenTree/templates/InvenTree/settings/login.html @@ -0,0 +1,21 @@ +{% extends "panel.html" %} +{% load i18n %} +{% load inventree_extras %} + +{% block label %}login{% endblock %} + + +{% block heading %} +{% trans "Login Settings" %} +{% endblock %} + +{% block content %} + + + {% include "InvenTree/settings/header.html" %} + + + +
+ +{% endblock %} diff --git a/InvenTree/templates/InvenTree/settings/navbar.html b/InvenTree/templates/InvenTree/settings/navbar.html index ebf24bffb1..aa4db644a6 100644 --- a/InvenTree/templates/InvenTree/settings/navbar.html +++ b/InvenTree/templates/InvenTree/settings/navbar.html @@ -62,6 +62,12 @@ +
  • + + {% trans "Login" %} + +
  • +
  • {% trans "Barcodes" %} diff --git a/InvenTree/templates/InvenTree/settings/settings.html b/InvenTree/templates/InvenTree/settings/settings.html index beb7f5eb04..ce88c197a5 100644 --- a/InvenTree/templates/InvenTree/settings/settings.html +++ b/InvenTree/templates/InvenTree/settings/settings.html @@ -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" %}