Fixed modal style issues, localization of routes issue and updated description string of version command
This commit is contained in:
parent
c7482f576e
commit
82e56334c2
|
|
@ -18,7 +18,7 @@ class BagistoVersion extends Command
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Displays version of Bagisto installed';
|
||||
protected $description = 'Displays current version of Bagisto installed';
|
||||
|
||||
/**
|
||||
* Create a new command instance.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
// dd(Route::pattern('*', '[a-z]+'));
|
||||
|
||||
parent::boot();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
Route::group(['middleware' => ['web', 'theme', 'locale', 'currency']], function () {
|
||||
|
||||
Route::group(['middleware' => ['web', 'locale', 'theme', 'currency']], function () {
|
||||
//Store front home
|
||||
Route::get('/', 'Webkul\Shop\Http\Controllers\HomeController@index')->defaults('_config', [
|
||||
'view' => 'shop::home.index'
|
||||
|
|
@ -41,7 +40,7 @@ Route::group(['middleware' => ['web', 'theme', 'locale', 'currency']], function
|
|||
])->name('shop.checkout.cart.index');
|
||||
|
||||
//Cart Items Add
|
||||
Route::post('checkout/cart/add/{id}', 'Webkul\Shop\Http\Controllers\CartController@add')->defaults('_config',[
|
||||
Route::post('checkout/cart/add/{id}', 'Webkul\Shop\Http\Controllers\CartController@add')->defaults('_config', [
|
||||
'redirect' => 'shop.checkout.cart.index'
|
||||
])->name('cart.add');
|
||||
|
||||
|
|
@ -52,12 +51,12 @@ Route::group(['middleware' => ['web', 'theme', 'locale', 'currency']], function
|
|||
Route::get('checkout/cart/remove/{id}', 'Webkul\Shop\Http\Controllers\CartController@remove')->name('cart.remove');
|
||||
|
||||
//Cart Update Before Checkout
|
||||
Route::post('/checkout/cart', 'Webkul\Shop\Http\Controllers\CartController@updateBeforeCheckout')->defaults('_config',[
|
||||
Route::post('/checkout/cart', 'Webkul\Shop\Http\Controllers\CartController@updateBeforeCheckout')->defaults('_config', [
|
||||
'redirect' => 'shop.checkout.cart.index'
|
||||
])->name('shop.checkout.cart.update');
|
||||
|
||||
//Cart Items Remove
|
||||
Route::get('/checkout/cart/remove/{id}', 'Webkul\Shop\Http\Controllers\CartController@remove')->defaults('_config',[
|
||||
Route::get('/checkout/cart/remove/{id}', 'Webkul\Shop\Http\Controllers\CartController@remove')->defaults('_config', [
|
||||
'redirect' => 'shop.checkout.cart.index'
|
||||
])->name('shop.checkout.cart.remove');
|
||||
|
||||
|
|
|
|||
|
|
@ -138,6 +138,16 @@ abstract class DataGrid
|
|||
{
|
||||
$parsedUrl = $this->parseUrl();
|
||||
|
||||
foreach ($parsedUrl as $key => $value) {
|
||||
if ( $key == 'locale') {
|
||||
if ( ! is_array($value)) {
|
||||
unset($parsedUrl[$key]);
|
||||
}
|
||||
} else if ( ! is_array($value)) {
|
||||
unset($parsedUrl[$key]);
|
||||
}
|
||||
}
|
||||
|
||||
if (count($parsedUrl)) {
|
||||
$filteredOrSortedCollection = $this->sortOrFilterCollection($this->collection = $this->queryBuilder, $parsedUrl);
|
||||
|
||||
|
|
|
|||
|
|
@ -720,27 +720,27 @@ modal {
|
|||
left: 0px;
|
||||
position: fixed;
|
||||
background: #000;
|
||||
opacity: 0.75;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.modal-open .modal-overlay {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.modal-container {
|
||||
animation: fade-in-white 0.3s ease-in-out;
|
||||
z-index: 11;
|
||||
margin-left: -350px;
|
||||
background: #ffffff;
|
||||
top: 200px;
|
||||
width: 600px;
|
||||
max-width: 80%;
|
||||
background: #ffffff;
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 100px;
|
||||
margin-bottom: 100px;
|
||||
left: auto;
|
||||
right: auto;
|
||||
position: absolute;
|
||||
z-index: 11;
|
||||
@include box-shadow(
|
||||
0px 15px 25px 0px rgba(0, 0, 0, 0.03),
|
||||
0px 20px 45px 5px rgba(0, 0, 0, 0.2)
|
||||
);
|
||||
animation: fade-in-white 0.3s ease-in-out;
|
||||
animation: jelly 0.5s ease-in-out;
|
||||
@include border-radius(5px);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue