Files
zulip/templates/zerver/portico-header-dropdown.html
Rishi Gupta 4e504e46a1 portico: Fix styling of dropdown menu in nav bar.
The previous gradient must have been from a previous design; it looked kind
of crazy against our current homepage. This widget also appears on /help,
/integrations, and other pages with a variety of different backgrounds, so a
neutral, muted style is probably safest.

The icon change is just because fa-off seems to be broken/missing. Maybe it
was in Font Awesome 3?

The extra padding line is to supercede padding (I assume) unintentionally
added by `.top-links a` to this widget on /help.
2019-03-07 21:28:54 -08:00

22 lines
619 B
HTML

<div class="dropdown">
<div class="dropdown-pill">
<img class="header-realm-icon" src="{{ realm_icon }}" alt="{{ _('Go to Zulip') }}"/>
<div class="realm-name">{{ realm_name }}<i class="fa fa-chevron-down"></i></div>
</div>
<ul>
<li>
<a href="/">
<i class="fa fa-home"></i>
Home
</a>
</li>
<li class="logout">
{% include 'zerver/app/logout.html' %}
<a href="#logout">
<i class="fa fa-sign-out"></i>
Log out
</a>
</li>
</ul>
</div>