Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/01/15 10:58:26 (9 years ago)
Author:
dglaser
Message:

#2394:

HeuristicLab.Services.WebApp-3.3:

  • added angular-tablesort library
  • added sorting functionality to plugins page

HeuristicLab.Services.WebApp.Status-3.3:

  • changed sorting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.WebApp/3.3/WebApp/plugins/plugins/plugins.cshtml

    r12523 r12557  
    1616                </div>
    1717                <div class="panel-body">
    18                     <table class="table table-hover table-condensed">
     18                    <table class="table table-hover table-condensed" ts-wrapper>
    1919                        <thead>
    2020                            <tr>
    2121                                <th>#</th>
    22                                 <th>Name</th>
    23                                 <th>Assembly</th>
    24                                 <th>Last reload</th>
     22                                <th ts-criteria="Name">Name</th>
     23                                <th ts-criteria ="AssemblyName">Assembly</th>
     24                                <th ts-criteria="LastReload">Last reload</th>
    2525                                <th>Status</th>
    2626                                <th></th>
    2727                            </tr>
    2828                        </thead>
    29                         <tr ng-repeat="plugin in plugins">
    30                             <td>{{$index + 1}}</td>
    31                             <td>{{plugin.Name}}</td>
    32                             <td>{{plugin.AssemblyName}}</td>
    33                             <td>{{plugin.LastReload}}</td>
    34                             <td>
    35                                 <span ng-hide="plugin.Exception" class="glyphicon glyphicon glyphicon-ok" style="color: green"></span>
    36                                 <span ng-show="plugin.Exception" class="glyphicon glyphicon glyphicon-remove" style="color: darkred"
    37                                       ng-click="open(plugin.Name, plugin.Exception)"></span>
    38                             </td>
    39                             <td>
    40                                 <a ng-href="" data-ng-click="reloadPlugin(plugin.Name)">Reload</a>
    41                             </td>
    42                         </tr>
     29                        <tbody>
     30                            <tr ng-repeat="plugin in plugins" ts-repeat>
     31                                <td>{{$index + 1}}</td>
     32                                <td>{{plugin.Name}}</td>
     33                                <td>{{plugin.AssemblyName}}</td>
     34                                <td>{{plugin.LastReload}}</td>
     35                                <td>
     36                                    <span ng-hide="plugin.Exception" class="glyphicon glyphicon glyphicon-ok" style="color: green"></span>
     37                                    <span ng-show="plugin.Exception" class="glyphicon glyphicon glyphicon-remove" style="color: darkred"
     38                                          ng-click="open(plugin.Name, plugin.Exception)"></span>
     39                                </td>
     40                                <td>
     41                                    <a ng-href="" data-ng-click="reloadPlugin(plugin.Name)">Reload</a>
     42                                </td>
     43                            </tr>
     44                        </tbody>
    4345                    </table>
    4446                </div>
Note: See TracChangeset for help on using the changeset viewer.