feat(api): added top menu avatar icon

darta 2022-01-31 13:16:49 +00:00
parent 69b26ffb4a
commit 6b9920b24a
2 changed files with 36 additions and 2 deletions

View File

@ -10,7 +10,7 @@
width: 100%;
z-index: 2000;
height: 50px;
position: absolute;
position: fixed;
box-sizing: border-box;
justify-content: space-between;
}
@ -157,6 +157,18 @@
display: inline-flex;
align-items: center;
}
#navbar-nextcloud #user_avatar .avatardiv img {
height: 39px;
width: 39px;
margin-top: 5px;
margin-right: 10px;
}
.avatar>img, .avatardiv>img {
border-radius: 50%;
flex-shrink: 0;
}
</style>
{% endblock %}
<header role="banner" id="header">
@ -290,6 +302,11 @@
</div>
</div>
</div>
<div id="user_avatar">
<div class="avatardiv avatardiv-shown">
<img alt="" width="32" height="32" src="{{ data.user_avatar }}">
</div>
</div>
<div id="dd-logo">
<a href="https://xnet-x.net/ca/digital-democratic/" target="_blank">
<img src="{{ data.product_logo }}" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px">

View File

@ -10,7 +10,7 @@
width: 100%;
z-index: 2000;
height: 50px;
position: absolute;
position: fixed;
box-sizing: border-box;
justify-content: space-between;
}
@ -157,6 +157,18 @@
display: inline-flex;
align-items: center;
}
#navbar-nextcloud #user_avatar .avatardiv img {
height: 39px;
width: 39px;
margin-top: 5px;
margin-right: 10px;
}
.avatar>img, .avatardiv>img {
border-radius: 50%;
flex-shrink: 0;
}
</style>
{% endblock %}
<header role="banner" id="header">
@ -290,6 +302,11 @@
</div>
</div>
</div>
<div id="user_avatar">
<div class="avatardiv avatardiv-shown">
<img alt="" width="32" height="32" src="{{ data.user_avatar }}">
</div>
</div>
<div id="dd-logo">
<a href="https://xnet-x.net/ca/digital-democratic/" target="_blank">
<img src="{{ data.product_logo }}" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px">