Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/weather.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-10-25 12:57:07 +0300
committerLoic Blot <loic.blot@unix-experience.fr>2015-10-25 12:57:13 +0300
commite863dd3dba6d0796e9cd482eaa21172cff319559 (patch)
treea3da2e2ca1b65cb66ad64afdc64bf57bc1d4f43d /templates
parentb3a2f9bcc2432dcc533b3ff0ff37e4ad67e9be09 (diff)
Add an option menu to set OpenWeatherMap API key to use the app properly
Also upgrade Angular JS from 1.3.16 to 1.4.6
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/main.php b/templates/main.php
index 6e11edf..34a4470 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -26,6 +26,15 @@
</div>
</li>
</ul>
+ <div id="app-settings" class="ng-scope">
+ <div id="app-settings-header">
+ <button name="app settings" class="settings-button" data-apps-slide-toggle="#app-settings-content">Settings</button>
+ </div>
+ <div style="display: none;" id="app-settings-content">
+ <h2>API Key</h2>
+ <input type="text" name="apikey" ng-change="modifyAPIKey()" ng-model="apiKey" ng-model-options="{debounce:1000}" />
+ </div>
+ </div>
</div>
<div id="city-right" ng-show="cityLoadError != ''">
<span class="city-load-error">{{ cityLoadError }}</span>