2013-08-13 12:52:26 +02:00
|
|
|
<div class="header">
|
|
|
|
<div class="header-main" id="top_navbar">
|
|
|
|
<div class="column-left">
|
|
|
|
<div>
|
2013-09-19 22:20:27 +02:00
|
|
|
<a class="brand logo" href="#"><img src="/static/images/logo/zulip@2x.png" class="logoimage" alt="Zulip" content="Zulip"></a>
|
2013-01-31 22:32:29 +01:00
|
|
|
</div>
|
2013-08-13 12:52:26 +02:00
|
|
|
</div>
|
|
|
|
<div class="column-middle" id="navbar-middle">
|
|
|
|
<div class="column-middle-inner">
|
2013-08-23 21:33:43 +02:00
|
|
|
<div id="streamlist-toggle">
|
2013-09-03 17:40:34 +02:00
|
|
|
<a href="#" id="streamlist-toggle-button" role="button"><i class="icon-vector-reorder"></i>
|
|
|
|
<span id="streamlist-toggle-unreadcount">0</span>
|
|
|
|
</a>
|
2013-08-23 21:33:43 +02:00
|
|
|
</div>
|
2013-01-31 22:32:29 +01:00
|
|
|
<div id="searchbox">
|
|
|
|
<form id="searchbox_form" class="form-search navbar-search">
|
2013-03-06 20:46:33 +01:00
|
|
|
<div id="search_arrows" class="input-append">
|
2013-06-19 23:40:31 +02:00
|
|
|
<i class="icon-vector-search"></i>
|
2013-11-15 17:50:18 +01:00
|
|
|
<input class="search-query input-block-level" id="search_query" type="text" placeholder="Search"
|
2013-01-31 22:32:29 +01:00
|
|
|
autocomplete="off">
|
2013-03-06 20:46:33 +01:00
|
|
|
{# Start the button off disabled since there is no active search #}
|
2013-06-12 15:59:13 +02:00
|
|
|
<button class="btn search_button" type="button" id="search_exit" disabled="disabled"><i class="icon-vector-remove"></i></button>
|
2013-01-31 22:32:29 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
2013-01-31 22:37:20 +01:00
|
|
|
</div>{# /searchbox #}
|
2013-08-13 12:52:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column-right">
|
2013-01-31 22:32:29 +01:00
|
|
|
<div id="navbar-buttons">
|
|
|
|
<ul class="nav" role="navigation">
|
2013-07-27 00:00:20 +02:00
|
|
|
<li class="dropdown actual-dropdown-menu" id="gear-menu">
|
2013-01-31 22:32:29 +01:00
|
|
|
<a id="settings-dropdown" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
|
2013-10-09 00:37:07 +02:00
|
|
|
<i class="icon-vector-cog"></i><i class="icon-vector-caret-down settings-dropdown-caret"></i>
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
2013-08-15 23:03:28 +02:00
|
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="settings-dropdown">
|
2013-11-04 17:35:07 +01:00
|
|
|
{% comment %}
|
|
|
|
It is quite ingrained in our frontend code that your Home
|
|
|
|
view is a Bootstrap Nav tab, even though we don't show the tab
|
|
|
|
anymore
|
|
|
|
{% endcomment %}
|
2013-11-04 17:39:50 +01:00
|
|
|
<li style="display:none;"><a href="#home" data-toggle="tab"></a></li>
|
2013-01-31 22:32:29 +01:00
|
|
|
<li title="Streams">
|
|
|
|
<a href="#subscriptions" data-toggle="tab">
|
2013-11-08 10:12:05 +01:00
|
|
|
<i class="icon-vector-exchange"></i> Streams
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-08-07 16:47:48 +02:00
|
|
|
<li class="divider"></li>
|
2013-01-31 22:32:29 +01:00
|
|
|
<li title="Settings">
|
|
|
|
<a href="#settings" data-toggle="tab">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-wrench"></i> Settings
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="Keyboard shortcuts">
|
|
|
|
<a href="#keyboard-shortcuts" role="button" data-toggle="modal">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-question-sign"></i> Keyboard shortcuts
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-03-25 22:17:22 +01:00
|
|
|
<li title="Message formatting">
|
|
|
|
<a href="#markdown-help" role="button" data-toggle="modal">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-pencil"></i> Message formatting
|
2013-03-25 22:17:22 +01:00
|
|
|
</a>
|
2013-12-02 22:51:03 +01:00
|
|
|
</li>
|
2013-12-05 18:08:16 +01:00
|
|
|
<li title="Search help">
|
2013-12-02 22:51:03 +01:00
|
|
|
<a href="#search-operators" role="button" data-toggle="modal">
|
2013-12-05 18:08:16 +01:00
|
|
|
<i class="icon-vector-search"></i> Search help
|
2013-12-02 22:51:03 +01:00
|
|
|
</a>
|
2013-03-25 22:17:22 +01:00
|
|
|
</li>
|
2013-01-31 22:32:29 +01:00
|
|
|
<li class="divider"></li>
|
2013-09-17 23:11:00 +02:00
|
|
|
<li title="Desktop & mobile apps">
|
2013-09-19 17:22:43 +02:00
|
|
|
<a href="/apps" target="_blank" role="button">
|
2013-09-17 23:11:00 +02:00
|
|
|
<i class="icon-vector-desktop"></i> Desktop & mobile apps
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="Integrations">
|
2013-09-19 17:22:43 +02:00
|
|
|
<a href="/integrations" target="_blank" role="button">
|
2013-09-17 23:11:00 +02:00
|
|
|
<i class="icon-vector-github"></i> Integrations
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="API documentation">
|
2013-09-19 17:22:43 +02:00
|
|
|
<a href="/api" target="_blank" role="button">
|
2013-09-17 23:11:00 +02:00
|
|
|
<i class="icon-vector-sitemap"></i> API documentation
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2013-11-19 20:21:12 +01:00
|
|
|
{% if is_admin %}
|
2013-08-12 23:31:23 +02:00
|
|
|
<li title="Administration">
|
|
|
|
<a href="#administration" role="button" data-toggle="tab">
|
|
|
|
<i class="icon-vector-bolt"></i> Administration
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2013-01-31 22:32:29 +01:00
|
|
|
{% if show_invites %}
|
2013-07-10 22:14:08 +02:00
|
|
|
<li title="Invite coworkers to Zulip">
|
2013-01-31 22:32:29 +01:00
|
|
|
<a href="#invite-user" role="button" data-toggle="modal">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-plus-sign"></i> Invite coworkers
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2013-11-14 01:58:36 +01:00
|
|
|
{% if enable_feedback %}
|
2013-06-24 20:45:40 +02:00
|
|
|
<li title="Feedback">
|
|
|
|
<a href="#feedback" class="feedback">
|
|
|
|
<i class="icon-vector-comment"></i> Feedback
|
|
|
|
</a>
|
|
|
|
</li>
|
2013-12-05 18:08:16 +01:00
|
|
|
{% endif %}
|
2013-01-31 22:32:29 +01:00
|
|
|
<li class="divider"></li>
|
2013-08-27 21:15:15 +02:00
|
|
|
{% if show_webathena %}
|
|
|
|
<li title="Grant Zulip the Kerberos tickets needed to run your Zephyr
|
2013-08-27 22:07:59 +02:00
|
|
|
mirror via Webathena" id="webathena_login_menu">
|
2013-08-27 21:15:15 +02:00
|
|
|
<a href="#webathena" class="webathena_login">
|
|
|
|
<i class="icon-vector-bolt"></i>Link with Webathena
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2013-01-31 22:32:29 +01:00
|
|
|
<li title="Log out">
|
2013-04-02 20:47:18 +02:00
|
|
|
<a href="#logout" class="logout_button">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-off"></i> Log out
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% if show_debug %}
|
|
|
|
<li title="Debug">
|
|
|
|
<a href="#debug" data-toggle="tab">
|
2013-08-02 20:24:10 +02:00
|
|
|
<i class="icon-vector-barcode"></i> Debug
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-08-22 20:17:07 +02:00
|
|
|
<div id="userlist-toggle">
|
2013-09-03 17:40:34 +02:00
|
|
|
<a href="#" id="userlist-toggle-button" role="button"><i class="icon-vector-group"></i>
|
|
|
|
<span id="userlist-toggle-unreadcount">0</span>
|
|
|
|
</a>
|
2013-08-22 20:17:07 +02:00
|
|
|
</div>
|
2013-01-31 22:32:29 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-13 12:52:26 +02:00
|
|
|
</div>
|