| 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>
|
| 32463 |
jai.hind |
12 |
<th>Image</th>
|
| 29209 |
manish |
13 |
<th>Auth Users</th>
|
| 24383 |
amit.gupta |
14 |
<th>Created Date</th>
|
|
|
15 |
<th>Reset Password</th>
|
| 25570 |
tejbeer |
16 |
<th>Remove</th>
|
| 24383 |
amit.gupta |
17 |
</tr>
|
|
|
18 |
#if(!$authUsers.isEmpty())
|
|
|
19 |
#foreach( $authUser in $authUsers )
|
|
|
20 |
<tr class="authUser-details" data="$authUser.getId()">
|
| 27595 |
tejbeer |
21 |
<td>$authUser.getEmployeeCode()</td>
|
| 24383 |
amit.gupta |
22 |
<td>$authUser.getFirstName()</td>
|
|
|
23 |
<td>$authUser.getLastName()</td>
|
|
|
24 |
<td>$authUser.getEmailId()</td>
|
|
|
25 |
<td>$authUser.getMobileNumber()</td>
|
| 24484 |
amit.gupta |
26 |
<td>#if($authUser.getGmailId())
|
|
|
27 |
<span>$authUser.getGmailId()</span>
|
|
|
28 |
<button class="mk_gmail_edit btn btn-primary" data-id="$authUser.getEmailId()">Edit</button>
|
|
|
29 |
#else
|
|
|
30 |
<span></span>
|
|
|
31 |
<button class="mk_gmail_edit btn btn-primary" data-id="$authUser.getEmailId()">Add</button>
|
|
|
32 |
#end
|
|
|
33 |
</td>
|
| 32463 |
jai.hind |
34 |
<td>
|
|
|
35 |
|
|
|
36 |
#if($authUser.getImageUrl())
|
|
|
37 |
<span> $authUser.getImageUrl() </span>
|
|
|
38 |
<button class="img_edit btn btn-primary" data-id="$authUser.getEmailId()">Edit</button>
|
|
|
39 |
#else
|
|
|
40 |
<span></span>
|
|
|
41 |
<button class="img_edit btn btn-primary" data-id="$authUser.getEmailId()">Edit</button>
|
|
|
42 |
#end
|
|
|
43 |
|
|
|
44 |
</td>
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
| 29209 |
manish |
48 |
#if($authUser.getManagerId() != 0)
|
|
|
49 |
<td>
|
|
|
50 |
<select class="form-control input-sm" id = "auth-users" name = "auth-users" placeholder="Authusers">
|
| 29211 |
manish |
51 |
<option value="$userManagerMap.get($authUser.getId()).getId()" selected>$userManagerMap.get($authUser.getId()).getFullName()</option>
|
| 29209 |
manish |
52 |
|
|
|
53 |
#foreach($activeAuthUser in $activeAuthUsers)
|
|
|
54 |
<option value="$activeAuthUser.getId()">$activeAuthUser.getFullName()</option>
|
|
|
55 |
#end
|
|
|
56 |
</select>
|
|
|
57 |
<button class="btn btn-primary add-manager" data-id="$authUser.getId()">Add</button>
|
|
|
58 |
</td>
|
|
|
59 |
|
|
|
60 |
#else
|
|
|
61 |
|
|
|
62 |
<td>
|
|
|
63 |
<select class="form-control input-sm" id = "auth-users" name = "auth-users" placeholder="Authusers">
|
|
|
64 |
<option value="" disabled selected>AuthUsers</option>
|
|
|
65 |
#foreach($activeAuthUser in $activeAuthUsers)
|
|
|
66 |
<option value="$activeAuthUser.getId()">$activeAuthUser.getFullName()</option>
|
|
|
67 |
#end
|
|
|
68 |
</select>
|
|
|
69 |
<button class="btn btn-primary add-manager" data-id="$authUser.getId()">Add</button>
|
|
|
70 |
</td>
|
|
|
71 |
|
|
|
72 |
#end
|
| 24383 |
amit.gupta |
73 |
<td>$authUser.getFormattedCreateTimestamp()</td>
|
| 24451 |
govind |
74 |
<td><button class="btn btn-primary reset-password" data-id="$authUser.getEmailId()">Reset</button></td>
|
| 25570 |
tejbeer |
75 |
<td><button class="btn btn-primary remove-user" data-id="$authUser.getId()">Remove</button></td>
|
| 24383 |
amit.gupta |
76 |
</tr>
|
|
|
77 |
#end
|
|
|
78 |
#else
|
|
|
79 |
<tr>
|
|
|
80 |
<td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
|
|
|
81 |
</tr>
|
|
|
82 |
#end
|
|
|
83 |
</tbody>
|
|
|
84 |
</table>
|
|
|
85 |
</div>
|
|
|
86 |
</div>
|