zulip/templates/zephyr/navbar.html

107 lines
4.8 KiB
HTML

<div class="navbar navbar-fixed-top" id="top_navbar">
<div class="navbar-top">
<div class="container-fluid">
<div class="row-fluid position-relative">
<div class="span2 hidden-phone">
<a class="brand logo" href="#"><img src="/static/images/logo/zulip@2x.png" class="logoimage" alt="Zulip logo" content="Zulip"></a>
</div>
<div class="span8" id="navbar-middle">
<a class="brand skinny-user-gravatar visible-phone" href="#"
title="{{user_profile.full_name}} - {{user_profile.email}}">
<div class="gravatar-profile"
style="background-image: url('{{ avatar_url }}&s=50');"></div>
</a>
<div id="searchbox">
<form id="searchbox_form" class="form-search navbar-search">
<div id="search_arrows" class="input-append">
<i class="icon-vector-search"></i>
<input class="search-query input-block-level" id="search_query" type="text" placeholder="Search…"
autocomplete="off">
{# Start the button off disabled since there is no active search #}
<button class="btn search_button" type="button" id="search_exit" disabled="disabled"><i class="icon-vector-remove"></i></button>
</div>
</form>
</div>{# /searchbox #}
</div>
<div id="navbar-buttons">
<ul class="nav" role="navigation">
<li class="dropdown" id="gear-menu">
<a id="settings-dropdown" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-vector-cog"></i>
</a>
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="settings-dropdown">
<li title="Messages">
<a href="#home" data-toggle="tab">
<i class="icon-list"></i> Messages
</a>
</li>
<li title="Streams">
<a href="#subscriptions" data-toggle="tab">
<i class="icon-globe"></i> Streams
</a>
</li>
<li title="Settings">
<a href="#settings" data-toggle="tab">
<i class="icon-wrench"></i> Settings
</a>
</li>
<li title="Keyboard shortcuts">
<a href="#keyboard-shortcuts" role="button" data-toggle="modal">
<i class="icon-info-sign"></i> Keyboard shortcuts
</a>
</li>
<li title="Message formatting">
<a href="#markdown-help" role="button" data-toggle="modal">
<i class="icon-pencil"></i> Message formatting
</a>
</li>
<li class="divider"></li>
{% if show_invites %}
<li title="Invite coworkers to Zulip">
<a href="#invite-user" role="button" data-toggle="modal">
<i class="icon-plus-sign"></i> Invite coworkers
</a>
</li>
{% endif %}
<li title="Feedback">
<a href="#feedback" class="feedback">
<i class="icon-vector-comment"></i> Feedback
</a>
</li>
<li class="divider"></li>
<li title="Log out">
<a href="#logout" class="logout_button">
<i class="icon-off"></i> Log out
</a>
</li>
{% if show_debug %}
<li title="Debug">
<a href="#debug" data-toggle="tab">
<i class="icon-barcode"></i> Debug
</a>
</li>
{% endif %}
</ul>
</li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="alert alert_sidebar alert-error home-error-bar" id="zephyr-mirror-error">
<strong>Messages you send are not being mirrored to MIT
zephyr</strong> &mdash; Please check
that <a href="/zephyr#mirror">you are running the Zephyr mirror
script</a>. Once you've corrected this
issue, you can <a class="restart_get_updates_button">click
here</a> to update this alert.
</div>
<div class="alert alert_sidebar alert-error home-error-bar" id="home-error"></div>
<div class="alert alert_sidebar alert-error home-error-bar" id="reloading-application">
</div>
</div>
</div>
</div>
</div>
<div id="navbar-spacer"></div>