2017-07-10 19:57:04 +03:00
|
|
|
<nga-card size="large">
|
2017-07-10 16:35:55 +03:00
|
|
|
<nga-tabset fullWidth>
|
|
|
|
|
|
|
|
|
|
<nga-tab tabTitle="Temperature">
|
|
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
<div class="slider-container">
|
|
|
|
|
<ngx-temperature-dragger [(value)]="temperature" (power)="temperatureOff = !$event"
|
2017-08-01 15:42:06 +03:00
|
|
|
[min]="12" [max]="30" [disableArcColor]="colors.layoutBg"
|
|
|
|
|
[fillColors]="colors.temperature">
|
2017-07-10 16:35:55 +03:00
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
<div class="slider-value-container" [ngClass]="{ 'off': temperatureOff }">
|
|
|
|
|
<div class="value temperature">
|
2017-07-10 16:35:55 +03:00
|
|
|
{{ temperatureOff ? '--' : (temperature | ngxRound) }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="desc">
|
|
|
|
|
Celsius
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ngx-temperature-dragger>
|
|
|
|
|
</div>
|
|
|
|
|
|
2017-07-20 18:37:54 +03:00
|
|
|
<div [(ngModel)]="temperatureMode" ngbRadioGroup data-toggle="buttons"
|
|
|
|
|
class="btn-group btn-divided-group btn-outline-divided-group btn-group-full-width">
|
2017-07-11 11:50:43 +03:00
|
|
|
<label class="btn btn-icon">
|
2017-07-10 16:35:55 +03:00
|
|
|
<input type="radio" value="cool"/><i class="ion-ios-snowy"></i>
|
|
|
|
|
</label>
|
2017-07-11 11:50:43 +03:00
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="warm"/><i class="ion-ios-sunny-outline"></i>
|
2017-07-10 16:35:55 +03:00
|
|
|
</label>
|
2017-07-11 11:50:43 +03:00
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="heat"/><i class="ion-ios-flame-outline"></i>
|
2017-07-10 16:35:55 +03:00
|
|
|
</label>
|
2017-07-11 11:50:43 +03:00
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="fan"/><i class="ion-ios-loop"></i>
|
2017-07-10 16:35:55 +03:00
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nga-tab>
|
|
|
|
|
|
|
|
|
|
<nga-tab tabTitle="Humidity">
|
|
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
<div class="slider-container">
|
|
|
|
|
<ngx-temperature-dragger [(value)]="humidity" (power)="humidityOff = !$event"
|
2017-08-01 15:42:06 +03:00
|
|
|
[min]="0" [max]="100" [disableArcColor]="colors.layoutBg"
|
|
|
|
|
[fillColors]="colors.temperature">
|
2017-07-10 16:35:55 +03:00
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
<div class="slider-value-container" [ngClass]="{ 'off': humidityOff }">
|
|
|
|
|
<div class="value humidity">
|
|
|
|
|
{{ humidityOff ? '--' : (humidity | ngxRound) }}
|
|
|
|
|
</div>
|
2017-07-13 14:40:18 +03:00
|
|
|
</div>
|
2017-07-13 16:00:49 +03:00
|
|
|
</ngx-temperature-dragger>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div [(ngModel)]="humidityMode" ngbRadioGroup class="btn-group btn-group-block btn-group-divided-hidden"
|
|
|
|
|
data-toggle="buttons">
|
|
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="cool"/><i class="ion-ios-snowy"></i>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="warm"/><i class="ion-ios-sunny-outline"></i>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="heat"/><i class="ion-ios-flame-outline"></i>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="btn btn-icon">
|
|
|
|
|
<input type="radio" value="fan"/><i class="ion-ios-loop"></i>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
2017-07-10 16:35:55 +03:00
|
|
|
</nga-tab>
|
|
|
|
|
</nga-tabset>
|
|
|
|
|
</nga-card>
|