-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Changed - Improved settings layout to reduce clutter.
- Loading branch information
Showing
7 changed files
with
152 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#navbar_plugin_tasmota > a > i.on { | ||
color: #00FF00 !important; | ||
} | ||
|
||
#navbar_plugin_tasmota > a > i.off { | ||
color: #FF0000 !important; | ||
} | ||
|
||
#navbar_plugin_tasmota > a > i.unknown { | ||
color: #808080 !important; | ||
} | ||
|
||
#TasmotaEditor table th, #TasmotaEditor table td { | ||
border-top: none; | ||
vertical-align: top; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
<!-- ko foreach: settings.settings.plugins.tasmota.arrSmartplugs --> | ||
<!-- ko if: $data.ip().length > 0 --> | ||
<a class="pull-right" href=#" data-bind="click: $root.toggleRelay,visible: $root.loginState.loggedIn(),style: {color: $data.btnColor()}, attr: {title: $data.label()}" style="display: none;float: left;"><i class="icon" data-bind="css: $data.icon()"></i></a> | ||
<div data-bind="attr: {id: 'tasmota_poweroff_confirmation_dialog_' + $data.ip() + '_' + $data.idx()}" class="modal hide fade"> | ||
<a class="pull-right" href=#" data-bind="click: $root.toggleRelay,visible: $root.loginState.loggedIn(),attr: {title: $data.label}" style="display: none;float: left;"><i class="icon" data-bind="css: [currentState(), icon(),($root.processing().includes(ip()) ? 'icon-spin' : '')].join(' ')"></i></a> | ||
<!-- /ko --> | ||
<div id="TasmotaWarning" data-bind="with: selectedPlug" class="modal hide fade"> | ||
<div class="modal-header"> | ||
<a href="#" class="close" data-dismiss="modal" aria-hidden="true">×</a> | ||
<h3>OctoPrint-Tasmota</h3> | ||
</div> | ||
<div class="modal-body"> | ||
<p> | ||
<!--ko text: $data.ip()--><!--/ko--> is currently <!--ko text: $data.currentState()--><!--/ko-->. | ||
<!--ko text: ip()--><!--/ko--> is currently <!--ko text: currentState()--><!--/ko-->. | ||
</p> | ||
<p> | ||
{{ _('Are you sure you want to proceed?') }} | ||
</p> | ||
</div> | ||
<div class="modal-footer"> | ||
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true">{{ _('Cancel') }}</a> | ||
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true" data-bind="click: $root.cancelClick">{{ _('Cancel') }}</a> | ||
<a href="#" class="btn btn-danger" data-bind="click: $root.turnOff">{{ _('Proceed') }}</a> | ||
</div> | ||
</div> | ||
<!-- /ko --> | ||
<!-- /ko --> |
Oops, something went wrong.