Revision 62941
Added by Michele Artini 12 months ago
modules/dnet-modular-repositories-ui/trunk/src/main/resources/eu/dnetlib/web/resources/html/repoList.html | ||
---|---|---|
19 | 19 |
<table class="table table-condensed table-striped"> |
20 | 20 |
<thead> |
21 | 21 |
<tr> |
22 |
<th class="col-xs-5">
|
|
22 |
<th class="col-xs-2">
|
|
23 | 23 |
<a href="javascript:void(0)" ng-click="sortType = 'repoName'; sortReverse = !sortReverse"> |
24 | 24 |
Datasource Api |
25 | 25 |
<span ng-show="sortType == 'repoName' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
26 | 26 |
<span ng-show="sortType == 'repoName' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
27 | 27 |
</a> |
28 | 28 |
</th> |
29 |
<th class="col-xs-2 text-center">
|
|
29 |
<th class="col-xs-1 text-center">
|
|
30 | 30 |
<a href="javascript:void(0)" ng-click="sortType = 'compliance'; sortReverse = !sortReverse"> |
31 | 31 |
Compatibility |
32 | 32 |
<span ng-show="sortType == 'compliance' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
... | ... | |
54 | 54 |
<span ng-show="sortType == 'protocol' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
55 | 55 |
</a> |
56 | 56 |
</th> |
57 |
<th class="col-xs-1 text-center"> |
|
58 |
<a href="javascript:void(0)" ng-click="sortType = 'collDate'; sortReverse = !sortReverse"> |
|
59 |
Last Collection Date |
|
60 |
<span ng-show="sortType == 'collDate' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
61 |
<span ng-show="sortType == 'collDate' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
62 |
</a> |
|
63 |
</th> |
|
64 |
<th class="col-xs-1 text-right"> |
|
65 |
<a href="javascript:void(0)" ng-click="sortType = 'collBackend'; sortReverse = !sortReverse"> |
|
66 |
Last Collection Backend |
|
67 |
<span ng-show="sortType == 'collBackend' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
68 |
<span ng-show="sortType == 'collBackend' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
69 |
</a> |
|
70 |
</th> |
|
71 |
<th class="col-xs-1 text-right"> |
|
72 |
<a href="javascript:void(0)" ng-click="sortType = 'collTotal'; sortReverse = !sortReverse"> |
|
73 |
Last Collection Total |
|
74 |
<span ng-show="sortType == 'collTotal' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
75 |
<span ng-show="sortType == 'collTotal' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
76 |
</a> |
|
77 |
</th> |
|
57 | 78 |
<th class="col-xs-1 text-center"> |
58 | 79 |
<a href="javascript:void(0)" ng-click="sortType = 'aggrDate'; sortReverse = !sortReverse"> |
59 | 80 |
Last Aggregation Date |
60 | 81 |
<span ng-show="sortType == 'aggrDate' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
61 | 82 |
<span ng-show="sortType == 'aggrDate' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
62 | 83 |
</a> |
84 |
</th> |
|
85 |
<th class="col-xs-1 text-right"> |
|
86 |
<a href="javascript:void(0)" ng-click="sortType = 'aggrBackend'; sortReverse = !sortReverse"> |
|
87 |
Last Aggregation Backend |
|
88 |
<span ng-show="sortType == 'aggrBackend' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
|
89 |
<span ng-show="sortType == 'aggrBackend' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
|
90 |
</a> |
|
63 | 91 |
</th> |
64 |
<th class="col-xs-1 text-right">
|
|
92 |
<th class="col-xs-1 text-right">
|
|
65 | 93 |
<a href="javascript:void(0)" ng-click="sortType = 'aggrTotal'; sortReverse = !sortReverse"> |
66 |
Total |
|
94 |
Last Aggregation Total
|
|
67 | 95 |
<span ng-show="sortType == 'aggrTotal' && !sortReverse" class="small glyphicon glyphicon-chevron-down"></span> |
68 | 96 |
<span ng-show="sortType == 'aggrTotal' && sortReverse" class="small glyphicon glyphicon-chevron-up"></span> |
69 | 97 |
</a> |
... | ... | |
86 | 114 |
<td class="text-center">{{api.repoPrefix}}</td> |
87 | 115 |
<td class="text-center">{{api.protocol}}</td> |
88 | 116 |
<td class="text-center"> |
117 |
<span ng-show="api.collDate">{{api.collDate | date:'yyyy-MM-dd HH:mm:ss'}}</span> |
|
118 |
<span ng-hide="api.collDate"><i>not yet available</i></span> |
|
119 |
</td> |
|
120 |
<td class="text-center"> |
|
121 |
<span class="label label-info" style="width: 100px; display: inline-block; padding: 3px;" ng-show="api.collBackend">{{api.collBackend}}</span> |
|
122 |
</td> |
|
123 |
<td class="text-right" ng-class="{'text-success' : api.collTotal > 0, 'text-danger' : api.collTotal == 0}">{{api.collTotal}}</td> |
|
124 |
<td class="text-center"> |
|
89 | 125 |
<span ng-show="api.aggrDate">{{api.aggrDate | date:'yyyy-MM-dd HH:mm:ss'}}</span> |
90 | 126 |
<span ng-hide="api.aggrDate"><i>not yet available</i></span> |
91 | 127 |
</td> |
128 |
<td class="text-center"> |
|
129 |
<span class="label label-info" style="width: 100px; display: inline-block; padding: 3px;" ng-show="api.aggrBackend">{{api.aggrBackend}}</span> |
|
130 |
</td> |
|
92 | 131 |
<td class="text-right" ng-class="{'text-success' : api.aggrTotal > 0, 'text-danger' : api.aggrTotal == 0}">{{api.aggrTotal}}</td> |
93 | 132 |
</tr> |
94 | 133 |
</tbody> |
Also available in: Unified diff
added new fields in api list