summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-16 12:24:05 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-16 12:24:05 -0400
commit5bfd723958f58444142cdd0bc3f6bae3f82a2aec (patch)
treed167b95053b4afacc8f58e7de0c5aa0662d3f4c8 /www/templates
parenteff7486a591e1ec96dbf8bddb0e741a77af50d84 (diff)
resolve CSS/other compliancy notes
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/monitors-modal.html2
-rw-r--r--www/templates/montage.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html
index 02b46a37..86407756 100644
--- a/www/templates/monitors-modal.html
+++ b/www/templates/monitors-modal.html
@@ -202,6 +202,6 @@
</ul>
</div>
<div ng-if="!showPTZ" class="monitor-modal-text">{{monitorName}} &nbsp;
- <span style="{{stateColor()}}">{{monStatus}}&nbsp;</span>
+ <span ng-style="{'background-color':stateColor()}">&nbsp;{{monStatus}}&nbsp;</span>
</div>
</div>
diff --git a/www/templates/montage.html b/www/templates/montage.html
index 90a3bc23..5952ad9e 100644
--- a/www/templates/montage.html
+++ b/www/templates/montage.html
@@ -118,7 +118,7 @@
<figcaption id="slowpulse" ng-class="monitor.Monitor.isAlarmed==true?'alarmed-figcaption animated infinite flash':'normal-figcaption'" >&nbsp;
<span ng-if="monitor.Monitor.isStamp && isDragabillyOn"><i class="animated infinite flash ion-pin"></i>&nbsp;</span><i class="ion-ios-videocam"></i>&nbsp;
- {{monitor.Monitor.Name}}&nbsp;<i ng-if="$root.runMode!='lowbw'" style="{{monitor.Monitor.alarmState}}" class="ion-record"></i>&nbsp;
+ {{monitor.Monitor.Name}}&nbsp;<i ng-if="$root.runMode!='lowbw'" ng-style="{'color':monitor.Monitor.alarmState}" class="ion-record"></i>&nbsp;
</figcaption>