-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathgroups.html
More file actions
executable file
·99 lines (81 loc) · 2.67 KB
/
groups.html
File metadata and controls
executable file
·99 lines (81 loc) · 2.67 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<table style="width:100%" >
<tr>
<td id="item-list" class="well">
<div id="grid-table" >
<table id="app-list" class="table table-hover table-striped">
<thead>
<tr>
<th>Name</th>
<th class="no-border"></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="group in Groups.record" id="row_{{group.id}}">
<td ng-click="showDetails()">{{group.name}}</td>
<td class="no-border">
<div class="btn-group pull-right">
<a class="btn btn-small btn-inverse" title="Delete this group" ng-click="delete()"><i class="icon-trash"></i></a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</td>
<td> </td>
<td id="app-details" class="well item-details">
<div>
<div class="detail-view"></div>
<div class="navbar">
<div class="navbar-inner">
<div class="brand">Application Groups</div>
<div class="btn-group pull-right">
<a ng-click="promptForNew()" class="btn btn-small"><i class="icon-plus-sign-alt"></i> New Group</a>
</div>
</div>
</div>
<div class="alert alert-info">
<li class="icon-info-sign"></li>
Applications can optionally be put into groups. When selecting an application to launch they will be ordered by group.
</div>
<div class="add_new">
<span class="label label-info">{{action}} a group</span>
<div id="step1">
<div class="section">
<p>Name</p>
<input ng-model="group.name" type="text" />
</div>
<div class="section">
<p>Description</p>
<input ng-model="group.description" type="text" style="width:100%;"/>
</div>
<div class="section">
<p>Assign Apps to this group.</p>
<div class="well">
<table class="table table-hover table-striped table-bordered">
<tbody>
<tr ng-repeat="app in Apps.record" id="row_{{app..id}}">
<td>
<input ng-click="addAppToGroup($event.target.checked)" name="add_to_group" ng-checked="isAppInGroup()"
type="checkbox" />
</td>
<td>{{app.name}}</td>
<td style="width:100%">{{app.description}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="button_holder">
<a id="save_button" ng-click="create()" class="btn btn-primary">
<li class="icon-save"></li>
Save</a> <a id="update_button" ng-click="save()" class="btn btn-primary">
<li class="icon-save"></li>
Update</a>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>