Admin: Important avatar changes lmao

pull/6/head
radex 2023-10-28 15:36:19 +02:00
parent 564b3e9888
commit d29a57233f
1 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,7 @@
{% extends 'basic.html' %}
{% block content %}
<img src="/avatar/user/{{ uid }}" class="profile-avatar-lmao" />
<h1>User: {{ uid }}</h1>
<div style="margin-bottom: 10px">
@ -27,7 +29,7 @@
<tr>
<td>{{ attr }}</td>
<td>{{ attr_readable if attr_readable else '' }}</td>
<td class="profile-table-value">{{ value }}</td>
<td class="profile-table-value">{{ '(...omitted...)' if attr == 'jpegPhoto' else value }}</td>
</tr>
{% endfor %}
</table>
@ -45,5 +47,17 @@
.profile-table th.profile-table-value {
width: max-content;
}
.profile-avatar-lmao {
width: 120px;
height: 120px;
margin: 10px 0;
border-radius: 10px;
float: right;
box-shadow: 5px 5px 0 #ddd;
transition: transform 0.2s ease-in-out;
}
.profile-avatar-lmao:hover {
transform: scale(1.2) rotate(359deg);
}
</style>
{% endblock %}