summaryrefslogblamecommitdiffstats
path: root/management-interface/views/users.htm
blob: 703f00981c4fc7caf1fbc44cae8668dded6d5b05 (plain) (tree)
1
2
3
4
5
6
7
                             


                                  
                                                            

               






                                 















                                                          





                                                                                                                             

           
                                                                                     

            
            
      <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>