-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.html
45 lines (44 loc) · 1.93 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
39
40
41
42
43
44
45
<!doctype html>
<html>
<head>
<title>Settings</title>
<link href="css/settings.css" rel="stylesheet" type="text/css">
<script src="js/knockout.js" type="text/javascript"></script>
<script src="js/knockout-mapping.js" type="text/javascript"></script>
<script src="js/blabr.js" type="text/javascript"></script>
<script src="js/settings.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
<div class="information success" data-bind="css: { active: settingsSaved }">Settings saved</div>
<h1>Settings</h1>
<p>You can choose where you would like field data to be displayed.</p>
<div class="options">
<ul>
<li><a id="console" data-bind="click: selectConsole, css: { selected: display() === 'CONSOLE' }">Display in console</a></li>
<li><a id="page" data-bind="click: selectPage, css: { selected: display() === 'PAGE' }">Display in page</a></li>
</ul>
</div>
<div class="clear"></div>
<div class="row">
<h2>Keyboard Shortcuts</h2>
<div data-bind="template: { name: 'shortcuts-template', foreach: shortcuts, if: shortcuts }"></div>
<script type="text/html" id="shortcuts-template">
<div class="command">
<div class="label" data-bind="text: description"></div>
<!-- ko if: shortcut -->
<div class="shortcut" data-bind="text: shortcut"></div>
<!-- /ko -->
<!-- ko if: shortcut === "" -->
<div class="shortcut" >Unassigned</div>
<!-- /ko -->
<div class="clear"></div>
</div>
</script>
</div>
<div class="row">
<button id="save" data-bind="click: saveSettings">Save</button>
</div>
</div>
</body>
</html>