mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 09:16:25 +01:00
Merge branch 'better-footer-implementation'
This commit is contained in:
commit
0bbac278c6
@ -13,5 +13,10 @@
|
||||
overflow: hidden;
|
||||
min-width: 90vw;
|
||||
position: fixed;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
|
||||
input:checked#slide-sidebar~#content-container {
|
||||
position: initial;
|
||||
}
|
||||
}
|
||||
|
@ -81,6 +81,10 @@
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
||||
/** Hide scrollbars (deeply needed on Chromium) */
|
||||
::-webkit-scrollbar {
|
||||
@ -158,6 +162,7 @@ body {
|
||||
transition: left 0.5s ease;
|
||||
|
||||
padding: 5px;
|
||||
margin-left: var(--sidebar-size);
|
||||
}
|
||||
|
||||
.album-cover {
|
||||
@ -181,6 +186,9 @@ body {
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
|
||||
-moz-transition: width 0.5s ease;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
#slide {
|
||||
@ -197,11 +205,13 @@ body {
|
||||
input:checked#slide-sidebar~#content-container {
|
||||
left: 0;
|
||||
overflow: unset;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
input:checked#slide-sidebar~#footer {
|
||||
left: 0;
|
||||
overflow: unset;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
input:checked#slide-sidebar~#sidebar {
|
||||
@ -397,6 +407,9 @@ img.partition-thumbnail {
|
||||
margin: 5px;
|
||||
|
||||
border-radius: 3px;
|
||||
|
||||
-moz-transition: width 0.5s ease;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
button#logout,
|
||||
@ -667,3 +680,7 @@ td {
|
||||
.liste {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.x-scrollable {
|
||||
overflow-x: auto;
|
||||
}
|
@ -12,32 +12,34 @@
|
||||
<div class="button">Voir toutes les partitions</div>
|
||||
</a>
|
||||
</div>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Utilisateur</th>
|
||||
<th scope="col">Albums</th>
|
||||
<th scope="col">Partitions</th>
|
||||
<th scope="col">Privilèges</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="user-profile">
|
||||
<div class="user-profile-picture" style="background-color:{{ user.color }};"
|
||||
title="{{ user.username }}">
|
||||
{{ user.username[0] | upper }}
|
||||
<div class="x-scrollable">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Utilisateur</th>
|
||||
<th scope="col">Albums</th>
|
||||
<th scope="col">Partitions</th>
|
||||
<th scope="col">Privilèges</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="user-profile">
|
||||
<div class="user-profile-picture" style="background-color:{{ user.color }};"
|
||||
title="{{ user.username }}">
|
||||
{{ user.username[0] | upper }}
|
||||
</div>
|
||||
<div class="table-username">{{ user.username }}</div>
|
||||
</div>
|
||||
<div class="table-username">{{ user.username }}</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{ user.albums | length }}</td>
|
||||
<td>{{ user.partitions | length }}</td>
|
||||
<td>{% if user.access_level != 1 %}❌{% else %}✅{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td>{{ user.albums | length }}</td>
|
||||
<td>{{ user.partitions | length }}</td>
|
||||
<td>{% if user.access_level != 1 %}❌{% else %}✅{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user