From 44af0d4c59eed1c3715e9044e75c159cfddf54cc Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 16 Nov 2022 17:23:46 -0700 Subject: Add start of a settings (config) system --- templates/settings/_settings_identity_menu.html | 5 +++++ templates/settings/_settings_system_menu.html | 3 +++ templates/settings/settings_identity.html | 7 +++++++ templates/settings/settings_system.html | 18 ++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 templates/settings/_settings_identity_menu.html create mode 100644 templates/settings/_settings_system_menu.html create mode 100644 templates/settings/settings_identity.html create mode 100644 templates/settings/settings_system.html (limited to 'templates/settings') diff --git a/templates/settings/_settings_identity_menu.html b/templates/settings/_settings_identity_menu.html new file mode 100644 index 0000000..bdae143 --- /dev/null +++ b/templates/settings/_settings_identity_menu.html @@ -0,0 +1,5 @@ + diff --git a/templates/settings/_settings_system_menu.html b/templates/settings/_settings_system_menu.html new file mode 100644 index 0000000..fb4da02 --- /dev/null +++ b/templates/settings/_settings_system_menu.html @@ -0,0 +1,3 @@ + diff --git a/templates/settings/settings_identity.html b/templates/settings/settings_identity.html new file mode 100644 index 0000000..cdbf197 --- /dev/null +++ b/templates/settings/settings_identity.html @@ -0,0 +1,7 @@ +{% extends "settings/settings_system.html" %} + +{% block title %}{{ section.title }} - Settings{% endblock %} + +{% block menu %} + {% include "settings/_settings_identity_menu.html" %} +{% endblock %} diff --git a/templates/settings/settings_system.html b/templates/settings/settings_system.html new file mode 100644 index 0000000..c10964f --- /dev/null +++ b/templates/settings/settings_system.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title }} - System Settings{% endblock %} + +{% block content %} + {% block menu %} + {% include "settings/_settings_system_menu.html" %} + {% endblock %} +
+ {% csrf_token %} + {% for field in form %} + {% include "forms/_field.html" %} + {% endfor %} +
+ +
+
+{% endblock %} -- cgit v1.2.3