Use standard img directory and fix app-icon
|
@ -25,7 +25,7 @@ if (class_exists('\OCP\AppFramework\App')) {
|
||||||
|
|
||||||
// the icon that will be shown in the navigation
|
// the icon that will be shown in the navigation
|
||||||
// this file needs to exist in img/
|
// this file needs to exist in img/
|
||||||
'icon' => \OCP\Util::imagePath('weather', 'images/app-icon.png'),
|
'icon' => \OCP\Util::imagePath('weather', 'app-icon.png'),
|
||||||
|
|
||||||
// the title of your application. This will be used in the
|
// the title of your application. This will be used in the
|
||||||
// navigation or on the settings page of your app
|
// navigation or on the settings page of your app
|
||||||
|
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.9 MiB |
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 2.0 MiB After Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
|
@ -30,7 +30,7 @@
|
||||||
<div id="city-right" ng-show="cityLoadError != ''">
|
<div id="city-right" ng-show="cityLoadError != ''">
|
||||||
<span class="city-load-error">{{ cityLoadError }}</span>
|
<span class="city-load-error">{{ cityLoadError }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="city-right" ng-show="currentCity != null" style="background-image: url('/apps/weather/images/{{ currentCity.image }}');">
|
<div id="city-right" ng-show="currentCity != null" style="background-image: url('/apps/weather/img/{{ currentCity.image }}');">
|
||||||
<div id="city-weather-panel">
|
<div id="city-weather-panel">
|
||||||
<div class="city-name">{{ currentCity.name }}, {{ currentCity.sys.country }}</div>
|
<div class="city-name">{{ currentCity.name }}, {{ currentCity.sys.country }}</div>
|
||||||
<div class="city-current-temp">{{ currentCity.main.temp }}°C</div>
|
<div class="city-current-temp">{{ currentCity.main.temp }}°C</div>
|
||||||
|
|