blob: 6ae28db9d82af9750bb14de9f8b4439d1d60bd03 [file] [log] [blame]
Matteo Scandolo5bb16682016-03-01 17:08:45 -08001<div class="modal fade" ng-class="{in: vm.open}" tabindex="-1" role="dialog">
2 <div class="modal-dialog modal-sm">
3 <div class="modal-content">
4 <div class="modal-header">
5 <button ng-click="vm.close()" type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
6 <h4 class="modal-title">Change subscriber status:</h4>
7 </div>
8 <div class="modal-body">
9 <div class="row">
10 <div class="col-xs-6">
11 <a ng-click="vm.setStatus('enabled')"
12 class="btn btn-block"
13 ng-class="{'btn-primary': vm.subscriber.status === 'enabled' ,'btn-default': vm.subscriber.status !== 'enabled'}"
14 >Enabled</a>
15 </div>
16 <div class="col-xs-6">
17 <a ng-click="vm.setStatus('suspended')"
18 class="btn btn-block"
19 ng-class="{'btn-primary': vm.subscriber.status === 'suspended' ,'btn-default': vm.subscriber.status !== 'suspended'}"
20 >Suspended</a>
21 </div>
22 </div>
23 <div class="row" style="margin-top: 20px">
24 <div class="col-xs-6">
25 <a ng-click="vm.setStatus('delinquent')"
26 class="btn btn-block"
27 ng-class="{'btn-primary': vm.subscriber.status === 'delinquent' ,'btn-default': vm.subscriber.status !== 'delinquent'}"
28 >Delinquent <br> payment</a>
29 </div>
30 <div class="col-xs-6">
31 <a ng-click="vm.setStatus('copyright')"
32 class="btn btn-block"
33 ng-class="{'btn-primary': vm.subscriber.status === 'copyright' ,'btn-default': vm.subscriber.status !== 'copyright'}"
34 >Copyright <br> violation</a>
35 </div>
36 </div>
37 </div>
38 <div class="modal-footer">
39 <button ng-click="vm.close()" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
40 </div>
41 </div><!-- /.modal-content -->
42 </div><!-- /.modal-dialog -->
43</div><!-- /.modal -->