kopia lustrzana https://github.com/cyoung/stratux
Add colors for wind, taf and pirep weather reports
rodzic
54204bab0d
commit
e742ff0712
|
@ -131,6 +131,21 @@
|
|||
content: "\f1d9";
|
||||
}
|
||||
|
||||
.report_TAF {
|
||||
background-color: cornsilk;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.report_PIREP {
|
||||
background-color: gainsboro;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.report_WINDS {
|
||||
background-color: lavender;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.flight_condition_VFR {
|
||||
background-color: forestgreen;
|
||||
color: white;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<div class="separator"></div>
|
||||
<div class="col-sm-12">
|
||||
<span class="col-xs-3"><strong>{{weather.location}}</strong></span>
|
||||
<span ng-class="weather.flight_condition ? 'col-xs-3 label label-success flight_condition_{{weather.flight_condition}}' : 'col-xs-3'">{{weather.type}}</span>
|
||||
<span ng-class="weather.flight_condition ? 'col-xs-3 label label-success flight_condition_{{weather.flight_condition}}' : 'col-xs-3 label label-success report_{{weather.type}}'"><strong>{{weather.type}}</strong></span>
|
||||
<span class="col-xs-6 text-right">{{weather.time}}</span>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
|
@ -62,7 +62,7 @@
|
|||
<div class="separator"></div>
|
||||
<div class="col-sm-12">
|
||||
<span class="col-xs-3"><strong>{{weather.location}}</strong></span>
|
||||
<span ng-class="weather.flight_condition ? 'col-xs-3 label label-success flight_condition_{{weather.flight_condition}}' : 'col-xs-3'">{{weather.type}}</span>
|
||||
<span ng-class="weather.flight_condition ? 'col-xs-3 label label-success flight_condition_{{weather.flight_condition}}' : 'col-xs-3 label label-success report_{{weather.type}}'">{{weather.type}}</span>
|
||||
<span class="col-xs-6 text-right">{{weather.time}}</span>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
|
|
Ładowanie…
Reference in New Issue