zulip/static/templates/settings/dropdown_list_widget.hbs

33 lines
1.4 KiB
Handlebars
Raw Normal View History

<div class="input-group dropdown-list-widget" id="{{widget_name}}_widget">
<span class="{{widget_name}}_setting dropup actual-dropdown-menu prop-element" id="id_{{widget_name}}" aria-labelledby="{{widget_name}}_label">
{{#if label}}
<label id="{{widget_name}}_label" class="inline-block">
{{ label }}
</label>
{{/if}}
<button class="button rounded dropdown-toggle" type="button" data-toggle="dropdown">
<span id="{{widget_name}}_name"></span>
<i class="fa fa-pencil"></i>
</button>
<ul class="dropdown-menu modal-bg" role="menu">
<li class="dropdown-search" role="presentation">
<input class="no-input-change-detection" type="text" role="menuitem" placeholder="{{list_placeholder}}" autofocus/>
</li>
<div class="dropdown-list-wrapper" data-simplebar>
<span class="dropdown-list-body"></span>
{{#if filter_button_text }}
<button class="button rounded small sea-green multiselect_btn" tabindex="0">
<i class="fa fa-filter" aria-hidden="true"></i>
{{filter_button_text}}
</button>
{{/if}}
</div>
</ul>
</span>
{{#if reset_button_text}}
<a class="dropdown_list_reset_button" role="button">
{{reset_button_text}}
</a>
{{/if}}
</div>