2018-11-08 17:17:12 +01:00
|
|
|
<div class="left-sidebar" id="left-sidebar" role="navigation">
|
2019-02-10 02:04:14 +01:00
|
|
|
<div class="narrows_panel">
|
2017-06-05 23:10:26 +02:00
|
|
|
<ul id="global_filters" class="filters">
|
2021-06-29 09:48:40 +02:00
|
|
|
{{!-- Special-case this link so we don't actually go to page top. --}}
|
|
|
|
<li class="top_left_all_messages top_left_row" title="{{t 'All messages' }} (a)">
|
2020-09-20 10:14:24 +02:00
|
|
|
<a href="#all_messages" class="home-link">
|
2017-06-05 23:10:26 +02:00
|
|
|
<span class="filter-icon">
|
2020-11-10 09:17:07 +01:00
|
|
|
<i class="fa fa-align-left" aria-hidden="true"></i>
|
2017-06-05 23:10:26 +02:00
|
|
|
</span>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{~!-- squash whitespace --~}}
|
|
|
|
<span>{{t 'All messages' }}</span>
|
2021-04-09 09:20:15 +02:00
|
|
|
<span class="unread_count"></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</a>
|
2021-04-29 02:13:54 +02:00
|
|
|
<span class="arrow all-messages-sidebar-menu-icon"><i class="zulip-icon zulip-icon-ellipsis-v-solid" aria-hidden="true"></i></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</li>
|
2021-03-15 12:50:39 +01:00
|
|
|
<li class="top_left_private_messages">
|
2021-06-29 09:48:40 +02:00
|
|
|
<div class="private_messages_header top_left_row" title="{{t 'Private messages' }} (P)">
|
2019-03-12 15:08:28 +01:00
|
|
|
<a href="#narrow/is/private">
|
|
|
|
<span class="filter-icon">
|
|
|
|
<i class="fa fa-envelope" aria-hidden="true"></i>
|
|
|
|
</span>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{~!-- squash whitespace --~}}
|
|
|
|
<span>{{t 'Private messages' }}</span>
|
2021-04-09 09:20:15 +02:00
|
|
|
<span class="unread_count"></span>
|
2019-03-12 15:08:28 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2019-05-17 23:11:33 +02:00
|
|
|
<div id="private-container" class="scrolling_list" data-simplebar>
|
2019-05-03 03:16:09 +02:00
|
|
|
</div>
|
2017-06-05 23:10:26 +02:00
|
|
|
</li>
|
2021-05-19 13:28:02 +02:00
|
|
|
<li class="top_left_mentions top_left_row hidden-for-spectators">
|
2019-02-05 23:14:44 +01:00
|
|
|
<a href="#narrow/is/mentioned">
|
2017-06-05 23:10:26 +02:00
|
|
|
<span class="filter-icon">
|
2019-02-05 23:14:44 +01:00
|
|
|
<i class="fa fa-at" aria-hidden="true"></i>
|
2017-06-05 23:10:26 +02:00
|
|
|
</span>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{~!-- squash whitespace --~}}
|
|
|
|
<span>{{t 'Mentions' }}</span>
|
2021-04-09 09:20:15 +02:00
|
|
|
<span class="unread_count"></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-05-19 13:28:02 +02:00
|
|
|
<li class="top_left_starred_messages top_left_row hidden-for-spectators">
|
2019-02-05 23:14:44 +01:00
|
|
|
<a href="#narrow/is/starred">
|
2017-06-05 23:10:26 +02:00
|
|
|
<span class="filter-icon">
|
2019-02-05 23:14:44 +01:00
|
|
|
<i class="fa fa-star" aria-hidden="true"></i>
|
2017-06-05 23:10:26 +02:00
|
|
|
</span>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{~!-- squash whitespace --~}}
|
|
|
|
<span>{{t 'Starred messages' }}</span>
|
2021-04-09 09:20:15 +02:00
|
|
|
<span class="unread_count"></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</a>
|
2021-04-29 02:13:54 +02:00
|
|
|
<span class="arrow starred-messages-sidebar-menu-icon"><i class="zulip-icon zulip-icon-ellipsis-v-solid" aria-hidden="true"></i></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</li>
|
2021-06-29 09:48:40 +02:00
|
|
|
<li class="top_left_recent_topics top_left_row" title="{{t 'Recent topics' }} (t)">
|
2021-03-10 13:56:10 +01:00
|
|
|
<a href="#recent_topics">
|
2020-06-26 09:24:23 +02:00
|
|
|
<span class="filter-icon">
|
|
|
|
<i class="fa fa-clock-o" aria-hidden="true"></i>
|
|
|
|
</span>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{~!-- squash whitespace --~}}
|
|
|
|
<span>{{t 'Recent topics' }}</span>
|
2020-06-26 09:24:23 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2017-06-05 23:10:26 +02:00
|
|
|
</ul>
|
|
|
|
<div id="streams_list" class="zoom-out">
|
2021-07-06 13:56:17 +02:00
|
|
|
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title" data-tippy-content="{{t 'Filter streams' }} (q)">{{t 'STREAMS' }}</h4>
|
2021-07-07 06:49:36 +02:00
|
|
|
<span class="tippy-zulip-tooltip streams_inline_cog_wrapper hidden-for-spectators" data-tippy-content="{{t 'Add streams' }}">
|
2021-06-05 16:07:11 +02:00
|
|
|
<i id="streams_inline_cog" class='fa fa-plus' aria-hidden="true" ></i>
|
|
|
|
</span>
|
2021-07-07 06:49:36 +02:00
|
|
|
<i class="streams_filter_icon fa fa-filter tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Filter streams' }} (q)"></i>
|
bug fix: Move stream search out of scroll container.
We want the search widget, when visible, to be
outside the scroll container for the stream list.
One obvious use case is if you start scrolling, and
then realize it might be less effort to search.
Also, for user search, it already worked this way.
We have to add a couple resizing hooks here, but
it's not necessary to change the actual resize
calculation, since we move the section inside
of #streams_header, which is already accounted
for.
The only markup change here is to add
a `stream_search_section` class. I don't
know why we use `notdisplayed` here instead of
jQuery, or what `input-append` is for, but I
considered them outside the scope of this change.
We can also remove some crufty CSS that was
compensating for it being inside the container.
2019-02-09 19:09:56 +01:00
|
|
|
<div class="input-append notdisplayed stream_search_section">
|
2021-06-29 09:48:40 +02:00
|
|
|
<input class="stream-list-filter home-page-input" type="text" autocomplete="off" placeholder="{{t 'Filter streams' }}" />
|
2018-01-04 18:14:27 +01:00
|
|
|
<button type="button" class="btn clear_search_button" id="clear_search_stream_button">
|
2018-07-02 02:53:50 +02:00
|
|
|
<i class="fa fa-remove" aria-hidden="true"></i>
|
2017-06-05 23:10:26 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
bug fix: Move stream search out of scroll container.
We want the search widget, when visible, to be
outside the scroll container for the stream list.
One obvious use case is if you start scrolling, and
then realize it might be less effort to search.
Also, for user search, it already worked this way.
We have to add a couple resizing hooks here, but
it's not necessary to change the actual resize
calculation, since we move the section inside
of #streams_header, which is already accounted
for.
The only markup change here is to add
a `stream_search_section` class. I don't
know why we use `notdisplayed` here instead of
jQuery, or what `input-append` is for, but I
considered them outside the scope of this change.
We can also remove some crufty CSS that was
compensating for it being inside the container.
2019-02-09 19:09:56 +01:00
|
|
|
</div>
|
|
|
|
<div id="topics_header">
|
2021-06-29 09:48:40 +02:00
|
|
|
<a href="" class="show-all-streams"> <i class="fa fa-chevron-left" aria-hidden="true"></i>{{t 'Back to streams' }}</a>
|
bug fix: Move stream search out of scroll container.
We want the search widget, when visible, to be
outside the scroll container for the stream list.
One obvious use case is if you start scrolling, and
then realize it might be less effort to search.
Also, for user search, it already worked this way.
We have to add a couple resizing hooks here, but
it's not necessary to change the actual resize
calculation, since we move the section inside
of #streams_header, which is already accounted
for.
The only markup change here is to add
a `stream_search_section` class. I don't
know why we use `notdisplayed` here instead of
jQuery, or what `input-append` is for, but I
considered them outside the scope of this change.
We can also remove some crufty CSS that was
compensating for it being inside the container.
2019-02-09 19:09:56 +01:00
|
|
|
</div>
|
2019-05-17 23:11:33 +02:00
|
|
|
<div id="stream-filters-container" class="scrolling_list" data-simplebar>
|
2017-06-05 23:10:26 +02:00
|
|
|
<ul id="stream_filters" class="filters"></ul>
|
|
|
|
</div>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{#unless is_guest }}
|
2021-03-01 06:33:11 +01:00
|
|
|
<div id="add-stream-link">
|
2021-06-29 09:48:40 +02:00
|
|
|
<a href="#streams/all"><i class="fa fa-plus-circle" aria-hidden="true"></i>{{t 'Subscribe to more streams' }}</a>
|
2021-03-01 06:33:11 +01:00
|
|
|
</div>
|
2021-06-29 09:48:40 +02:00
|
|
|
{{/unless}}
|
2017-06-05 23:10:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|