- {{:helper.link('On', 'power-off', {'critOn' : 1}, data.crit ? 'selected' : null)}}
- {{:helper.link('Off', 'close', {'critOff' : 1}, data.crit ? null : 'selected')}}
+
+
Health Announcer Threshold:
+ {{:helper.link('-', null, {'health_adj' : -100}, (data.healthAlarm >= 0) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'health_adj' : -10}, (data.healthAlarm >= -90) ? null : 'disabled')}}
+ {{:helper.link('-', null, {'health_adj' : -1}, (data.healthAlarm > -100) ? null : 'disabled')}}
+
+ {{if data.healthAlarm >= 100}}
+ {{:helper.displayBar(data.healthAlarm, 0, 100, 'good')}}
+ {{else data.healthAlarm > 0}}
+ {{:helper.displayBar(data.healthAlarm, 0, 100, 'average')}}
+ {{else data.healthAlarm >= -100}}
+ {{:helper.displayBar(data.healthAlarm, 0, -100, 'average alignRight')}}
+ {{else}}
+ {{:helper.displayBar(data.healthAlarm, 0, -100, 'bad alignRight')}}
+ {{/if}}
+
+ {{:helper.link('+', null, {'health_adj' : 1}, (data.healthAlarm < 100) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'health_adj' : 10}, (data.healthAlarm <= 90) ? null : 'disabled')}}
+ {{:helper.link('+', null, {'health_adj' : 100}, (data.healthAlarm <= 0) ? null : 'disabled')}}
+
{{: data.healthAlarm }}
+
+ Oxygen Alarm:
+
+
+ {{:helper.link('On', 'power-off', {'oxyOn' : 1}, data.oxy ? 'selected' : null)}}
+ {{:helper.link('Off', 'close', {'oxyOff' : 1}, data.oxy ? null : 'selected')}}
+
+
+
+ Critical Alert:
+
+
+ {{:helper.link('On', 'power-off', {'critOn' : 1}, data.crit ? 'selected' : null)}}
+ {{:helper.link('Off', 'close', {'critOff' : 1}, data.crit ? null : 'selected')}}
+
+