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-01-30 21:50:49 +01:00
|
|
|
<li class="top_left_all_messages global-filter 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-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-02-27 21:15:34 +01:00
|
|
|
<li class="top_left_private_messages global-filter">
|
2017-06-05 23:10:26 +02:00
|
|
|
<a href="#narrow/is/private">
|
|
|
|
<span class="filter-icon">
|
2018-07-02 02:53:50 +02:00
|
|
|
<i class="fa fa-envelope" aria-hidden="true"></i>
|
2017-06-05 23:10:26 +02:00
|
|
|
</span>
|
2019-02-27 21:15:34 +01:00
|
|
|
<span title="{{ _('Private messages') }} (P)">{{ _('Private messages') }}</span>
|
2017-06-05 23:10:26 +02:00
|
|
|
<span class="count">
|
|
|
|
<span class="value"></span>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2019-02-05 23:14:44 +01:00
|
|
|
<li class="top_left_mentions global-filter">
|
|
|
|
<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-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-02-05 23:14:44 +01:00
|
|
|
<li class="top_left_starred_messages global-filter">
|
|
|
|
<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-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>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div id="streams_list" class="zoom-out">
|
2018-01-04 18:14:27 +01:00
|
|
|
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title" data-toggle="tooltip" title="{{ _('Subscribed 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>
|
|
|
|
<div id="stream-filters-container" class="scrolling_list">
|
2017-06-05 23:10:26 +02:00
|
|
|
<ul id="stream_filters" class="filters"></ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|