diff --git a/onlylegs/templates/settings/settings_layout.html b/onlylegs/templates/settings.html
similarity index 61%
rename from onlylegs/templates/settings/settings_layout.html
rename to onlylegs/templates/settings.html
index a51f7d3..35b18aa 100644
--- a/onlylegs/templates/settings/settings_layout.html
+++ b/onlylegs/templates/settings.html
@@ -16,14 +16,7 @@
-
-
- {% block settings_content %}{% endblock %}
+
Gwa Gwa
{% endblock %}
\ No newline at end of file
diff --git a/onlylegs/templates/settings/account.html b/onlylegs/templates/settings/account.html
deleted file mode 100644
index e3360ad..0000000
--- a/onlylegs/templates/settings/account.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends 'settings/settings_layout.html' %}
-
-{% block settings_account %}settings-nav__item-selected{% endblock %}
-{% block settings_content %}
- Account
- Is session fresh?
- {% if fresh %}
- Yes
- {% else %}
- No
- {% endif %}
-{% endblock %}
\ No newline at end of file
diff --git a/onlylegs/templates/settings/general.html b/onlylegs/templates/settings/general.html
deleted file mode 100644
index 9198463..0000000
--- a/onlylegs/templates/settings/general.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends 'settings/settings_layout.html' %}
-
-{% block settings_general %}settings-nav__item-selected{% endblock %}
-{% block settings_content %}
- General
-{% endblock %}
\ No newline at end of file
diff --git a/onlylegs/templates/settings/logs.html b/onlylegs/templates/settings/logs.html
deleted file mode 100644
index 698a16c..0000000
--- a/onlylegs/templates/settings/logs.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% extends 'settings/settings_layout.html' %}
-
-{% block settings_logs %}settings-nav__item-selected{% endblock %}
-{% block settings_content %}
- Logs
-
-{% endblock %}
-
-{% block script %}
-
-{% endblock %}
\ No newline at end of file
diff --git a/onlylegs/templates/settings/server.html b/onlylegs/templates/settings/server.html
deleted file mode 100644
index 191dbcd..0000000
--- a/onlylegs/templates/settings/server.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends 'settings/settings_layout.html' %}
-
-{% block settings_server %}settings-nav__item-selected{% endblock %}
-{% block settings_content %}
- Server
-{% endblock %}
\ No newline at end of file
diff --git a/onlylegs/views/settings.py b/onlylegs/views/settings.py
index 97a48d5..d37e459 100644
--- a/onlylegs/views/settings.py
+++ b/onlylegs/views/settings.py
@@ -4,6 +4,7 @@ OnlyLegs - Settings page
from flask import Blueprint, render_template
from flask_login import login_required
+
blueprint = Blueprint("settings", __name__, url_prefix="/settings")
@@ -13,31 +14,4 @@ def general():
"""
General settings page
"""
- return render_template("settings/general.html")
-
-
-@blueprint.route("/server")
-@login_required
-def server():
- """
- Server settings page
- """
- return render_template("settings/server.html")
-
-
-@blueprint.route("/account")
-@login_required
-def account():
- """
- Account settings page
- """
- return render_template("settings/account.html")
-
-
-@blueprint.route("/logs")
-@login_required
-def logs():
- """
- Logs settings page
- """
- return render_template("settings/logs.html")
+ return render_template("settings.html")
\ No newline at end of file