diff --git a/public/css/build/app.css b/public/css/build/app.css index e724190f48..3cea5e2d0f 100644 Binary files a/public/css/build/app.css and b/public/css/build/app.css differ diff --git a/public/css/build/overrides.css b/public/css/build/overrides.css index 586a3f2a37..52c81f55f6 100644 Binary files a/public/css/build/overrides.css and b/public/css/build/overrides.css differ diff --git a/public/css/dist/all.css b/public/css/dist/all.css index 9518eff1cf..eda068945a 100644 Binary files a/public/css/dist/all.css and b/public/css/dist/all.css differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 80fa987f64..0290e23dfa 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -2,8 +2,8 @@ "/js/build/app.js": "/js/build/app.js?id=5e9ac5c1a7e089f056fb1dba566193a6", "/css/dist/skins/skin-black-dark.css": "/css/dist/skins/skin-black-dark.css?id=f0b08873a06bb54daeee176a9459f4a9", "/css/dist/skins/_all-skins.css": "/css/dist/skins/_all-skins.css?id=f4397c717b99fce41a633ca6edd5d1f4", - "/css/build/overrides.css": "/css/build/overrides.css?id=c9a07471f306075f2d5d5726119712dc", - "/css/build/app.css": "/css/build/app.css?id=6a514869e025840d60113c282b97d25f", + "/css/build/overrides.css": "/css/build/overrides.css?id=efd9f439cb0586512d03172bcd9a5752", + "/css/build/app.css": "/css/build/app.css?id=2f45befb40b9d7f038eeae9569c33a5f", "/css/build/AdminLTE.css": "/css/build/AdminLTE.css?id=4ea0068716c1bb2434d87a16d51b98c9", "/css/dist/skins/skin-yellow.css": "/css/dist/skins/skin-yellow.css?id=7b315b9612b8fde8f9c5b0ddb6bba690", "/css/dist/skins/skin-yellow-dark.css": "/css/dist/skins/skin-yellow-dark.css?id=393aaa7b368b0670fc42434c8cca7dc7", @@ -19,7 +19,7 @@ "/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=f677207c6cf9678eb539abecb408c374", "/css/dist/skins/skin-blue-dark.css": "/css/dist/skins/skin-blue-dark.css?id=0640e45bad692dcf62873c6e85904899", "/css/dist/skins/skin-black.css": "/css/dist/skins/skin-black.css?id=76482123f6c70e866d6b971ba91de7bb", - "/css/dist/all.css": "/css/dist/all.css?id=8b0098987597c40f9e27a48c5dd2af9d", + "/css/dist/all.css": "/css/dist/all.css?id=e9509d7591637153f667461642e47e30", "/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7", "/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced1cf5f13147f7", "/js/select2/i18n/af.js": "/js/select2/i18n/af.js?id=4f6fcd73488ce79fae1b7a90aceaecde", diff --git a/resources/assets/less/overrides.less b/resources/assets/less/overrides.less index 2f9d59a827..0721c401df 100644 --- a/resources/assets/less/overrides.less +++ b/resources/assets/less/overrides.less @@ -342,10 +342,10 @@ a.logo.no-hover a:hover { input:required, select:required { - border-right: 4px solid orange; + border-right: 5px solid orange; } -select:required + .select2-container .select2-selection { - border-right: 4px solid orange; +select:required + .select2-container .select2-selection, select:required + .select2-container .select2-selection .select2-selection--multiple { + border-right: 5px solid orange !important; } body { diff --git a/resources/views/asset_maintenances/edit.blade.php b/resources/views/asset_maintenances/edit.blade.php index c3aa8e1483..4dd390ddfa 100644 --- a/resources/views/asset_maintenances/edit.blade.php +++ b/resources/views/asset_maintenances/edit.blade.php @@ -41,28 +41,32 @@
- @include ('partials.forms.edit.asset-select', ['translated_name' => trans('admin/hardware/table.asset_tag'), 'fieldname' => 'asset_id', 'required' => 'true']) - @include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id', 'required' => 'true']) - @include ('partials.forms.edit.maintenance_type')
-
- +
+ {!! $errors->first('title', '') !!}
+ + @include ('partials.forms.edit.asset-select', ['translated_name' => trans('general.asset'), 'fieldname' => 'asset_id', 'required' => 'true']) + @include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id', 'required' => 'true']) + @include ('partials.forms.edit.maintenance_type') + + +
-
+
- +
{!! $errors->first('start_date', '') !!} @@ -75,10 +79,12 @@
-
+
- - + + + +
{!! $errors->first('completion_date', '') !!}
diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.php index a281beebc2..61779f1939 100755 --- a/resources/views/depreciations/edit.blade.php +++ b/resources/views/depreciations/edit.blade.php @@ -15,7 +15,7 @@ -
+
{!! $errors->first('months', '') !!} diff --git a/resources/views/hardware/bulk-checkout.blade.php b/resources/views/hardware/bulk-checkout.blade.php index 465336563d..f309cadbd9 100644 --- a/resources/views/hardware/bulk-checkout.blade.php +++ b/resources/views/hardware/bulk-checkout.blade.php @@ -27,7 +27,18 @@
{{ csrf_field() }} - + @include ('partials.forms.edit.asset-select', [ + 'translated_name' => trans('general.assets'), + 'fieldname' => 'selected_assets[]', + 'multiple' => true, + 'required' => true, + 'asset_status_type' => 'RTD', + 'select_id' => 'assigned_assets_select', + ]) + + + + @include ('partials.forms.checkout-selector', ['user_select' => 'true','asset_select' => 'true', 'location_select' => 'true']) @include ('partials.forms.edit.user-select', ['translated_name' => trans('general.user'), 'fieldname' => 'assigned_user', 'required'=>'true']) @@ -74,13 +85,6 @@
- @include ('partials.forms.edit.asset-select', [ - 'translated_name' => trans('general.assets'), - 'fieldname' => 'selected_assets[]', - 'multiple' => true, - 'asset_status_type' => 'RTD', - 'select_id' => 'assigned_assets_select', - ])
diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index abba2cdb9b..efd5d24b9c 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -28,8 +28,7 @@ @if ($item->id) -
- +
{!! $errors->first('asset_tags', ' :message') !!} @@ -37,7 +36,7 @@
@else -
+
{!! $errors->first('asset_tags', ' :message') !!} {!! $errors->first('asset_tag', ' :message') !!} diff --git a/resources/views/licenses/edit.blade.php b/resources/views/licenses/edit.blade.php index c092324a63..1bd40c6c54 100755 --- a/resources/views/licenses/edit.blade.php +++ b/resources/views/licenses/edit.blade.php @@ -33,8 +33,8 @@ @can('viewKeys', $item)
-
- +
+ {!! $errors->first('serial', '') !!}
diff --git a/resources/views/locations/edit.blade.php b/resources/views/locations/edit.blade.php index 95ba245359..55d638a9f5 100755 --- a/resources/views/locations/edit.blade.php +++ b/resources/views/locations/edit.blade.php @@ -25,8 +25,8 @@ -
- {{ Form::text('currency', old('currency', $item->currency), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;', 'aria-label'=>'currency')) }} +
+ {{ Form::text('currency', old('currency', $item->currency), array('class' => 'form-control','placeholder' => 'USD', 'maxlength'=>'3', 'style'=>'width: 60px;', 'aria-label'=>'currency', 'required' => (Helper::checkIfRequired($item, 'currency')) ? true : '')) }} {!! $errors->first('currency', '') !!}
@@ -39,8 +39,8 @@ -
- {{ Form::text('ldap_ou', old('ldap_ou', $item->ldap_ou), array('class' => 'form-control')) }} +
+ {{ Form::text('ldap_ou', old('ldap_ou', $item->ldap_ou), array('class' => 'form-control', 'required' => (Helper::checkIfRequired($item, 'ldap_ou')) ? true : '')) }} {!! $errors->first('ldap_ou', '') !!}
diff --git a/resources/views/partials/forms/edit/accessory-select.blade.php b/resources/views/partials/forms/edit/accessory-select.blade.php index 12be9bf7b7..d34b6b2fe0 100644 --- a/resources/views/partials/forms/edit/accessory-select.blade.php +++ b/resources/views/partials/forms/edit/accessory-select.blade.php @@ -1,8 +1,8 @@
{{ Form::label($fieldname, $translated_name, array('class' => 'col-md-3 control-label')) }} -
- @if ((!isset($unselect)) && ($accessory_id = old($fieldname, (isset($accessory) ? $accessory->id : (isset($item) ? $item->{$fieldname} : '')))))