2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
21 <div ng-controller="aaiSubscriberController" ng-cloak>
24 <div class="statusLine" ng-class="{true:'aaiVisible', false:'aaiHidden'}[isSpinnerVisible]">
25 <img src="app/vid/images/spinner.gif">
27 <label>Status:</label><span class="status">{{status}}</span>
30 <h1 class="heading1"><center>Subscriber Details for {{selectedSubscriber}} ({{selectedSubscriberName}})</center></h1>
32 <div class="fn-ebz-container">
34 <input class="fn-ebz-text" type="text" ng-model="searchString" size="20" style="width: 250px;">
36 <div ng-init="getSubDetails();">
38 <div style="margin-top: 30px">
39 <table att-table width="100%" table-data="displayData" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage" type="header">
43 <th att-table-header sortable="true" key="viewSubDetails">View/Edit</th>
44 <th att-table-header sortable="true" key="globalCustomerId">Global Customer ID</th>
45 <th att-table-header sortable="true" key="subscriberName">Subscriber Name</th>
46 <th att-table-header sortable="true" key="serviceType">Service Type</th>
47 <th att-table-header default-sort="A" sortable="true" key="serviceInstanceName">Service Instance Name</th>
48 <th att-table-header sortable="true" key="serviceInstanceId">Service Instance ID</th>
51 <tbody att-table-row type="body" row-repeat="disData in displayData">
55 <a alt="View/Edit" ng-click="getAsdcModel(disData);"> View/Edit </a>
58 <!-- <td att-table-body ><button type=button ng-click="getAsdcModel(disData);" att-button btn-type="primary" size="small">View/Edit</button></td> --->
59 <td att-table-body ng-bind="disData['globalCustomerId']"></td>
60 <td att-table-body ng-bind="disData['subscriberName']"></td>
61 <td att-table-body ng-bind="disData['serviceType']"></td>
62 <td att-table-body ng-bind="disData['serviceInstanceName']"></td>
63 <td att-table-body ng-bind="disData['serviceInstanceId']"></td>
69 <td width='33%' valign='middle'>
70 <span style="cursor: pointer" ng-if="currentPage>1"><button att-button size="small" ng-click="prevPage();">< prev page</button></span>
72 <td width='33%' valign='middle'>
74 <input class="fn-ebz-text" type="text" ng-model="currentPage" size="5" style="width: 47px;">
75 Results per page: <span style="cursor: pointer" ng-click="viewPerPage = 10" ng-style="viewPerPage === 10 && {'textDecoration':'underline','text-color':'black'}">10</span>
76 | <span style="cursor: pointer" ng-click="viewPerPage = 25" ng-style="viewPerPage === 25 && {'textDecoration':'underline','text-color':'black'}">25</span>
77 | <span style="cursor: pointer" ng-click="viewPerPage = 50" ng-style="viewPerPage === 50 && {'textDecoration':'underline','text-color':'black'}">50</span>
79 <td width='34%' align='right' valign='middle'>
80 <span style="cursor: pointer" ng-if="currentPage<totalPage"><button att-button ng-click="nextPage();">next page ></button></span>