2015-10-30 19:47:13 +01:00
|
|
|
<form class="pure-form roster-filter-group input-button-group">
|
2016-04-02 13:30:54 +02:00
|
|
|
<input value="{{filter_text}}" class="roster-filter"
|
|
|
|
placeholder="{{placeholder}}"
|
|
|
|
{[ if (filter_type === 'state') { ]} style="display: none" {[ } ]} >
|
|
|
|
<select class="state-type" {[ if (filter_type !== 'state') { ]} style="display: none" {[ } ]} >
|
|
|
|
<option value="">{{label_any}}</option>
|
|
|
|
<option {[ if (chat_state === 'online') { ]} selected="selected" {[ } ]}
|
|
|
|
value="online">{{label_online}}</option>
|
2016-08-23 10:43:20 +02:00
|
|
|
<option {[ if (chat_state === 'chat') { ]} selected="selected" {[ } ]}
|
|
|
|
value="chat">{{label_chatty}}</option>
|
2016-04-02 13:30:54 +02:00
|
|
|
<option {[ if (chat_state === 'dnd') { ]} selected="selected" {[ } ]}
|
|
|
|
value="dnd">{{label_busy}}</option>
|
|
|
|
<option {[ if (chat_state === 'away') { ]} selected="selected" {[ } ]}
|
|
|
|
value="away">{{label_away}}</option>
|
|
|
|
<option {[ if (chat_state === 'xa') { ]} selected="selected" {[ } ]}
|
|
|
|
value="xa">{{label_xa}}</option>
|
|
|
|
<option {[ if (chat_state === 'offline') { ]} selected="selected" {[ } ]}
|
|
|
|
value="offline">{{label_offline}}</option>
|
|
|
|
</select>
|
|
|
|
<select class="filter-type">
|
|
|
|
<option {[ if (filter_type === 'contacts') { ]} selected="selected" {[ } ]}
|
|
|
|
value="contacts">{{label_contacts}}</option>
|
|
|
|
<option {[ if (filter_type === 'groups') { ]} selected="selected" {[ } ]}
|
|
|
|
value="groups">{{label_groups}}</option>
|
|
|
|
<option {[ if (filter_type === 'state') { ]} selected="selected" {[ } ]}
|
|
|
|
value="state">{{label_state}}</option>
|
2014-12-13 00:15:19 +01:00
|
|
|
</select>
|
2015-10-29 18:17:03 +01:00
|
|
|
</form>
|