summaryrefslogtreecommitdiffstats
path: root/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html
blob: 091c75181ff2c1a564c575dab4f46a06756c8332 (plain)
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
<script type="text/ng-template" id="feed_pub_sub_list_popup.html">

	<div class="b2b-modal-header ng-scope">
		<h2 id="myModalLabel" modal-title="">{{dbcapp.label}}</h2>
		<div class="corner-button in">
			<button type="button" class="close" aria-label="Close"
				ng-click="$dismiss('cancel')"></button>
		</div>
	</div>

	<div class="b2b-modal-body ng-scope ng-isolate-scope" tabindex="0"
		role="region" aria-label="Modal body content">

		<h4>Publishers</h4>
		
		<table
			id="pubs-table"
			table-data="dbcapp.showFeed.pubs" 
    		current-page="dbcapp.currentPageIgnored"
    		next-sort="dbcapp.nextSortIgnored">

			<thead type="header">
				<tr>
					<th sortable="false" key="pubId">Pub ID</th>
					<th sortable="false" key="dcaeLocationName">DCAE Location Name</th>
					<th sortable="false" key="status">Status</th>
					<th sortable="false" key="username">User Name</th>
				</tr>
			</thead>
			<tbody type="body" ng-repeat="rowData in dbcapp.showFeed.pubs">
				<tr>
					<td ng-bind="rowData.pubId"/>
					<td ng-bind="rowData.dcaeLocationName"/>
					<td ng-bind="rowData.status"/>
					<td ng-bind="rowData.username"
						ng-click="dbcapp.editPubModalPopup(rowData)"/>
				</tr>
			</tbody>
		</table>
		
		<h4>Subscribers</h4>
		
		<table
			id="subs-table"
			table-data="dbcapp.showFeed.subs" 
    		current-page="dbcapp.currentPageIgnored"
    		next-sort="dbcapp.nextSortIgnored">

			<thead type="header">
				<tr>
					<th sortable="false">Sub ID</th>
					<th sortable="false">DCAE Location Name</th>
					<th sortable="false">Delivery URL</th>
					<th sortable="false">Log URL</th>
					<th sortable="false">Owner</th>
					<th sortable="false">Status</th>
					<th sortable="false">Susp</th>
					<th sortable="false">User Name</th>
				</tr>
			</thead>
			<tbody type="body" ng-repeat="rowData in dbcapp.showFeed.subs">
				<tr>
					<td ng-bind="rowData.subId"/>
					<td ng-bind="rowData.dcaeLocationName"/>
					<td ng-bind="rowData.deliveryURL"/>
					<td ng-bind="rowData.logURL"/>
					<td ng-bind="rowData.owner"/>
					<td ng-bind="rowData.status"/>
					<td>
						{{rowData.suspended | dbcYesNoFilter}}
					</td>
					<td ng-bind="rowData.username"/>
				</tr>
			</tbody>
		</table>
		
	</div>
		
	<div class="b2b-modal-footer ng-scope ng-isolate-scope">
		<div class="cta-button-group in">
			<button class="btn btn-alt btn-small" type="button"
				ng-click="$dismiss('cancel')">
				Close
			</button>
		</div>
	</div>
	
</script>