summaryrefslogtreecommitdiffstats
path: root/templates/settings
diff options
context:
space:
mode:
Diffstat (limited to 'templates/settings')
-rw-r--r--templates/settings/_settings_identity_menu.html5
-rw-r--r--templates/settings/_settings_system_menu.html3
-rw-r--r--templates/settings/settings_identity.html7
-rw-r--r--templates/settings/settings_system.html18
4 files changed, 33 insertions, 0 deletions
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 @@
+<nav>
+ <a href="#" {% if section == "profile" %}class="selected"{% endif %}>Profile</a>
+ <a href="#" {% if section == "interface" %}class="selected"{% endif %}>Interface</a>
+ <a href="#" {% if section == "filtering" %}class="selected"{% endif %}>Filtering</a>
+</nav>
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 @@
+<nav>
+ <a href="#" {% if section == "basic" %}class="selected"{% endif %}>Basic</a>
+</nav>
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 %}
+ <form action="." method="POST">
+ {% csrf_token %}
+ {% for field in form %}
+ {% include "forms/_field.html" %}
+ {% endfor %}
+ <div class="buttons">
+ <button>Save</button>
+ </div>
+ </form>
+{% endblock %}