Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/users/users.cshtml @ 14803

Last change on this file since 14803 was 12584, checked in by dglaser, 9 years ago

#2388: Changed all files to connect to localhost / sqlexpress

HeuristicLab.Services.Hive-3.3:

  • Added Converter.cs and NewHiveService.cs, both will be integrated into existing HiveService.cs and Convert.cs when all methods are successfully implemented

HeuristicLab.Services.Hive.Web.Hive-3.3:

  • Added publish profiles

HeuristicLab.Services.WebApp.Statistics-3.3:

  • Added functionality to download TaskData as .hl file
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">
33                        <thead>
34                            <tr>
35                                <th>#</th>
36                                <th>Username</th>
37                                <th></th>
38                            </tr>
39                        </thead>
40                        <tr ng-repeat="user in users">
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.