1 <div id="page-content">
2 <h1 class="heading-page" id="profileSearch">Role Function</h1>
3 <span class= "heading-small" ng-if="isAppCentralized=='true'"><b>Please go to portal to Manage Role Function.</b></span>
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>
8 <div ng-hide="showLoader">
9 <div class="row-nowrap">
10 <div class="span12" ng-if="isAppCentralized=='false'">
11 <div class="form-row">
12 <div class="field-group">
13 <button class="btn btn-alt btn-medium" type="button"
14 ng-click="addRoleFuncPopUp(rowData);">Create</button>
19 <div class="form-row">
20 <div style="float: right;">
21 <div class="form-field form-field__small">
22 <input type="text" placeholder="Search role functions" ng-model="searchString" />
29 <div ng-show="showLoader" class="span loader-container">
30 <i class="icon-primary-spinner" role="img"
31 aria-label="Please wait while we load your content"></i>
34 <div b2b-table class="b2b-table-div" table-data="tableData"
35 search-string="searchString" current-page="currentPage"
38 <thead b2b-table-row type="header">
40 <th b2b-table-header key="name">Name</th>
41 <th b2b-table-header key="code">Code</th>
42 <th b2b-table-header sortable="false" ng-if="isAppCentralized=='false'">Edit</th>
43 <th b2b-table-header sortable="false" ng-if="isAppCentralized=='false'">Delete</th>
46 <tbody b2b-table-row type="body" row-repeat="rowData in tableData">
48 <td b2b-table-body ng-bind="rowData['name']"></td>
49 <td b2b-table-body ng-bind="rowData['code']"></td>
50 <td b2b-table-body ng-if="isAppCentralized=='false'">
51 <div style="font-size: 20px;">
52 <a ng-click="saveRoleFuncPopUp(rowData);" class="icon-misc-pen"></a>
55 <td b2b-table-body ng-if="isAppCentralized=='false'">
56 <div style="font-size: 20px;">
57 <a href="javascript:void(0)"
58 ng-click="delRoleFuncConfirmPopUp(rowData);"
59 class="icon-misc-trash"></a>