summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-27 11:32:35 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-28 08:43:20 +0200
commite91fc78a6d21bd5038bebd8966b4b8478c9e3652 (patch)
tree32bd1487ac03607ee19ce791551a361bc8d7e029 /ogcp/templates
parent35a55f16def1c43bd306189e418d5b357546a78c (diff)
templates: improve user sidebar style
Use Bootstrap list-group class and adjust content alignment with a flex container.
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/users.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/ogcp/templates/users.html b/ogcp/templates/users.html
index 01b0a60..c4e65f4 100644
--- a/ogcp/templates/users.html
+++ b/ogcp/templates/users.html
@@ -11,13 +11,14 @@
{% endblock %}
{% block sidebar %}
- <ul id="users-list" class="nav ogcp-nav flex-column nav-pills">
+ <ul id="users-list" class="nav ogcp-nav flex-column nav-pills list-group">
{% for user in users %}
- <li id="user-{{ user['USER'] }}" class="nav-item">
+ <li id="user-{{ user['USER'] }}" class="nav-item list-group-item d-flex align-items-center" style="padding-left: 35px;">
<input class="form-check-input" type="checkbox" form="usersForm"
value="{{ user['USER'] }}"
name="user-{{ user['USER'] }}" />
- {{ user['USER'] }}
+ <i class="fas fa-user-circle fa-2x mr-2"></i>
+ <b>{{ user['USER'] }}</b>
</li>
{% endfor %}
</ul>