aboutsummaryrefslogtreecommitdiffstats
path: root/dcae_dmaapbc_webapp/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html
diff options
context:
space:
mode:
Diffstat (limited to 'dcae_dmaapbc_webapp/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html')
-rw-r--r--dcae_dmaapbc_webapp/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html122
1 files changed, 122 insertions, 0 deletions
diff --git a/dcae_dmaapbc_webapp/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html b/dcae_dmaapbc_webapp/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html
new file mode 100644
index 0000000..80fe26e
--- /dev/null
+++ b/dcae_dmaapbc_webapp/src/main/webapp/app/dbcapp/datarouter/dr_feed_pub_sub_list_popup_template.html
@@ -0,0 +1,122 @@
+<!--
+ ================================================================================
+ DCAE DMaaP Bus Controller Web Application
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ================================================================================
+ -->
+<script type="text/ng-template" id="feed_pub_sub_list_popup.html">
+ <div class="modal__informative font-showcase" style="width:900px;">
+
+ <div class="modal__header">
+ <h2 class="font-showcase-font-name" style="width: 900px;">{{dbcapp.label}}</h2>
+ </div>
+ <div class="divider-container">
+ <hr>
+ </div>
+ <div class="modal__content">
+ <div class="fn-ebz-container">
+
+ <h4>Publishers</h4>
+
+ <table att-table
+ id="pubs-table"
+ table-data="dbcapp.showFeed.pubs"
+ search-string="dbcapp.searchString"
+ view-per-page="dbcapp.viewPerPageIgnored"
+ current-page="dbcapp.currentPageIgnored"
+ total-page="dbcapp.totalPageIgnored">
+
+ <thead att-table-row type="header">
+ <tr>
+ <th att-table-header sortable="false" key="pubId">Pub ID</th>
+ <th att-table-header sortable="false" key="dcaeLocationName">DCAE Location Name</th>
+ <th att-table-header sortable="false" key="status">Status</th>
+ <th att-table-header sortable="false" key="username">User Name</th>
+ </tr>
+ </thead>
+ <tbody att-table-row type="body" row-repeat="rowData in dbcapp.showFeed.pubs">
+ <tr>
+ <td att-table-body
+ ng-bind="rowData.pubId"/>
+ <td att-table-body
+ ng-bind="rowData.dcaeLocationName"/>
+ <td att-table-body
+ ng-bind="rowData.status"/>
+ <td att-table-body
+ ng-bind="rowData.username"
+ ng-click="dbcapp.editPubModalPopup(rowData)"/>
+ </tr>
+ </tbody>
+ </table>
+
+ <h4>Subscribers</h4>
+
+ <table att-table
+ id="subs-table"
+ table-data="dbcapp.showFeed.subs"
+ search-string="dbcapp.searchString"
+ view-per-page="dbcapp.viewPerPageIgnored"
+ current-page="dbcapp.currentPageIgnored"
+ total-page="dbcapp.totalPageIgnored">
+
+ <thead att-table-row type="header">
+ <tr>
+ <th att-table-header sortable="false">Sub ID</th>
+ <th att-table-header sortable="false">DCAE Location Name</th>
+ <th att-table-header sortable="false">Delivery URL</th>
+ <th att-table-header sortable="false">Log URL</th>
+ <th att-table-header sortable="false">Owner</th>
+ <th att-table-header sortable="false">Status</th>
+ <th att-table-header sortable="false">Susp</th>
+ <th att-table-header sortable="false">User Name</th>
+ </tr>
+ </thead>
+ <tbody att-table-row type="body" row-repeat="rowData in dbcapp.showFeed.subs">
+ <tr>
+ <td att-table-body
+ ng-bind="rowData.subId"/>
+ <td att-table-body
+ ng-bind="rowData.dcaeLocationName"/>
+ <td att-table-body
+ ng-bind="rowData.deliveryURL"/>
+ <td att-table-body
+ ng-bind="rowData.logURL"/>
+ <td att-table-body
+ ng-bind="rowData.owner"/>
+ <td att-table-body
+ ng-bind="rowData.status"/>
+ <td att-table-body>
+ {{rowData.suspended | dbcYesNoFilter}}
+ </td>
+ <td att-table-body
+ ng-bind="rowData.username"/>
+ </tr>
+ </tbody>
+ </table>
+
+ </div>
+
+ <div class="modal__footer">
+ <button class="button button--primary button--small"
+ href="javascript:void(0)"
+ ng-click="dbcapp.close()">
+ Close
+ </button>
+ </div>
+
+ </div>
+
+</script>