2015-11-03 09:37:07 +01:00
|
|
|
{% load i18n %}
|
2013-08-13 12:52:26 +02:00
|
|
|
<div class="header">
|
2014-01-09 16:58:51 +01:00
|
|
|
<div class="header-main rightside-userlist" id="top_navbar">
|
2013-08-13 12:52:26 +02:00
|
|
|
<div class="column-left">
|
2015-09-19 23:33:45 +02:00
|
|
|
<a class="brand logo" href="#"><img src="/static/images/logo/zulipcornerlogo@2x.png" class="logoimage" alt="{{product_name}}" content="{{product_name}}" /></a>
|
2014-01-09 16:58:51 +01:00
|
|
|
</div>
|
|
|
|
<div class="column-middle" id="navbar-middle">
|
|
|
|
<div class="column-middle-inner">
|
|
|
|
<div id="streamlist-toggle" {%if embedded %} style="visibility: hidden"{% endif %}>
|
|
|
|
<a href="#" id="streamlist-toggle-button" role="button"><i class="icon-vector-reorder"></i>
|
|
|
|
<span id="streamlist-toggle-unreadcount">0</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div id="searchbox" class="searchbox-rightmargin">
|
|
|
|
<div id="tab_bar" class="notdisplayed">
|
|
|
|
</div>
|
|
|
|
<form id="searchbox_form" class="form-search navbar-search">
|
|
|
|
<div id="search_arrows" class="input-append">
|
|
|
|
<i class="icon-vector-search"></i>
|
2015-11-03 09:37:07 +01:00
|
|
|
<input class="search-query input-block-level" id="search_query" type="text" placeholder="{% trans 'Search' %}"
|
2014-01-09 16:58:51 +01:00
|
|
|
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>
|
|
|
|
<div class="column-right">
|
|
|
|
<div id="userlist-toggle">
|
|
|
|
<a href="#" id="userlist-toggle-button" role="button"><i class="icon-vector-group"></i>
|
|
|
|
<span id="userlist-toggle-unreadcount">0</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div id="navbar-buttons" {%if embedded %} style="visibility: hidden"{% endif %}>
|
2013-01-31 22:32:29 +01:00
|
|
|
<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>
|
2015-02-10 08:23:00 +01:00
|
|
|
<li title="Manage Streams">
|
2013-01-31 22:32:29 +01:00
|
|
|
<a href="#subscriptions" data-toggle="tab">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-exchange"></i> {% trans 'Manage Streams' %}
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="Settings">
|
|
|
|
<a href="#settings" data-toggle="tab">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-wrench"></i> {% trans 'Settings' %}
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="Keyboard shortcuts">
|
|
|
|
<a href="#keyboard-shortcuts" role="button" data-toggle="modal">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-question-sign"></i> {% trans '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">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-pencil"></i> {% trans '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">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-search"></i> {% trans '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">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-desktop"></i> {% trans 'Desktop & mobile apps' %}
|
2013-09-17 23:11:00 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="Integrations">
|
2013-09-19 17:22:43 +02:00
|
|
|
<a href="/integrations" target="_blank" role="button">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-github"></i> {% trans 'Integrations' %}
|
2013-09-17 23:11:00 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li title="API documentation">
|
2013-09-19 17:22:43 +02:00
|
|
|
<a href="/api" target="_blank" role="button">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-sitemap"></i> {% trans 'API documentation' %}
|
2013-09-17 23:11:00 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2014-01-22 01:43:11 +01:00
|
|
|
<li title="Administration" class="admin-menu-item">
|
2013-08-12 23:31:23 +02:00
|
|
|
<a href="#administration" role="button" data-toggle="tab">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-bolt"></i> {% trans 'Administration' %}
|
2013-08-12 23:31:23 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-01-31 22:32:29 +01:00
|
|
|
{% if show_invites %}
|
2014-07-15 23:21:03 +02:00
|
|
|
<li title="Invite coworkers to {{product_name}}">
|
2013-01-31 22:32:29 +01:00
|
|
|
<a href="#invite-user" role="button" data-toggle="modal">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-plus-sign"></i> {% trans '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">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-comment"></i> {% trans 'Feedback' %}
|
2013-06-24 20:45:40 +02:00
|
|
|
</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 %}
|
2014-07-15 23:21:03 +02:00
|
|
|
<li title="Grant {{product_name}} the Kerberos tickets needed to run your Zephyr mirror via Webathena" id="webathena_login_menu">
|
2013-08-27 21:15:15 +02:00
|
|
|
<a href="#webathena" class="webathena_login">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-bolt"></i>{% trans 'Link with Webathena' %}
|
2013-08-27 21:15:15 +02:00
|
|
|
</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">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-off"></i> {% trans 'Log out' %}
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% if show_debug %}
|
|
|
|
<li title="Debug">
|
|
|
|
<a href="#debug" data-toggle="tab">
|
2015-11-03 09:37:07 +01:00
|
|
|
<i class="icon-vector-barcode"></i> {% trans 'Debug' %}
|
2013-01-31 22:32:29 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-01-08 16:12:22 +01:00
|
|
|
</div>
|
2013-01-31 22:32:29 +01:00
|
|
|
</div>
|
2013-08-13 12:52:26 +02:00
|
|
|
</div>
|