This commit is contained in:
Hubert 2021-07-02 07:04:00 +02:00
parent a2e7be3d7c
commit 5ad31a8ca4
1 changed files with 4 additions and 4 deletions

View File

@ -15,14 +15,14 @@
{% match user_opt %}
{% when Some with (user) %}
<div class="w3-dropdown-hover w3-right">
<button class="w3-button">{{user.name}}</button>
<div class="w3-dropdown-content w3-bar-block w3-card-4">
<button class="w3-button">{{user.name}} <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-card-4" style="right:0">
<a href="#" class="w3-bar-item w3-button">Link 1</a>
<a href="#" class="w3-bar-item w3-button">Link 2</a>
<a href="#" class="w3-bar-item w3-button">Link 3</a>
<a href="#" class="w3-bar-item w3-button">Link 3 lkj lkj lkj lkj lkj </a>
<a href="#" class="w3-bar-item w3-button"><i class="fa fa-sign-out"></i> Log out</a>
</div>
</div>
<a href="#" class="w3-bar-item w3-button w3-right"><i class="fa fa-sign-out"></i> Log out</a>
{% when None %}
<a href="#" class="w3-bar-item w3-button w3-right"><i class="fa fa-sign-in"></i> Log in</a>
{% endmatch %}