Compare commits

...

2 commits

Author SHA1 Message Date
the-djmaze
6b3c073ddd Don't watch-js 2024-01-09 01:28:34 +01:00
the-djmaze
c651112cc0 Cleanup some data-bind="" 2024-01-09 01:27:52 +01:00
3 changed files with 4 additions and 5 deletions

View file

@ -15,8 +15,7 @@
"url": "git://github.com/the-djmaze/snappymail.git" "url": "git://github.com/the-djmaze/snappymail.git"
}, },
"scripts": { "scripts": {
"watch-css": "gulp watchCss", "watch-css": "gulp watchCss"
"watch-js": "webpack --color --watch"
}, },
"license": "SEE LICENSE IN LICENSE", "license": "SEE LICENSE IN LICENSE",
"licenses": [ "licenses": [

View file

@ -131,7 +131,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group" data-bind="email().length"> <div class="control-group">
<label class="fontastic iconsize24" data-i18n="[title]GLOBAL/EMAIL">@</label> <label class="fontastic iconsize24" data-i18n="[title]GLOBAL/EMAIL">@</label>
<div> <div>
<label class="e-component e-checkbox material-design"> <label class="e-component e-checkbox material-design">

View file

@ -24,7 +24,7 @@
</div> </div>
<div data-bind="foreach: conditions"> <div data-bind="foreach: conditions">
<div class="control-group" data-bind="css: {'error': valueError}" style="display:flex"> <div class="control-group" data-bind="css: {'error': valueError}" style="display:flex">
<div style="flex-grow:1" data-bind="css: {'error': valueError}, template: {'name': template(), 'data': $data}"></div> <div style="flex-grow:1" data-bind="css: {'error': valueError}, template: {name: template(), data: $data}"></div>
<span class="delete-action button-delete fontastic" style="margin-top: 5px;" <span class="delete-action button-delete fontastic" style="margin-top: 5px;"
data-bind="click: function (oCondition) { $root.removeCondition(oCondition); }">🗑</span> data-bind="click: function (oCondition) { $root.removeCondition(oCondition); }">🗑</span>
</div> </div>
@ -37,7 +37,7 @@
<div class="legend" data-i18n="POPUPS_FILTER/LEGEND_ACTIONS"></div> <div class="legend" data-i18n="POPUPS_FILTER/LEGEND_ACTIONS"></div>
<select class="span3" data-bind="options: $root.actionTypeOptions, value: actionType, optionsText: 'name', optionsValue: 'id'"></select> <select class="span3" data-bind="options: $root.actionTypeOptions, value: actionType, optionsText: 'name', optionsValue: 'id'"></select>
<div data-bind="template: {'name': actionTemplate()}, i18nUpdate: actionTemplate"></div> <div data-bind="template: {name: actionTemplate()}, i18nUpdate: actionTemplate"></div>
</form> </form>
<footer> <footer>
<button class="btn buttonSave" form="sieve-script-filter" data-icon="✔" data-i18n="GLOBAL/DONE"></button> <button class="btn buttonSave" form="sieve-script-filter" data-icon="✔" data-i18n="GLOBAL/DONE"></button>