123456789101112131415161718 |
- <div class="dropbtn materialLevel1" onclick="toggleDropDown('emailSelector')">
- <div style="display: flex;" class="noselect">
- <img src="https://www.gravatar.com/avatar/{{.EmailHash}}?s=100&d=monsterid" style="border-radius: 100%; border-color: var(--primary-color); border-width: 2px; border-style: solid; height: 30px; width: 30px;">
- <div style="margin-top: auto; margin-bottom: auto; margin-left: 10px;" class="noselect">
- {{.Name}} {{.Email}}
- </div>
- <img class="iconBtn" style="width: 30px; margin-left: 20px;" onclick="settings(); event.stopPropagation(); return false;" src="/assets/settings.svg"/>
- <img class="iconBtn" style="width: 30px; margin-left: 10px;" onclick="logout(); event.stopPropagation(); return false;" src="/assets/logout.svg"/>
- </div>
- <div id="emailSelector" class="dropdown-content">
- {{range .EmailsIndexes}}
- <a href="/m{{.Index}}">{{.Email}}</a>
- {{end}}
- </div>
- <div class="noselect" style="position: relative;">
- <img src="/assets/down.svg" style="position: absolute; bottom: 0; right: 0; margin-right: -5px; margin-bottom: -5px; height: 7px;">
- </div>
- </div>
|