Prepare setting currentCity home template
parent
8357261bfb
commit
55f806fa1a
|
@ -162,3 +162,7 @@
|
|||
#city-forecast-panel td, #city-forecast-panel th {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.home-icon:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,8 @@
|
|||
<div id="city-weather-panel">
|
||||
<div class="city-name">
|
||||
{{ currentCity.name }}, {{ currentCity.sys.country }}
|
||||
<img class="home-icon" src="{{ owncloudAppImgPath }}/img/home-{{ selectedCityId == homeCity ? '' : 'no' }}pick.png" />
|
||||
<img ng-show="selectedCityId == homeCity" src="{{ owncloudAppImgPath }}/img/home-pick.png" />
|
||||
<img class="home-icon" ng-click="setHome(selectedCityId);" ng-show="selectedCityId != homeCity" src="{{ owncloudAppImgPath }}/img/home-nopick.png" />
|
||||
</div>
|
||||
<div class="city-current-temp">{{ currentCity.main.temp }}°C</div>
|
||||
<div class="city-current-pressure">Pressure: {{ currentCity.main.pressure }} hpa</div>
|
||||
|
|
Loading…
Reference in New Issue