Last change
on this file since 16451 was
14820,
checked in by jkarder, 8 years ago
|
#2743: worked on web app
- added sorting functionality to some tables
|
File size:
2.0 KB
|
Line | |
---|
1 | @using HeuristicLab.Services.Access.DataTransfer
|
---|
2 | @using HeuristicLab.Services.Hive
|
---|
3 | @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) {
|
---|
4 | <header class="view-header">
|
---|
5 | <ul class="nav nav-list nav-list-topbar pull-left">
|
---|
6 | <li>
|
---|
7 | <a ng-href="#/statistics/jobs">Jobs</a>
|
---|
8 | </li>
|
---|
9 | <li class="active">
|
---|
10 | <a ng-href="#/statistics/users">Users</a>
|
---|
11 | </li>
|
---|
12 | <li>
|
---|
13 | <a ng-href="#/statistics/clients">Clients</a>
|
---|
14 | </li>
|
---|
15 | <li>
|
---|
16 | <a ng-href="#/statistics/groups">Groups</a>
|
---|
17 | </li>
|
---|
18 | <li>
|
---|
19 | <a ng-href="#/statistics/exceptions">Exceptions</a>
|
---|
20 | </li>
|
---|
21 | </ul>
|
---|
22 | </header>
|
---|
23 |
|
---|
24 | <div class="default-view-container">
|
---|
25 | <div class="row">
|
---|
26 | <div class="col-lg-12">
|
---|
27 | <div class="panel panel-default">
|
---|
28 | <div class="panel-heading">
|
---|
29 | <h3 class="panel-title">Users</h3>
|
---|
30 | </div>
|
---|
31 | <div class="panel-body">
|
---|
32 | <table class="table table-hover table-condensed" ts-wrapper>
|
---|
33 | <thead>
|
---|
34 | <tr>
|
---|
35 | <th>#</th>
|
---|
36 | <th ts-criteria="Name">Username</th>
|
---|
37 | <th></th>
|
---|
38 | </tr>
|
---|
39 | </thead>
|
---|
40 | <tr ng-repeat="user in users" ts-repeat>
|
---|
41 | <td>{{$index + 1}}</td>
|
---|
42 | <td>{{user.Name}}</td>
|
---|
43 | <td>
|
---|
44 | <a ng-href="#/statistics/users/{{user.Id}}">Details</a>
|
---|
45 | </td>
|
---|
46 | </tr>
|
---|
47 | <tr ng-hide="users.length">
|
---|
48 | <td colspan="4" class="text-center">No users found!</td>
|
---|
49 | </tr>
|
---|
50 | </table>
|
---|
51 | </div>
|
---|
52 | </div>
|
---|
53 | </div>
|
---|
54 | </div>
|
---|
55 | </div>
|
---|
56 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.