Sieve filters (interface)

This commit is contained in:
RainLoop Team 2015-01-18 18:01:07 +04:00
parent 644f861347
commit ef3042aff7
15 changed files with 449 additions and 55 deletions

View file

@ -14,7 +14,7 @@
<div class="control-group" data-bind="css: {'error': name.error}">
<div class="controls">
<input type="text" class="span5" data-bind="value: name, hasFocus: name.focused" placeholder="Name"
<input type="text" class="span5" data-bind="value: name, hasFocus: name.focused" placeholder="Name"
autocorrect="off" autocapitalize="off" spellcheck="false" />
</div>
</div>
@ -27,12 +27,12 @@
<div>
<div data-bind="visible: 1 < conditions().length">
<select class="span4" data-bind="value: conditionsType">
<option value="All">
Matching all of the following rules @i18n
</option>
<option value="Any">
Matching any of the following rules @i18n
</option>
<option value="All">
Matching all of the following rules @i18n
</option>
</select>
</div>
<div data-bind="visible: 0 < conditions().length, foreach: conditions">

View file

@ -0,0 +1,11 @@
<select data-bind="options: $root.actionTypeOptions, value: actionType, optionsText: 'name', optionsValue: 'id'"></select>
&nbsp;
<input type="text" data-bind="value: actionValue" />
&nbsp;
<div data-bind="component: {
name: 'Checkbox',
params: {
label: 'keep in INBOX @i18n',
value: keepForward
}
}"></div>