Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/15 18:02:03 (9 years ago)
Author:
dglaser
Message:

#2388:

HeuristicLab.Services.WebApp.Statistics-3.3:

  • added groups page
  • improved jobs, clients and users pages

HeuristicLab.Services.WebApp-3.3:

  • merged from trunk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/jobs/jobs.cshtml

    r12516 r12525  
    1313        <li>
    1414            <a ng-href="#/statistics/clients">Clients</a>
     15        </li>
     16        <li>
     17            <a ng-href="#/statistics/groups">Groups</a>
    1518        </li>
    1619    </ul>
     
    5457        </div>
    5558    </div>
    56 
     59    @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) {
     60        <div class="row">
     61            <div class="col-lg-12">
     62                <div class="panel panel-default">
     63                    <div class="panel-heading">
     64                        <h3 class="panel-title">Current Active Jobs</h3>
     65                    </div>
     66                    <div class="panel-body">
     67                        <table class="table table-hover table-condensed">
     68                            <thead>
     69                                <tr>
     70                                    <th>#</th>
     71                                    <th>Job Name</th>
     72                                    <th>User Name</th>
     73                                    <th>Date Created</th>
     74                                    <th>Progress</th>
     75                                    <th></th>
     76                                </tr>
     77                            </thead>
     78                            <tr ng-repeat="job in allUsersJobs">
     79                                <td>{{$index + 1}}</td>
     80                                <td>{{job.Name}}</td>
     81                                <td>
     82                                    <a ng-href="#/statistics/users/{{job.UserId}}" ng-show="job.UserName">{{job.UserName}}</a>
     83                                </td>
     84                                <td>{{job.DateCreated}}</td>
     85                                <td>
     86                                    <progressbar class="progress active" max="job.TotalTasks" value="job.CompletedTasks" type="success"><i style="color:black; white-space:nowrap;">{{job.CompletedTasks}} / {{job.TotalTasks}}</i></progressbar>
     87                                </td>
     88                                <td>
     89                                    <a ng-href="#/statistics/jobs/{{job.Id}}">Details</a>
     90                                </td>
     91                            </tr>
     92                            <tr ng-hide="allUsersJobs.length">
     93                                <td colspan="6" class="text-center">No active jobs found!</td>
     94                            </tr>
     95                        </table>
     96                    </div>
     97                </div>
     98            </div>
     99        </div>
     100    }
    57101    <div class="row">
    58102        <div class="col-lg-12">
Note: See TracChangeset for help on using the changeset viewer.