Use standard img directory and fix app-icon

master
Loic Blot 2015-07-11 16:43:57 +00:00
parent a7454c6394
commit 350711f80a
10 changed files with 2 additions and 2 deletions

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

View File

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

@ -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>