Skip to content

A free open source IT asset/license management system

Added shift+click help text

snipe94a6a1c37888
diff --git a/resources/lang/en-US/table.php b/resources/lang/en-US/table.php
index fb8144f2a0..7d6e075a76 100644
--- a/resources/lang/en-US/table.php
+++ b/resources/lang/en-US/table.php
@@ -11,5 +11,6 @@ return [
'load_error_body' => 'The server returned an error. Please try again in a moment. If this keeps happening, check the application log.',
'load_error_http_status' => 'HTTP status',
'load_error_session_expired' => 'Your session has expired. Reloading the page.',
+ 'shift_select' => 'Click a checkbox and hold <code>shift</code> and click another checkbox in the table to select/de-select a range.'
];
diff --git a/resources/views/accessories/index.blade.php b/resources/views/accessories/index.blade.php
index 01b61247b8..9de6e76c41 100755
--- a/resources/views/accessories/index.blade.php
+++ b/resources/views/accessories/index.blade.php
@@ -13,8 +13,13 @@
<x-box name="accessory">
<x-table.accessories name="accessories" :route="route('api.accessories.index')" fixed_right_number="3" />
</x-box>
+ <x-shiftclick/>
</x-container>
-@can('update', \App\Models\Accessory::class)
+
+
+
+
+ @can('update', \App\Models\Accessory::class)
<x-modals.adjust-quantity />
@endcan
@stop
diff --git a/resources/views/blade/shiftclick.blade.php b/resources/views/blade/shiftclick.blade.php
new file mode 100644
index 0000000000..1fa67302d1
--- /dev/null
+++ b/resources/views/blade/shiftclick.blade.php
@@ -0,0 +1,3 @@
+<x-form.help name="table-tip">
+ <x-icon type="tip" class="text-info"/> {!! trans('table.shift_select') !!}
+</x-form.help>
\ No newline at end of file
diff --git a/resources/views/blade/table/index.blade.php b/resources/views/blade/table/index.blade.php
index bdc7fb4ac7..3d4c8b6b86 100644
--- a/resources/views/blade/table/index.blade.php
+++ b/resources/views/blade/table/index.blade.php
@@ -62,3 +62,4 @@
"ignoreColumn": ["actions","available_actions", "image","change","checkbox","checkincheckout","icon"]
}'>
</table>
+
diff --git a/resources/views/categories/index.blade.php b/resources/views/categories/index.blade.php
index fbe351a597..0a09a32b88 100755
--- a/resources/views/categories/index.blade.php
+++ b/resources/views/categories/index.blade.php
@@ -27,7 +27,9 @@
export_filename="export-categories-{{ date('Y-m-d') }}"
/>
</x-box>
+ <x-shiftclick/>
</x-container>
+
@stop
@section('moar_scripts')
diff --git a/resources/views/hardware/index.blade.php b/resources/views/hardware/index.blade.php
index c3d76b423f..d766d612a0 100755
--- a/resources/views/hardware/index.blade.php
+++ b/resources/views/hardware/index.blade.php
@@ -65,6 +65,7 @@
:status_type="is_scalar($requestStatusType) ? $requestStatusType : null"
/>
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/licenses/index.blade.php b/resources/views/licenses/index.blade.php
index 4308b4d63c..7145803f7e 100755
--- a/resources/views/licenses/index.blade.php
+++ b/resources/views/licenses/index.blade.php
@@ -25,6 +25,7 @@
:route="route('api.licenses.index', ['status' => e(request('status'))])"/>
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/locations/index.blade.php b/resources/views/locations/index.blade.php
index 312d5d995a..75934a4778 100755
--- a/resources/views/locations/index.blade.php
+++ b/resources/views/locations/index.blade.php
@@ -17,6 +17,7 @@
has always supported. --}}
<x-table.locations :route="route('api.locations.index', ['company_id' => e(request('company_id')), 'status' => e(request('status'))])" />
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/maintenances/index.blade.php b/resources/views/maintenances/index.blade.php
index cb00791955..8c3a9808ba 100644
--- a/resources/views/maintenances/index.blade.php
+++ b/resources/views/maintenances/index.blade.php
@@ -25,6 +25,7 @@
/>
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/manufacturers/index.blade.php b/resources/views/manufacturers/index.blade.php
index 58036ab1d6..ffaae7999e 100755
--- a/resources/views/manufacturers/index.blade.php
+++ b/resources/views/manufacturers/index.blade.php
@@ -44,6 +44,7 @@
@endif
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/models/index.blade.php b/resources/views/models/index.blade.php
index 382035dea4..100b80459d 100755
--- a/resources/views/models/index.blade.php
+++ b/resources/views/models/index.blade.php
@@ -37,6 +37,7 @@
/>
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/statuslabels/index.blade.php b/resources/views/statuslabels/index.blade.php
index dfea954796..2fbe8e10ae 100755
--- a/resources/views/statuslabels/index.blade.php
+++ b/resources/views/statuslabels/index.blade.php
@@ -28,6 +28,7 @@
/>
</x-box>
+ <x-shiftclick/>
</x-page-column>
<x-page-column class="col-md-3">
diff --git a/resources/views/suppliers/index.blade.php b/resources/views/suppliers/index.blade.php
index b1c8a3c854..8190bd3146 100755
--- a/resources/views/suppliers/index.blade.php
+++ b/resources/views/suppliers/index.blade.php
@@ -27,6 +27,7 @@
/>
</x-box>
+ <x-shiftclick/>
</x-container>
@stop
diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php
index 804c2edb37..d8921dc4a0 100755
--- a/resources/views/users/index.blade.php
+++ b/resources/views/users/index.blade.php
@@ -41,6 +41,7 @@
'activated' => is_scalar(request('activated')) ? request('activated') : null,
])"/>
</x-box>
+ <x-shiftclick/>
</x-container>