-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
52 lines (41 loc) · 1.28 KB
/
options.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
46
47
48
49
50
51
52
<html ng-app="SteamApp">
<head>
<title>Frameless Window</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript" src="optionsController.js"></script>
</head>
<body>
<div id="content" ng-controller="OptionsController">
<div id="inner-content">
Add account:<br/>
<label for="name">Name</label>
<input type="text" id="name" ng-model="name"><br />
<label for="secret">Secret</lavel>
<input type="text" id="secret" ng-model="secret">
<button id="addAccount" ng-click="addAccount()">Add</button>
<button id="Update" ng-click="update()">Update</button>
<br/>
<table>
<thead>
<tr>
<th>
Name
</th>
<th>
Secret
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="account in accounts">
<td>{{ account.name }}</td>
<td>{{ account.secret }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>