| 24383 |
amit.gupta |
1 |
<div class="row">
|
|
|
2 |
<div class="col-lg-12">
|
|
|
3 |
<table class="table table-striped table-advance table-hover">
|
|
|
4 |
<tbody>
|
|
|
5 |
<tr>
|
| 27595 |
tejbeer |
6 |
<th>Employee Code</th>
|
| 24383 |
amit.gupta |
7 |
<th>First Name</th>
|
|
|
8 |
<th>Last Name</th>
|
|
|
9 |
<th>Email</th>
|
|
|
10 |
<th>Mobile Number</th>
|
| 24484 |
amit.gupta |
11 |
<th>Gmail Id</th>
|
| 29209 |
manish |
12 |
<th>Auth Users</th>
|
| 24383 |
amit.gupta |
13 |
<th>Created Date</th>
|
|
|
14 |
<th>Reset Password</th>
|
| 25570 |
tejbeer |
15 |
<th>Remove</th>
|
| 24383 |
amit.gupta |
16 |
</tr>
|
|
|
17 |
#if(!$authUsers.isEmpty())
|
|
|
18 |
#foreach( $authUser in $authUsers )
|
|
|
19 |
<tr class="authUser-details" data="$authUser.getId()">
|
| 27595 |
tejbeer |
20 |
<td>$authUser.getEmployeeCode()</td>
|
| 24383 |
amit.gupta |
21 |
<td>$authUser.getFirstName()</td>
|
|
|
22 |
<td>$authUser.getLastName()</td>
|
|
|
23 |
<td>$authUser.getEmailId()</td>
|
|
|
24 |
<td>$authUser.getMobileNumber()</td>
|
| 24484 |
amit.gupta |
25 |
<td>#if($authUser.getGmailId())
|
|
|
26 |
<span>$authUser.getGmailId()</span>
|
|
|
27 |
<button class="mk_gmail_edit btn btn-primary" data-id="$authUser.getEmailId()">Edit</button>
|
|
|
28 |
#else
|
|
|
29 |
<span></span>
|
|
|
30 |
<button class="mk_gmail_edit btn btn-primary" data-id="$authUser.getEmailId()">Add</button>
|
|
|
31 |
#end
|
|
|
32 |
</td>
|
| 29209 |
manish |
33 |
#if($authUser.getManagerId() != 0)
|
|
|
34 |
<td>
|
|
|
35 |
<select class="form-control input-sm" id = "auth-users" name = "auth-users" placeholder="Authusers">
|
|
|
36 |
<option value="$userManagerMap.get($authUser.getId()).getManagerId()" selected>$userManagerMap.get($authUser.getId()).getFullName()</option>
|
|
|
37 |
|
|
|
38 |
#foreach($activeAuthUser in $activeAuthUsers)
|
|
|
39 |
<option value="$activeAuthUser.getId()">$activeAuthUser.getFullName()</option>
|
|
|
40 |
#end
|
|
|
41 |
</select>
|
|
|
42 |
<button class="btn btn-primary add-manager" data-id="$authUser.getId()">Add</button>
|
|
|
43 |
</td>
|
|
|
44 |
|
|
|
45 |
#else
|
|
|
46 |
|
|
|
47 |
<td>
|
|
|
48 |
<select class="form-control input-sm" id = "auth-users" name = "auth-users" placeholder="Authusers">
|
|
|
49 |
<option value="" disabled selected>AuthUsers</option>
|
|
|
50 |
#foreach($activeAuthUser in $activeAuthUsers)
|
|
|
51 |
<option value="$activeAuthUser.getId()">$activeAuthUser.getFullName()</option>
|
|
|
52 |
#end
|
|
|
53 |
</select>
|
|
|
54 |
<button class="btn btn-primary add-manager" data-id="$authUser.getId()">Add</button>
|
|
|
55 |
</td>
|
|
|
56 |
|
|
|
57 |
#end
|
| 24383 |
amit.gupta |
58 |
<td>$authUser.getFormattedCreateTimestamp()</td>
|
| 24451 |
govind |
59 |
<td><button class="btn btn-primary reset-password" data-id="$authUser.getEmailId()">Reset</button></td>
|
| 25570 |
tejbeer |
60 |
<td><button class="btn btn-primary remove-user" data-id="$authUser.getId()">Remove</button></td>
|
| 24383 |
amit.gupta |
61 |
</tr>
|
|
|
62 |
#end
|
|
|
63 |
#else
|
|
|
64 |
<tr>
|
|
|
65 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
66 |
</tr>
|
|
|
67 |
#end
|
|
|
68 |
</tbody>
|
|
|
69 |
</table>
|
|
|
70 |
</div>
|
|
|
71 |
</div>
|