forked from mike-jl/squeeze-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.html
38 lines (38 loc) · 1.63 KB
/
settings.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div style="padding:10px;" ng-controller="SettingsCtrl">
<div class="form-group">
<label for="lmsurl">LMS URL:</label>
<div class="input-group">
<span class="input-group-addon">http://</span>
<input ng-model="lmsurl" type="text" class="form-control" id="lmsurl">
<span class="input-group-addon">/</span>
</div>
</div>
<div class="form-group">
<label for="lmsport">LMS Port:</label>
<input ng-model="lmsport" type="text" class="form-control" id="lmsport">
</div>
<div class="form-group">
<label for="maxitems">Items per page:</label>
<input ng-model="maxitems" type="number" class="form-control" id="maxitems">
</div>
<div class="checkbox">
<label><input type="checkbox" ng-model="bubbletips">Enable Bubble-Tips in the menu</label>
</div>
<div class="checkbox">
<label><input type="checkbox" ng-model="menuArtwork">Enable Artwork in the menu</label>
</div>
<div class="checkbox">
<label><input type="checkbox" ng-model="playlistArtwork">Enable Artwork in the playlist</label>
</div>
<div class="checkbox">
<label><input type="checkbox" ng-model="logging">Enable Debug Logging</label>
</div>
<button ng-mousedown="saveSettings({lmsurl:lmsurl,lmsport:lmsport,bubbletips:bubbletips,maxitems:maxitems,menuArtwork:menuArtwork,playlistArtwork:playlistArtwork,logging:logging})" type="button" class="btn btn-success pull-right">
<span class="glyphicon glyphicon-floppy-disk"></span>
Save
</button><br><br>
<button ng-mousedown="clearSettings();" type="button" class="btn btn-danger pull-right">
<span class="glyphicon glyphicon-trash"></span>
Clear Local Storage
</button>
</div>