-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
71 lines (64 loc) · 3.16 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html ng-app ng-csp>
<head>
<title>Options</title>
<link rel="stylesheet" href="css/options.css" />
</head>
<body ng-controller="OptionsController">
<h1>Trello Modifier</h1>
<hr>
<table>
<thead>
<tr>
<th> </th>
<th>Board Id</th>
<th>Description</th>
<th>Overage Color</th>
<th>Warning Color</th>
<th>Message Color</th>
<th>Message</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr ng-repeat="board in boards">
<td>
<label for="{{board.id}}_enabled" class="slideThree">
<input id="{{board.id}}_enabled" type="checkbox" ng-model="board.enabled" />
<b></b>
</label>
</td>
<td><input type="text" ng-model="board.id" /></td>
<td><input type="text" ng-model="board.description" size="30" /></td>
<td><input type="text" ng-model="board.overageColor" /><b style="background-color: {{board.overageColor}};"></b></td>
<td><input type="text" ng-model="board.warningColor" /><b style="background-color: {{board.warningColor}};"></b></td>
<td><input type="text" ng-model="board.messageColor" /><b style="background-color: {{board.messageColor}};"></b></td>
<td><input type="text" ng-model="board.message" size="60" /></td>
<td><a ng-click="remove(board.id)">−</a></td>
</tr>
</tbody>
<tfoot>
<tr>
<td>
<label for="newBoard_enabled" class="slideThree">
<input id="newBoard_enabled" type="checkbox" ng-model="newBoard.enabled" />
<b></b>
</label>
</td>
<td><input type="text" ng-model="newBoard.id" /></td>
<td><input type="text" ng-model="newBoard.description" /></td>
<td><input type="text" ng-model="newBoard.overageColor" /><b style="background-color: {{newBoard.overageColor}};"></b></td>
<td><input type="text" ng-model="newBoard.warningColor" /><b style="background-color: {{newBoard.warningColor}};"></b></td>
<td><input type="text" ng-model="newBoard.messageColor" /><b style="background-color: {{newBoard.messageColor}};"></b></td>
<td><input type="text" ng-model="newBoard.message" /></td>
<td><a ng-click="add()">+</a></td>
</tr>
</tfoot>
</table>
<button ng-click="save()" disabled="{{saveButton.disabled}}">{{saveButton.text}}</button>
<div class="copy">Created by Nathan Edwards</div>
</body>
<script src="js/angular.min.js"></script>
<script src="js/jquery.js"></script>
<script src="js/options.js"></script>
</html>