summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
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>