salix/front/core/components/data-viewer/index.html

31 lines
645 B
HTML
Raw Normal View History

<div ng-if="$ctrl.isReady">
2019-10-02 17:24:42 +00:00
<div ng-transclude></div>
<vn-pagination
model="$ctrl.model"
class="vn-pt-md">
2019-10-02 17:24:42 +00:00
</vn-pagination>
</div>
<div
class="empty-rows"
ng-if="!$ctrl.isReady"
2019-10-02 17:24:42 +00:00
ng-switch="$ctrl.status">
<vn-spinner
ng-switch-when="loading"
enable="::true">
2019-10-02 17:24:42 +00:00
</vn-spinner>
<span
ng-switch-when="clear"
translate>
Enter a new search
</span>
<span
ng-switch-when="error"
translate>
Ups! It seems there was an error
</span>
2019-10-02 17:24:42 +00:00
<span
ng-switch-when="empty"
translate>
No results
</span>
</div>