-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubmission.html
49 lines (44 loc) · 1.75 KB
/
submission.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
<br />
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6 well">
<h2>Submitting {{person.name}}'s List</h2>
<table class="table table-striped">
<thead>
<tr>
<th>Item</th>
<th>Status</th>
<th>Response</th>
</tr>
</thead>
<tbody ng-repeat="submitted in submissions">
<tr ng-show="!submitted.hide">
<td ng-show="submitted.status === 'pending'" class="black">
<i class="fa fa-cloud-upload" aria-hidden="true"></i>
</td>
<td ng-show="submitted.status === 'uploading'" class="black">
<i class="fa fa-refresh fa-spin fa-fw"></i>
</td>
<td ng-show="submitted.status === 'done'" class="black">
<i class="fa fa-check-square-o" aria-hidden="true"></i>
</td>
<td>
<span ng-bind="submitted.item" class="{{(submitted.status === 'done') ? 'green' : ''}}"></span>
</td>
<td>
<span ng-bind="getResponse(submitted)"></span>
</td>
</tr>
</tbody>
</table>
<div class="col-md-12" align="center">
<i class="fa fa-gift {{giftsize}}" aria-hidden="true"></i>
</div>
<div class="form-group" ng-show="false">
<button class="btn btn-primary"
style="float:right;"
ng-click="submitRequest()">Request from Santa</button>
</div>
</div>
<div class="col-md-3"></div>
</div>