summaryrefslogtreecommitdiff
path: root/src/templates/settings.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-09-08 16:34:11 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-09-08 16:34:11 +0200
commita767c17582caf9df45df587451773ee6f7bc2e49 (patch)
treee043b069a77ac95761b14e3eb44f47222a1e7fda /src/templates/settings.html
parente9914f533557c6ba4d34d52125049d60f040e856 (diff)
downloadbeer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.tar.gz
beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.tar.bz2
beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.tar.xz
beer-duke-a767c17582caf9df45df587451773ee6f7bc2e49.zip
wip
Diffstat (limited to 'src/templates/settings.html')
-rw-r--r--src/templates/settings.html30
1 files changed, 19 insertions, 11 deletions
diff --git a/src/templates/settings.html b/src/templates/settings.html
index 5147065..f118e47 100644
--- a/src/templates/settings.html
+++ b/src/templates/settings.html
@@ -1,14 +1,22 @@
-<div>
+<div ng-init="clientId = ctrl.settings.clientId(); showSettings = ctrl.settings.showSettings()">
<h2>Settings</h2>
- <a href="#/">back</a>
- <label>
- showSettings
- <input type="checkbox" ng-model="ctrl.settings.showSettings">
- </label>
-
- <label>
- clientId
- <input type="text" ng-model="ctrl.settings.clientId">
- </label>
+
+ <p>
+ <button ng-click="ctrl.save()">back</button>
+ </p>
+
+ <p>
+ <label>
+ showSettings
+ <input type="checkbox" ng-model="ctrl.showSettings">
+ </label>
+ </p>
+
+ <p>
+ <label>
+ clientId
+ <input type="text" ng-model="ctrl.clientId">
+ </label>
+ </p>
</div>