made settings work lamely, but functional for now, also removed test route

This commit is contained in:
2021-01-10 15:46:41 +11:00
parent 64d3e3e4cd
commit cf1adb3e6e
3 changed files with 39 additions and 6 deletions

13
templates/settings.html Normal file
View File

@@ -0,0 +1,13 @@
{% extends "base.html" %} {% block main_content %}
<div class="container">
<h3 class="offset-lg-2">{{page_title}}</h3>
<div class="row">
<table class="table table table-sm col-xl-12">
<thead><tr><th>Name</th><th>Value</th></tr></thead><tbody>
{% for obj in objects %}
<tr><td><a href="{{url_for('setting', id=obj.id)}}">{{obj.name}}</a></td><td>{{obj.value}}</td></tr>
{% endfor %}
</tbody></table>
</div class="row">
</div class="container">
{% endblock main_content %}