Finish developing new features
This commit is contained in:
@@ -35,12 +35,19 @@
|
||||
|
||||
<h4><p data-bind="html: settings.settings.plugins.enclosure.io1Label"></p></h4>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io1', 'on']), enable: settings.settings.plugins.enclosure.io1Enable && isConnected()" class="btn">Turn on</button>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io1', 'off']), enable: settings.settings.plugins.enclosure.io1Enable && isConnected()" class="btn">Turn off</button>
|
||||
|
||||
<h4><p data-bind="html: settings.settings.plugins.enclosure.io2Label"></p></h4>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io2', 'on']), enable: settings.settings.plugins.enclosure.io2Enable && isConnected()" class="btn">Turn on</button>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io2', 'off']), enable: settings.settings.plugins.enclosure.io2Enable && isConnected()" class="btn">Turn off</button>
|
||||
|
||||
<h4><p data-bind="html: settings.settings.plugins.enclosure.io3Label"></p></h4>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io3', 'on']), enable: settings.settings.plugins.enclosure.io3Enable && isConnected()" class="btn">Turn on</button>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io3', 'off']), enable: settings.settings.plugins.enclosure.io3Enable && isConnected()" class="btn">Turn off</button>
|
||||
|
||||
<h4><p data-bind="html: settings.settings.plugins.enclosure.io4Label"></p></h4>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io4', 'on']), enable: settings.settings.plugins.enclosure.io4Enable && isConnected()" class="btn">Turn on</button>
|
||||
<button type="submit" data-bind="click: handleIO.bind($data, ['io4', 'off']), enable: settings.settings.plugins.enclosure.io4Enable && isConnected()" class="btn">Turn off</button>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user