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">
|
|
|
|
{# Special-case this link so we don't actually go to page top. #}
|
2020-09-20 10:14:24 +02:00
|
|
|
<li class="top_left_all_messages top_left_row" title="{{ _('All messages') }} (a)">
|
|
|
|
<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>
|
2019-03-06 21:17:06 +01:00
|
|
|
{#- squash whitespace -#}
|
2019-02-27 21:12:27 +01:00
|
|
|
<span>{{ _('All messages') }}</span>
|
2017-06-05 23:10:26 +02:00
|
|
|
<span class="count">
|
|
|
|
<span class="value"></span>
|
|
|
|
</span>
|
|
|
|
</a>
|
2020-06-06 01:27:23 +02:00
|
|
|
<span class="arrow all-messages-sidebar-menu-icon"><i class="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">
|
|
|
|
<div class="private_messages_header top_left_row" title="{{ _('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>
|
|
|
|
{#- squash whitespace -#}
|
2020-11-24 03:52:21 +01:00
|
|
|
<span>{{ _('Private messages') }}</span>
|
2019-03-12 15:08:28 +01:00
|
|
|
<span class="count">
|
|
|
|
<span class="value"></span>
|
|
|
|
</span>
|
|
|
|
</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>
|
2019-03-12 15:08:28 +01:00
|
|
|
<li class="top_left_mentions top_left_row">
|
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>
|
2019-03-06 21:17:06 +01:00
|
|
|
{#- squash whitespace -#}
|
2019-02-27 21:12:27 +01:00
|
|
|
<span>{{ _('Mentions') }}</span>
|
2018-08-17 03:46:32 +02:00
|
|
|
<span class="count">
|
|
|
|
<span class="value"></span>
|
|
|
|
</span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
2019-03-12 15:08:28 +01:00
|
|
|
<li class="top_left_starred_messages top_left_row">
|
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>
|
2019-03-06 21:17:06 +01:00
|
|
|
{#- squash whitespace -#}
|
2019-02-27 21:12:27 +01:00
|
|
|
<span>{{ _('Starred messages') }}</span>
|
2017-06-05 23:10:26 +02:00
|
|
|
<span class="count">
|
|
|
|
<span class="value"></span>
|
|
|
|
</span>
|
|
|
|
</a>
|
2020-06-06 01:27:23 +02:00
|
|
|
<span class="arrow starred-messages-sidebar-menu-icon"><i class="zulip-icon ellipsis-v-solid" aria-hidden="true"></i></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</li>
|
2020-11-18 07:39:49 +01:00
|
|
|
<li class="top_left_recent_topics top_left_row" title="{{ _('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>
|
|
|
|
{#- squash whitespace -#}
|
|
|
|
<span>{{ _('Recent topics') }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2017-06-05 23:10:26 +02:00
|
|
|
</ul>
|
|
|
|
<div id="streams_list" class="zoom-out">
|
2019-03-26 18:15:30 +01:00
|
|
|
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title" data-toggle="tooltip" title="{{ _('Filter streams') }}">{{ _('STREAMS') }}</h4>
|
2020-11-17 02:22:18 +01:00
|
|
|
<i id="streams_inline_cog" class='fa fa-cog' aria-hidden="true" data-toggle="tooltip" data-placement="bottom" title="{{ _('Subscribe, add, or configure streams') }}"></i>
|
2018-07-02 02:53:50 +02:00
|
|
|
<i id="streams_filter_icon" class='fa fa-search' aria-hidden="true" data-toggle="tooltip" title="{{ _('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-02-15 15:33:37 +01:00
|
|
|
<input class="stream-list-filter home-page-input" type="text" autocomplete="off" placeholder="{{ _('Search 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">
|
|
|
|
<a href="" class="show-all-streams"> <i class="fa fa-chevron-left" aria-hidden="true"></i>{{ _('All streams') }}</a>
|
|
|
|
</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-03-01 06:33:11 +01:00
|
|
|
{% if show_add_streams %}
|
|
|
|
<div id="add-stream-link">
|
|
|
|
<a href="#streams/all"><i class="fa fa-plus-circle" aria-hidden="true"></i>{{ _('Subscribe to more streams') }}</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2017-06-05 23:10:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|