diff --git a/web/zm_html_styles.css b/web/zm_html_styles.css
index c38e3936f..92814a85e 100644
--- a/web/zm_html_styles.css
+++ b/web/zm_html_styles.css
@@ -120,6 +120,9 @@ a:hover {
input[disabled] {
color: #888888;
}
+input[set] {
+ border: 1px #7F7FB2 dashed;
+}
.textsmall {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
diff --git a/web/zm_html_view_devices.php b/web/zm_html_view_devices.php
index a66355770..070e8bd2e 100644
--- a/web/zm_html_view_devices.php
+++ b/web/zm_html_view_devices.php
@@ -124,8 +124,8 @@ foreach( $devices as $device )
?>
= makeLink( "javascript:editDevice( ".$device['Id']." )", ''.$device['Name'].' ('.$device['KeyString'].')', canEdit( 'Devices' ) ) ?> |
-> |
-> |
+> |
+> |
disabled> |
= substr( $device['Name'], 0, 16 ) ?> |
-= makeLink( $PHP_SELF."?view=".$view."&action=device&key=".$device['KeyString']."&command=on", $zmSlangOn, $device['Status'] != 'ON' && canEdit( 'Devices' ) ) ?> |
-= makeLink( $PHP_SELF."?view=".$view."&action=device&key=".$device['KeyString']."&command=off", $zmSlangOff, $device['Status'] != 'OFF' && canEdit( 'Devices' ) ) ?> |
+= makeLink( $PHP_SELF."?view=".$view."&action=device&key=".$device['KeyString']."&command=on", $zmSlangOn, canEdit('Devices') ) ?> |
+= makeLink( $PHP_SELF."?view=".$view."&action=device&key=".$device['KeyString']."&command=off", $zmSlangOff, canEdit('Devices') ) ?> |