blob: 703f00981c4fc7caf1fbc44cae8668dded6d5b05 (
plain) (
blame)
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
|
<div class="jumbotron">
<check if="{{ @loggedin }}">
<true>
<h2>List of all users</h2>
<table class="table table-striped table-responsive">
<thead>
<tr>
<th>#</th>
<th>Username</th>
<th>Organization</th>
<th>First name</th>
<th>Last name</th>
<th>Email</th>
<th>Last login</th>
</tr>
</thead>
<tbody>
<repeat group="{{ @result }}" value="{{ @item }}">
<tr>
<td>{{ @item.userid }}</td>
<td>{{ @item.username }}</td>
<td>{{ @item.organization }}</td>
<td>{{ @item.firstname }}</td>
<td>{{ @item.lastname }}</td>
<td>{{ @item.email }}</td>
<td>{{ @item.lastlogin }}</td>
</tr>
</repeat>
</tbody>
</table>
<form name="filter" role="form" class="form form-inline" method="get" action="{{ @hostname }}site/users">
<div class="form-group">
<input class="form-control" type="text" name="filter" placeholder="filter" value="{{ @oldFilter }}"/>
<button type="submit" class="btn btn-default">go</button>
</div>
</form>
</true>
<false>
<p class="bg-danger">Please <a href="{{ $hostname }}site/login">login</a></p>
</false>
</check>
</div>
|