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. #}
|
2019-03-12 15:08:28 +01:00
|
|
|
<li class="top_left_all_messages top_left_row active-filter" title="{{ _('All messages') }} (Esc)">
|
2017-06-05 23:10:26 +02:00
|
|
|
<a href="#">
|
|
|
|
<span class="filter-icon">
|
2018-07-02 02:53:50 +02:00
|
|
|
<i class="fa fa-home" 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>
|
2019-03-01 21:06:53 +01:00
|
|
|
<span class="arrow all-messages-arrow"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</li>
|
2019-03-12 15:08:28 +01:00
|
|
|
<li class="top_left_private_messages">
|
|
|
|
<div class="private_messages_header top_left_row">
|
|
|
|
<a href="#narrow/is/private">
|
|
|
|
<span class="filter-icon">
|
|
|
|
<i class="fa fa-envelope" aria-hidden="true"></i>
|
|
|
|
</span>
|
|
|
|
{#- squash whitespace -#}
|
|
|
|
<span title="{{ _('Private messages') }} (P)">{{ _('Private messages') }}</span>
|
|
|
|
<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>
|
2019-02-22 12:28:29 +01:00
|
|
|
<span class="arrow starred-messages-sidebar-arrow"><i class="fa fa-chevron-down" aria-hidden="true"></i></span>
|
2017-06-05 23:10:26 +02:00
|
|
|
</li>
|
|
|
|
</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>
|
2018-07-02 02:53:50 +02:00
|
|
|
<i id="streams_inline_cog" class='fa fa-cog' aria-hidden="true" data-toggle="tooltip" title="{{ _('Subscribe, add, or configure streams') }}"></i>
|
|
|
|
<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">
|
2018-05-01 06:42:36 +02:00
|
|
|
<input class="stream-list-filter" 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>
|
2019-05-11 19:44:27 +02:00
|
|
|
{% if show_add_streams %}
|
|
|
|
<a id="add-stream-link" href="#streams/all"><i class="fa fa-plus-circle" aria-hidden="true"></i>{{ _('Add streams') }}</a>
|
|
|
|
{% endif %}
|
2017-06-05 23:10:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|