UI adaptation for supporting ONAP portal SDK
[validation.git] / ui / src / main / webapp / app / fusion / scripts / DS2-view-models / ds2-profile / profile_searchDS2.html
1 <div id="page-content">
2  <div>
3   <h1 class="heading-page" id="profileSearch">Profile Search</h1>
4   <div ng-show="showLoader" class="span loader-container">
5    <i class="icon-primary-spinner" role="img"
6     aria-label="Please wait while we load your content"></i>
7   </div>
8
9   <div ng-hide="showLoader">
10    <table class="striped" table-data="tableData">
11     <thead>
12      <tr>
13       <th>User ID</th>
14       <th>Last Name</th>
15       <th>First Name</th>
16       <th>Email</th>
17       <th>User ID</th>
18       <th>Manager User ID</th>
19       <th>Edit</th>
20       <th ng-show="(isAppCentralized=='false')">Active?</th>
21      </tr>
22     </thead>
23     <tbody type="body" ng-repeat="rowData in tableData">
24      <tr>
25       <td>{{rowData.id}}</td>
26       <td>{{rowData.lastName}}</td>
27       <td>{{rowData.firstName}}</td>
28       <td>{{rowData.email}}</td>
29       <td>{{rowData.orgUserId}}</td>
30       <td>{{rowData.orgManagerUserId}}</td>
31       <!--  Include an edit image with respective redirection -->
32       <td><a href="#/profile/{{rowData.id}}" class="icon-misc-pen"
33        style="color: #888; font-size: 20px;"></a></td>
34       <td ng-show="(isAppCentralized=='false')">
35        <div class="form-row">
36         <label class="btn-switch-label" tabindex="0" role="option">
37          <input type="checkbox" b2b-switches ng-model="rowData.active"
38          ng-click="toggleProfileActive(rowData)"
39          ng-disabled="allDisabled" aria-disabled="{{allDisabled}}" />
40          <div class="sr-text hidden-spoken" ng-if="!allDisabled">Double
41           tap to turn</div>
42         </label>
43        </div>
44       </td>
45
46      </tr>
47     </tbody>
48    </table>
49
50    <div class="well" style="padding-bottom: 35px;">
51     <div class="row -page short">
52      <div b2b-pagination="" total-pages="totalPages1"
53       current-page="currentPage1" click-handler="customHandler"
54       role="navigation" aria-label="Customer Data Pages"></div>
55     </div>
56    </div>
57
58   </div>
59  </div>
60 </div>