From 9f478b51e27096c6fd134b25bf338dcf2731d95d Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 5 Jun 2022 20:13:51 -0700 Subject: [PATCH] Additional JS tweaking Signed-off-by: snipe --- resources/views/locations/view.blade.php | 4 ++- .../partials/asset-bulk-actions.blade.php | 4 +-- .../views/partials/bootstrap-table.blade.php | 34 +++++++++++++------ .../partials/users-bulk-actions.blade.php | 10 +++--- 4 files changed, 35 insertions(+), 17 deletions(-) diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php index cd9bafc73..510868885 100644 --- a/resources/views/locations/view.blade.php +++ b/resources/views/locations/view.blade.php @@ -98,6 +98,8 @@ data-show-refresh="true" data-sort-order="asc" data-toolbar="#toolbar" + data-bulk-action-id="#bulkEditButton" + data-bulk-form-id="#usersBulkForm" id="usersTable" class="table table-striped snipe-table" data-url="{{route('api.users.index', ['location_id' => $location->id])}}" @@ -126,7 +128,7 @@ data-show-export="true" data-show-refresh="true" data-sort-order="asc" - data-toolbar="#toolbar" + data-toolbar="#assetToolbar" id="assetsListingTable" class="table table-striped snipe-table" data-url="{{route('api.assets.index', ['location_id' => $location->id]) }}" diff --git a/resources/views/partials/asset-bulk-actions.blade.php b/resources/views/partials/asset-bulk-actions.blade.php index 62b185a7b..cf75fcfcd 100644 --- a/resources/views/partials/asset-bulk-actions.blade.php +++ b/resources/views/partials/asset-bulk-actions.blade.php @@ -1,9 +1,9 @@ -
+
{{ Form::open([ 'method' => 'POST', 'route' => ['hardware/bulkedit'], 'class' => 'form-inline', - 'id' => 'bulkForm']) }} + 'id' => 'assetToolbar']) }}
\ No newline at end of file