diff --git a/resources/lang/en/lang.php b/resources/lang/en/lang.php index f97437f..9176d8c 100644 --- a/resources/lang/en/lang.php +++ b/resources/lang/en/lang.php @@ -1,7 +1,6 @@ 'AvoRed Admin Login', 'admin-login-forget-password-link' => 'Forgot your Password?', 'admin-login-button-title' => 'Login', + 'admin-reset-button-title' => 'Send Password Reset Link', 'admin-password-label' => 'Password', + 'admin-confirm-password-label' => 'Confirm Password', 'admin-email-label' => 'Email Address', 'admin-dashboard-total-user-title' => 'Total User', @@ -40,5 +41,4 @@ 'address.configuration.title' => 'Address Configuration List', 'cancel' => 'Cancel', - ]; diff --git a/resources/views/attribute/_fields.blade.php b/resources/views/attribute/_fields.blade.php index fbbaa5b..84e62aa 100644 --- a/resources/views/attribute/_fields.blade.php +++ b/resources/views/attribute/_fields.blade.php @@ -1,5 +1,22 @@ -@include('avored-ecommerce::forms.text',['name' => 'name','label' => __('avored-ecommerce::attribute.name')]) -@include('avored-ecommerce::forms.text',['name' => 'identifier','label' => __('avored-ecommerce::attribute.identifier')]) + + + + + + attributeDropdownOptions->count() > 0) { $editMode = true; - $hiddenClass = ""; + $hiddenClass = ''; } ?> diff --git a/resources/views/attribute/create.blade.php b/resources/views/attribute/create.blade.php index 5fa2ad0..761fb3c 100644 --- a/resources/views/attribute/create.blade.php +++ b/resources/views/attribute/create.blade.php @@ -2,7 +2,7 @@ @section('content') -
+
{{ __('avored-ecommerce::attribute.create') }}
@@ -25,4 +25,28 @@
-@endsection \ No newline at end of file +@endsection + +@push('scripts') + + + + +@endpush \ No newline at end of file diff --git a/resources/views/attribute/edit.blade.php b/resources/views/attribute/edit.blade.php index 0587d76..e6f53a5 100644 --- a/resources/views/attribute/edit.blade.php +++ b/resources/views/attribute/edit.blade.php @@ -2,7 +2,7 @@ @section('content') -
+
{{ __('avored-ecommerce::attribute.edit') }}
@@ -27,4 +27,28 @@
-@endsection \ No newline at end of file +@endsection + +@push('scripts') + + + + +@endpush \ No newline at end of file diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php index 7b893d1..020f872 100644 --- a/resources/views/auth/passwords/email.blade.php +++ b/resources/views/auth/passwords/email.blade.php @@ -41,23 +41,22 @@ action="{{ route('admin.password.reset.token') }}"> @csrf -
- - - - @if ($errors->has('email')) - - {{ $errors->first('email') }} - - @endif - -
+ +
- -
@@ -80,17 +79,23 @@ var app = new Vue({ el: '#reset-password-page', data : { - email: '' + email: '', + autofocus:true }, computed: { - isLoginDisbled: function() { - + isSendPasswordSubmitDisbled: function() { if(this.email != "") { return false; } - return true; - + } + }, + methods: { + changeModelValue: function(val,fieldName) { + + if(fieldName == "email") { + this.email = val; + } } } }); diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php index f80a12d..b288302 100644 --- a/resources/views/auth/passwords/reset.blade.php +++ b/resources/views/auth/passwords/reset.blade.php @@ -36,44 +36,36 @@ action="{{ route('admin.password.email.post') }}"> @csrf -
- - + + + + + + + + - @if ($errors->has('email')) - - {{ $errors->first('email') }} - - @endif -
- -
- - - - @if ($errors->has('password')) - - {{ $errors->first('password') }} - - @endif - -
- -
- - - - @if ($errors->has('password_confirmation')) - - {{ $errors->first('password_confirmation') }} - - @endif - -
+ + Opps! {{ session()->get('errorNotificationText') }} + +
+ @endif
{!! Breadcrumb::render(Route::getCurrentRoute()->getName() ) !!} diff --git a/resources/views/module/create.blade.php b/resources/views/module/create.blade.php new file mode 100644 index 0000000..3b4c45e --- /dev/null +++ b/resources/views/module/create.blade.php @@ -0,0 +1,42 @@ +@extends('avored-ecommerce::layouts.app') + +@section('content') + +
+
+
+
+ {{ __('avored-ecommerce::module.module-upload') }} +
+
+
+ + @csrf() + +
+ + +
+ +
+ + + Cancel +
+ +
+ +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/page/_fields.blade.php b/resources/views/page/_fields.blade.php index e42b57f..71cbbec 100644 --- a/resources/views/page/_fields.blade.php +++ b/resources/views/page/_fields.blade.php @@ -1,6 +1,25 @@ -@include('avored-ecommerce::forms.text',['name' => 'name','label' => 'Name']) -@include('avored-ecommerce::forms.text',['name' => 'slug','label' => 'Slug']) + + + + + + + @php $content = (isset($model)) ? $model->getContent() : ""; @endphp @@ -11,9 +30,25 @@ class="summernote form-control" >{{ $content }}
- -@include('avored-ecommerce::forms.text',['name' => 'meta_title','label' => 'Meta Title']) -@include('avored-ecommerce::forms.text',['name' => 'meta_description','label' => 'Meta Description']) + + + + +
diff --git a/resources/views/page/create.blade.php b/resources/views/page/create.blade.php index f8cc4b7..34732e8 100644 --- a/resources/views/page/create.blade.php +++ b/resources/views/page/create.blade.php @@ -1,7 +1,7 @@ @extends('avored-ecommerce::layouts.app') @section('content') -
+
@@ -26,4 +26,28 @@
-@endsection \ No newline at end of file +@endsection + +@push('scripts') + + + + +@endpush diff --git a/resources/views/page/edit.blade.php b/resources/views/page/edit.blade.php index e2d1617..2673830 100644 --- a/resources/views/page/edit.blade.php +++ b/resources/views/page/edit.blade.php @@ -1,7 +1,7 @@ @extends('avored-ecommerce::layouts.app') @section('content') -
+
@@ -26,4 +26,28 @@
-@endsection \ No newline at end of file +@endsection + +@push('scripts') + + + + +@endpush \ No newline at end of file diff --git a/resources/views/page/index.blade.php b/resources/views/page/index.blade.php index ef3d023..d2a16eb 100644 --- a/resources/views/page/index.blade.php +++ b/resources/views/page/index.blade.php @@ -10,4 +10,4 @@ {!! DataGrid::render($dataGrid) !!}
-@stop \ No newline at end of file +@stop diff --git a/resources/views/payment/stripe/index.blade.php b/resources/views/payment/stripe/index.blade.php index cee0d7a..bdb477b 100644 --- a/resources/views/payment/stripe/index.blade.php +++ b/resources/views/payment/stripe/index.blade.php @@ -121,12 +121,6 @@ function stripeTokenHandler(token) { hiddenInput.setAttribute('value', token.id); formWrapper.appendChild(hiddenInput); - var hiddenInput = document.createElement('input'); - hiddenInput.setAttribute('type', 'hidden'); - hiddenInput.setAttribute('name', 'payment_option'); - hiddenInput.setAttribute('value', 'stripe'); - formWrapper.appendChild(hiddenInput); - } diff --git a/resources/views/shipping/free-shipping.blade.php b/resources/views/shipping/free-shipping.blade.php index 526fa52..188aa98 100644 --- a/resources/views/shipping/free-shipping.blade.php +++ b/resources/views/shipping/free-shipping.blade.php @@ -1,3 +1,39 @@ + +@if($shippingOption->enable()) +
+ + has('shipping_option')) + class="is-invalid form-check-input shipping_option_radio" + @else + class="shipping_option_radio form-check-input" + @endif + + /> + + + @if ($errors->has('shipping_option')) +
+ {{ $errors->first('shipping_option') }} +
+ @endif + +
+ +@endif + @push('scripts')