2013-08-13 12:52:26 +02:00
< div class = "header" >
2018-01-27 18:33:41 +01:00
< nav class = "header-main rightside-userlist" id = "top_navbar" >
< div class = "column-left" >
< a class = "brand no-style" href = "#" >
2019-03-02 18:23:57 +01:00
< img id = "realm-logo" src = "{{ navbar_logo_url }}" alt = "" class = "nav-logo no-drag" / >
2014-01-09 16:58:51 +01:00
< / a >
2018-01-27 18:33:41 +01:00
< / div >
< div class = "column-middle" id = "navbar-middle" >
< div class = "column-middle-inner" >
2018-07-22 14:01:05 +02:00
< div id = "streamlist-toggle" title = "{{ _('Stream list') }} (q)" { % if embedded % } style = "visibility: hidden" { % endif % } >
2018-07-01 23:36:45 +02:00
< a href = "#" id = "streamlist-toggle-button" role = "button" > < i class = "fa fa-reorder" aria-hidden = "true" > < / i >
2018-01-27 18:33:41 +01:00
< span id = "streamlist-toggle-unreadcount" > 0< / span >
< / a >
< / div >
2020-02-03 17:01:11 +01:00
< div class = "top-navbar-border top-navbar-container" >
2020-02-21 20:02:49 +01:00
{% if search_pills_enabled %}
< div id = "searchbox" >
< div id = "tab_bar" class = "notdisplayed" >
2018-01-27 18:33:41 +01:00
< / div >
2020-02-21 20:02:49 +01:00
< form id = "searchbox_form" class = "form-search navbar-search" >
< div id = "search_arrows" class = "pill-container input-append" >
2020-05-15 13:13:50 +02:00
< span class = "search_icon search_open" > < i class = "fa fa-search" aria-hidden = "true" > < / i > < / span >
2020-02-21 20:02:49 +01:00
< div contenteditable = "true" class = "input search-query input-block-level" id = "search_query" type = "text" placeholder = "{{ _('Search') }}"
autocomplete="off" aria-label="{{ _('Search') }}" title="{{ _('Search') }} (/)"> < / div >
2020-05-15 13:13:50 +02:00
< button class = "btn search_button" type = "button" id = "search_exit" aria-label = "{{ _('Exit search') }}" > < i class = "fa fa-remove" aria-hidden = "true" > < / i > < / button >
2020-02-21 20:02:49 +01:00
< / div >
< / form >
2018-07-14 11:39:33 +02:00
< / div >
2020-02-21 20:02:49 +01:00
{% else %}
< div id = "searchbox_legacy" >
< div id = "tab_bar" class = "notdisplayed" >
2018-07-14 11:39:33 +02:00
< / div >
2020-02-21 20:02:49 +01:00
< form id = "searchbox_form" class = "form-search navbar-search" >
< div id = "search_arrows" class = "input-append" >
2020-05-15 13:13:50 +02:00
< span class = "search_icon search_open" > < i class = "fa fa-search" aria-hidden = "true" > < / i > < / span >
2020-02-21 20:02:49 +01:00
< input class = "search-query input-block-level" id = "search_query" type = "text" placeholder = "{{ _('Search') }}"
autocomplete="off" aria-label="{{ _('Search') }}" title="{{ _('Search') }} (/)"/>
2020-02-03 17:01:11 +01:00
< button class = "btn search_button" type = "button" id = "search_exit" aria-label = "{{ _('Exit search') }}" > < i class = "fa fa-remove" aria-hidden = "true" > < / i > < / button >
2020-02-21 20:02:49 +01:00
< / div >
< / form >
< / div >
{% endif %}
2018-07-14 11:39:33 +02:00
< / div >
2014-01-09 16:58:51 +01:00
< / div >
< / div >
2018-01-27 18:33:41 +01:00
< div class = "column-right" >
2018-07-22 14:05:05 +02:00
< div id = "userlist-toggle" title = "{{ _('User list') }} (w)" >
2018-07-01 23:36:45 +02:00
< a href = "#" id = "userlist-toggle-button" role = "button" > < i class = "fa fa-group" aria-hidden = "true" > < / i >
2018-01-27 18:33:41 +01:00
< span id = "userlist-toggle-unreadcount" > 0< / span >
2013-01-31 22:32:29 +01:00
< / a >
2018-01-27 18:33:41 +01:00
< / div >
< div id = "navbar-buttons" { % if embedded % } style = "visibility: hidden" { % endif % } >
< ul class = "nav" role = "navigation" >
< li class = "dropdown actual-dropdown-menu" id = "gear-menu" >
< a id = "settings-dropdown" href = "#" role = "button" class = "dropdown-toggle" data-target = "nada" data-toggle = "dropdown" title = "{{ _('Menu') }} (g)" >
2020-05-10 20:55:32 +02:00
< i class = "fa fa-cog settings-dropdown-cog" aria-hidden = "true" > < / i >
2018-01-27 18:33:41 +01:00
< / a >
< ul class = "dropdown-menu" role = "menu" aria-labelledby = "settings-dropdown" >
{#
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
#}
< li class = "invisible" style = "display:none;" role = "presentation" > < a href = "#home" data-toggle = "tab" > < / a > < / li >
< li role = "presentation" >
2018-12-05 20:19:58 +01:00
< a href = "#streams/subscribed" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-exchange" aria-hidden = "true" > < / i > {{ _('Manage streams') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li role = "presentation" >
< a href = "#settings" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-wrench" aria-hidden = "true" > < / i > {{ _('Settings') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li class = "admin-menu-item" role = "presentation" >
< a href = "#organization" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-bolt" aria-hidden = "true" > < / i >
2018-01-27 18:33:41 +01:00
< span > {{ _('Manage organization') }}< / span >
< / a >
< / li >
< li class = "divider" > < / li >
< li role = "presentation" >
< a href = "/help" target = "_blank" role = "menuitem" >
2018-07-24 01:38:45 +02:00
< i class = "fa fa-question-circle" aria-hidden = "true" > < / i > {{ _('Help center') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li role = "presentation" >
< a tabindex = "0" role = "menuitem" data-overlay-trigger = "keyboard-shortcuts" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-keyboard-o" aria-hidden = "true" > < / i > {{ _('Keyboard shortcuts') }} < span class = "hotkey-hint" > (?)< / span >
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li role = "presentation" >
2018-08-29 19:15:25 +02:00
< a tabindex = "0" role = "menuitem" data-overlay-trigger = "message-formatting" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-pencil" aria-hidden = "true" > < / i > {{ _('Message formatting') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li role = "presentation" >
< a tabindex = "0" role = "menuitem" data-overlay-trigger = "search-operators" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-search" aria-hidden = "true" > < / i > {{ _('Search operators') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
2020-05-04 09:24:19 +02:00
{% if corporate_enabled %}
< li role = "presentation" >
< a href = "/help/contact-support" target = "_blank" role = "menuitem" >
< i class = "fa fa-envelope" aria-hidden = "true" > < / i > {{ _('Contact support') }}
< / a >
< / li >
{% endif %}
2018-01-27 18:33:41 +01:00
< li class = "divider" role = "presentation" > < / li >
< li role = "presentation" >
< a href = "{{ apps_page_url }}" target = "_blank" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-desktop" aria-hidden = "true" > < / i > {{ _('Desktop & mobile apps') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li role = "presentation" >
< a href = "/integrations" target = "_blank" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-github" aria-hidden = "true" > < / i > {{ _('Integrations') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li role = "presentation" >
< a href = "/api" target = "_blank" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-sitemap" aria-hidden = "true" > < / i > {{ _('API documentation') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
2018-10-31 21:09:33 +01:00
{% if not is_guest %}
2018-01-27 18:33:41 +01:00
< li role = "presentation" >
< a href = "/stats" target = "_blank" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-bar-chart" aria-hidden = "true" > < / i >
2018-01-27 18:33:41 +01:00
< span > {{ _('Statistics') }}< / span >
< / a >
< / li >
2018-10-31 21:09:33 +01:00
{% endif %}
2018-08-15 18:49:25 +02:00
{% if show_plans %}
< li role = "presentation" >
2018-11-13 02:13:57 +01:00
< a href = "/plans" target = "_blank" role = "menuitem" >
2018-08-15 18:49:25 +02:00
< i class = "fa fa-rocket" aria-hidden = "true" > < / i > {{ _('Plans and pricing') }}
< / a >
< / li >
{% endif %}
{% if show_billing %}
< li role = "presentation" >
2018-11-13 02:13:57 +01:00
< a href = "/billing" target = "_blank" role = "menuitem" >
2018-08-15 18:49:25 +02:00
< i class = "fa fa-credit-card" aria-hidden = "true" > < / i > {{ _('Billing') }}
< / a >
< / li >
{% endif %}
2018-01-27 18:33:41 +01:00
< li class = "divider" role = "presentation" > < / li >
{% if show_invites %}
< li role = "presentation" >
< a href = "#invite" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-plus-circle" aria-hidden = "true" > < / i > {{ _('Invite users') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< li class = "divider" role = "presentation" > < / li >
{% endif %}
{% if show_webathena %}
< li title = "{% trans %}Grant Zulip the Kerberos tickets needed to run your Zephyr mirror via Webathena{% endtrans %}" id = "webathena_login_menu" role = "presentation" >
< a href = "#webathena" class = "webathena_login" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-bolt" aria-hidden = "true" > < / i > {{ _('Link with Webathena') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
{% endif %}
< li role = "presentation" >
< a href = "#logout" class = "logout_button" role = "menuitem" >
2018-07-01 23:36:45 +02:00
< i class = "fa fa-power-off" aria-hidden = "true" > < / i > {{ _('Log out') }}
2018-01-27 18:33:41 +01:00
< / a >
< / li >
< / ul >
< / li >
2013-01-31 22:32:29 +01:00
< / ul >
2018-01-27 18:33:41 +01:00
< / div >
2013-01-31 22:32:29 +01:00
< / div >
2018-01-27 18:33:41 +01:00
< / nav >
2013-08-13 12:52:26 +02:00
< / div >