feat(api): added top menu avatar icon
parent
69b26ffb4a
commit
6b9920b24a
|
@ -10,7 +10,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
@ -157,6 +157,18 @@
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
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>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<header role="banner" id="header">
|
<header role="banner" id="header">
|
||||||
|
@ -290,6 +302,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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">
|
<div id="dd-logo">
|
||||||
<a href="https://xnet-x.net/ca/digital-democratic/" target="_blank">
|
<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">
|
<img src="{{ data.product_logo }}" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px">
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 2000;
|
z-index: 2000;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
position: absolute;
|
position: fixed;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
@ -157,6 +157,18 @@
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
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>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<header role="banner" id="header">
|
<header role="banner" id="header">
|
||||||
|
@ -290,6 +302,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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">
|
<div id="dd-logo">
|
||||||
<a href="https://xnet-x.net/ca/digital-democratic/" target="_blank">
|
<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">
|
<img src="{{ data.product_logo }}" alt="" style="height: 16px; margin-right: 21px; margin-top: 16px">
|
||||||
|
|
Loading…
Reference in New Issue