aboutsummaryrefslogtreecommitdiff
path: root/labbot/addons/dashboard/templates/settings.html
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-09-07 13:09:39 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-09-07 13:09:39 +0200
commit45f1185a2e219923e26bd58d06a1b5130720fa74 (patch)
tree53d2a333b2dcfc48af3ebc903b7c5be1a380d1a2 /labbot/addons/dashboard/templates/settings.html
parentc7c3468f044acb58f8e3e3341c42135a08e0d380 (diff)
downloadlab-bot-45f1185a2e219923e26bd58d06a1b5130720fa74.tar.gz
lab-bot-45f1185a2e219923e26bd58d06a1b5130720fa74.zip
Implement Dashboard
Diffstat (limited to 'labbot/addons/dashboard/templates/settings.html')
-rw-r--r--labbot/addons/dashboard/templates/settings.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/labbot/addons/dashboard/templates/settings.html b/labbot/addons/dashboard/templates/settings.html
new file mode 100644
index 0000000..9bf03fb
--- /dev/null
+++ b/labbot/addons/dashboard/templates/settings.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+{% block content %}
+
+ <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
+ <h1 class="h2">Settings</h1>
+ </div>
+
+ <table class="table table-sm table-hover table-striped">
+ <thead>
+ <tr>
+ <th>Key</th>
+ <th>Value</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for k, v in bot.config.items() %}
+ <tr>
+ <td>{{k}}</td>
+ <td>{{v}}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+{% endblock %} \ No newline at end of file