diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-09-07 13:09:39 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-09-07 13:09:39 +0200 |
commit | 45f1185a2e219923e26bd58d06a1b5130720fa74 (patch) | |
tree | 53d2a333b2dcfc48af3ebc903b7c5be1a380d1a2 /labbot/addons/dashboard/templates/addon_settings.html | |
parent | c7c3468f044acb58f8e3e3341c42135a08e0d380 (diff) | |
download | lab-bot-45f1185a2e219923e26bd58d06a1b5130720fa74.tar.gz lab-bot-45f1185a2e219923e26bd58d06a1b5130720fa74.zip |
Implement Dashboard
Diffstat (limited to 'labbot/addons/dashboard/templates/addon_settings.html')
-rw-r--r-- | labbot/addons/dashboard/templates/addon_settings.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/labbot/addons/dashboard/templates/addon_settings.html b/labbot/addons/dashboard/templates/addon_settings.html new file mode 100644 index 0000000..853cd15 --- /dev/null +++ b/labbot/addons/dashboard/templates/addon_settings.html @@ -0,0 +1,82 @@ +{% 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">Addon Settings</h1> + </div> + + <div> + <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"> + <h4 class="h4">GLOBAL</h4> + </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 addon_settings.GLOBAL.items() %} + <tr> + <td>{{k}}</td> + <td>{{v}}</td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + + <div> + <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"> + <h4 class="h4">GROUP</h4> + </div> + + {% for group_id, setting in addon_settings.GROUP.items() %} + <h6>{{ group_id }}</h6> + <table class="table table-sm table-hover table-striped"> + <thead> + <tr> + <th>Key</th> + <th>Value</th> + </tr> + </thead> + <tbody> + {% for k, v in setting.items() %} + <tr> + <td>{{k}}</td> + <td>{{v}}</td> + </tr> + {% endfor %} + </tbody> + </table> + {% endfor %} + </div> + + <div> + <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"> + <h4 class="h4">PROJECT</h4> + </div> + + {% for project_id, setting in addon_settings.PROJECT.items() %} + <h6>{{ project_id }}</h6> + <table class="table table-sm table-hover table-striped"> + <thead> + <tr> + <th>Key</th> + <th>Value</th> + </tr> + </thead> + <tbody> + {% for k, v in setting.items() %} + <tr> + <td>{{k}}</td> + <td>{{v}}</td> + </tr> + {% endfor %} + </tbody> + </table> + {% endfor %} + </div> +{% endblock %}
\ No newline at end of file |