<August 20, 2017>
12 |The openHAB community makes available all content in this plug-in ("Content"). Unless otherwise 15 | indicated below, the Content is provided to you under the terms and conditions of the 16 | Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available 17 | at http://www.eclipse.org/legal/epl-v10.html. 18 | For purposes of the EPL, "Program" will mean the Content.
19 | 20 |If you did not receive this Content directly from the openHAB community, the Content is 21 | being redistributed by another party ("Redistributor") and different terms and conditions may 22 | apply to your use of any object code in the Content. Check the Redistributor's license that was 23 | provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise 24 | indicated below, the terms and conditions of the EPL still apply to any source code in the Content 25 | and such source code may be obtained at openhab.org.
26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = META-INF/,\ 2 | .,\ 3 | about.html,\ 4 | ESH-INF/,\ 5 | OSGI-INF/,\ 6 | web/ 7 | output = target/classes/ 8 | source.. = src/main/java/ 9 | bin.excludes = web/bower.json,\ 10 | web/bower_components/,\ 11 | web/node_modules/,\ 12 | web/gulpfile.js,\ 13 | web/.eslintrc.yaml,\ 14 | web/package.json 15 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 |{{ node.name || callbacks.getDefaultNodeLabel(node) }}
7 | 8 |When {{module.label}}
20 |If {{module.label}}
42 |{{module.label}}
65 |Check that the experimental rule engine is enabled.
8 | 9 |Try again 10 |
{{ngModel | json }}' 61 | }; 62 | return directive; 63 | 64 | function link(scope, element, attrs) { 65 | scope.daysOfWeek = { 66 | 'MON': { label: 'Mon' }, 67 | 'TUE': { label: 'Tue' }, 68 | 'WED': { label: 'Wed' }, 69 | 'THU': { label: 'Thu' }, 70 | 'FRI': { label: 'Fri' }, 71 | 'SAT': { label: 'Sat' }, 72 | 'SUN': { label: 'Sun' } 73 | }; 74 | 75 | if (scope.ngModel) { 76 | angular.forEach(scope.daysOfWeek, function (day, val) { 77 | if (scope.ngModel.indexOf(val) >= 0) { 78 | day.selected = true; 79 | } 80 | }); 81 | } 82 | 83 | scope.$watch('daysOfWeek', function (dow) { 84 | var model = []; 85 | angular.forEach(dow, function (day, val) { 86 | if (day.selected) { 87 | model.push(val); 88 | } 89 | scope.ngModel = model; 90 | }); 91 | }, true); 92 | 93 | } 94 | } 95 | })(); -------------------------------------------------------------------------------- /web/app/shared/config-form.tpl.html: -------------------------------------------------------------------------------- 1 |