summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/role-function.html
blob: cab8c682179ff162c2f88193f0642feb4f268ff5 (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
<div id="page-content">
	<h1 class="heading-page" id="profileSearch">Role Function</h1>
	<div ng-show="showLoader" class="span loader-container">
		<i class="icon-primary-spinner" role="img"
			aria-label="Please wait while we load your content"></i>
	</div>
	<div ng-hide="showLoader">
		<div class="row-nowrap">
			<div class="span12">
				<div class="form-row">
					<div class="field-group">
						<button class="btn btn-alt btn-medium" type="button"
							ng-click="addRoleFuncPopUp(rowData);">Create</button>
					</div>
				</div>
			</div>
			<div class="span12">
				<div class="form-row">
					<div style="float: right;">
						<div class="form-field form-field__small">
							<input type="text" placeholder="Search role functions" ng-model="searchString" />
						</div>
					</div>
				</div>
			</div>
		</div>

		<div ng-show="showLoader" class="span loader-container">
			<i class="icon-primary-spinner" role="img"
				aria-label="Please wait while we load your content"></i>
		</div>
	
		<div b2b-table class="b2b-table-div" table-data="tableData"
			search-string="searchString" current-page="currentPage"
			next-sort="nextSort">
			<table>
				<thead b2b-table-row type="header">
					<tr>
						<th b2b-table-header key="name">Name</th>
						<th b2b-table-header key="code">Code</th>
						<th b2b-table-header sortable="false">Edit</th>
						<th b2b-table-header sortable="false">Delete</th>
					</tr>
				</thead>
				<tbody b2b-table-row type="body" row-repeat="rowData in tableData">
					<tr>
						<td b2b-table-body ng-bind="rowData['name']"></td>
						<td b2b-table-body ng-bind="rowData['code']"></td>
						<td b2b-table-body>
							<div style="font-size: 20px;">
								<a ng-click="saveRoleFuncPopUp(rowData);" class="icon-misc-pen"></a>
							</div>
						</td>
						<td b2b-table-body>
							<div style="font-size: 20px;">
								<a href="javascript:void(0)"
									ng-click="delRoleFuncConfirmPopUp(rowData);"
									class="icon-misc-trash"></a>
							</div>
						</td>
	
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>