Skip to content

A free open source IT asset/license management system

Added spinner icon to loading message

snipecddd3cdb81c7
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 0b7b24d191..f9b9d0e699 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -27,6 +27,7 @@ $('.snipe-table').bootstrapTable({
@if (isset($multiSort))
showMultiSort: true,
@endif
+
showExport: true,
showColumns: true,
trimOnSearch: false,
@@ -41,6 +42,9 @@ $('.snipe-table').bootstrapTable({
paginationLastText: "{{ trans('general.last') }}",
paginationPreText: "{{ trans('general.previous') }}",
paginationNextText: "{{ trans('general.next') }}",
+ formatLoadingMessage: function () {
+ return '<h4><i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading... please wait.... </h4>';
+ },
pageList: ['10','25','50','100','150','200','500','1000'],
icons: {
paginationSwitchDown: 'fa-caret-square-o-down',