Assets compiled for production
This commit is contained in:
commit
d958ac45b6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/admin.js": "/js/admin.js?id=b26277cdb91d32ef5ad3",
|
||||
"/css/admin.css": "/css/admin.css?id=cae7debf6e86f063ca6c"
|
||||
"/js/admin.js": "/js/admin.js?id=f1263c1a00f0c20034d6",
|
||||
"/css/admin.css": "/css/admin.css?id=201f91bc553baa11139f"
|
||||
}
|
||||
|
|
@ -109,9 +109,9 @@ class CustomerGroupDataGrid
|
|||
//don't use aliasing in case of searchables
|
||||
'searchable' => [
|
||||
[
|
||||
'column' => 'cg.code',
|
||||
'type' => 'string',
|
||||
'label' => 'Code'
|
||||
'column' => 'cg.id',
|
||||
'type' => 'number',
|
||||
'label' => 'Id'
|
||||
],
|
||||
[
|
||||
'column' => 'cg.name',
|
||||
|
|
|
|||
|
|
@ -28,10 +28,10 @@ class ProductReviewDataGrid
|
|||
|
||||
return DataGrid::make([
|
||||
'name' => 'Review',
|
||||
'table' => 'product_reviews',
|
||||
'select' => 'id',
|
||||
'table' => 'product_reviews as pr',
|
||||
'select' => 'pr.id',
|
||||
'perpage' => 10,
|
||||
'aliased' => false, //use this with false as default and true in case of joins
|
||||
'aliased' => true, //use this with false as default and true in case of joins
|
||||
|
||||
'massoperations' =>[
|
||||
[
|
||||
|
|
@ -57,6 +57,13 @@ class ProductReviewDataGrid
|
|||
],
|
||||
|
||||
'join' => [
|
||||
[
|
||||
'join' => 'leftjoin',
|
||||
'table' => 'products_grid as pt',
|
||||
'primaryKey' => 'pr.product_id',
|
||||
'condition' => '=',
|
||||
'secondaryKey' => 'pt.product_id',
|
||||
]
|
||||
],
|
||||
|
||||
//use aliasing on secodary columns if join is performed
|
||||
|
|
@ -64,25 +71,33 @@ class ProductReviewDataGrid
|
|||
'columns' => [
|
||||
|
||||
[
|
||||
'name' => 'id',
|
||||
'name' => 'pr.id',
|
||||
'alias' => 'reviewId',
|
||||
'type' => 'number',
|
||||
'label' => 'ID',
|
||||
'sortable' => true,
|
||||
], [
|
||||
'name' => 'title',
|
||||
'name' => 'pr.title',
|
||||
'alias' => 'titleName',
|
||||
'type' => 'string',
|
||||
'label' => 'Title',
|
||||
'sortable' => true,
|
||||
], [
|
||||
'name' => 'comment',
|
||||
'name' => 'pr.comment',
|
||||
'alias' => 'productComment',
|
||||
'type' => 'string',
|
||||
'label' => 'Comment',
|
||||
'sortable' => true,
|
||||
], [
|
||||
'name' => 'status',
|
||||
],
|
||||
[
|
||||
'name' => 'pt.name',
|
||||
'alias' => 'productName',
|
||||
'type' => 'string',
|
||||
'label' => 'Product Name',
|
||||
'sortable' => true,
|
||||
],
|
||||
[
|
||||
'name' => 'pr.status',
|
||||
'alias' => 'reviewStatus',
|
||||
'type' => 'number',
|
||||
'label' => 'Status',
|
||||
|
|
@ -99,27 +114,27 @@ class ProductReviewDataGrid
|
|||
//don't use aliasing in case of filters
|
||||
'filterable' => [
|
||||
[
|
||||
'column' => 'id',
|
||||
'column' => 'pr.id',
|
||||
'alias' => 'reviewId',
|
||||
'type' => 'number',
|
||||
'label' => 'ID',
|
||||
], [
|
||||
'column' => 'title',
|
||||
'column' => 'pr.title',
|
||||
'alias' => 'titleName',
|
||||
'type' => 'string',
|
||||
'label' => 'Title',
|
||||
], [
|
||||
'column' => 'rating',
|
||||
'alias' => 'productRating',
|
||||
'type' => 'number',
|
||||
'label' => 'Rating',
|
||||
], [
|
||||
'column' => 'comment',
|
||||
'column' => 'pr.comment',
|
||||
'alias' => 'productComment',
|
||||
'type' => 'string',
|
||||
'label' => 'Comment',
|
||||
], [
|
||||
'column' => 'status',
|
||||
'column' => 'pt.name',
|
||||
'alias' => 'productName',
|
||||
'type' => 'string',
|
||||
'label' => 'Product Name',
|
||||
],[
|
||||
'column' => 'pr.status',
|
||||
'alias' => 'reviewStatus',
|
||||
'type' => 'string',
|
||||
'label' => 'Status',
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ body {
|
|||
}
|
||||
|
||||
.page-content {
|
||||
margin-top: 15px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.card {
|
||||
|
|
@ -312,7 +312,7 @@ body {
|
|||
width: 60px;
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
|
||||
|
||||
&.product {
|
||||
background: #F2F2F2;
|
||||
}
|
||||
|
|
@ -381,7 +381,7 @@ body {
|
|||
color: #A2A2A2;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
||||
.data {
|
||||
padding-top: 3px;
|
||||
font-size: 32px;
|
||||
|
|
@ -398,7 +398,7 @@ body {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.graph-stats {
|
||||
|
|
@ -431,7 +431,7 @@ body {
|
|||
}
|
||||
}
|
||||
// admin dashboard css ends here
|
||||
|
||||
|
||||
// customer oder css for admin start here
|
||||
.sale-container {
|
||||
.sale-section {
|
||||
|
|
@ -503,4 +503,224 @@ body {
|
|||
}
|
||||
}
|
||||
}
|
||||
// customer oder css for admin end here
|
||||
// customer oder css for admin end here
|
||||
|
||||
|
||||
|
||||
// css for rtl start here
|
||||
.rtl {
|
||||
direction: rtl;
|
||||
|
||||
.navbar-top {
|
||||
.navbar-top-right {
|
||||
text-align: left;
|
||||
|
||||
.profile-info {
|
||||
margin: 0 30px 0 25px;
|
||||
|
||||
i.icon {
|
||||
margin-left: 0px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-left {
|
||||
border-left: 1px solid rgba(162, 162, 162, 0.2);
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.content-container {
|
||||
padding-right: 90px;
|
||||
padding-left: 0px;
|
||||
|
||||
.content .page-header {
|
||||
.page-title {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.page-action {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.control-group {
|
||||
margin-right: 20px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.control-group.date {
|
||||
&::after {
|
||||
margin-top: 6px;
|
||||
position: absolute;
|
||||
margin-right: -35px;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
padding: 25px 305px 25px 25px;
|
||||
}
|
||||
|
||||
.aside-nav .active i {
|
||||
float: left;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard {
|
||||
.dashboard-stats .dashboard-card .data span {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 20px 20px 0px 0px;
|
||||
|
||||
.card-info ul li {
|
||||
.image {
|
||||
float: right;
|
||||
margin-right: 0px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.icon.angle-right-icon {
|
||||
left: 30px;
|
||||
right: auto;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.graph-stats {
|
||||
.left-card-container {
|
||||
float: right;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.right-card-container {
|
||||
float: right;
|
||||
padding-left: 0px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sale-container .sale-summary {
|
||||
float: left;
|
||||
}
|
||||
|
||||
// ui
|
||||
.grid-container .filter-wrapper {
|
||||
.filter-row-one .search-filter {
|
||||
border: 2px solid #C7C7C7;
|
||||
|
||||
.control {
|
||||
border: none;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.ic-wrapper {
|
||||
border: none;
|
||||
padding-top: 2px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.filter-row-two .filter-one {
|
||||
margin-right: 0px;
|
||||
|
||||
.filter-name {
|
||||
margin-right: 0px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.filter-value {
|
||||
padding-right: 5px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.grid-container .filter-wrapper .filter-row-one .dropdown-filters .more-filters .dropdown-toggle .dropdown-header span {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.grid-container .table tbody td.action a:first-child {
|
||||
margin-left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.table table {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dropdown-list.bottom-right {
|
||||
left: 0px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.dropdown-list .dropdown-container {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.accordian .accordian-header .icon {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.tree-container .tree-item {
|
||||
padding-right: 30px;
|
||||
|
||||
.expand-icon ,.folder-icon {
|
||||
margin-left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.tree-container >.tree-item {
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.radio .radio-view {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.image-wrapper .image-item {
|
||||
margin-right: 0px;
|
||||
margin-left: 20px;
|
||||
|
||||
.remove-image {
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.control-group label.required::before {
|
||||
content: "*";
|
||||
color: #FC6868;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.control-group label.required::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.control-group label .locale {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.control-group.date {
|
||||
&::after {
|
||||
margin-top: 15px;
|
||||
position: absolute;
|
||||
margin-right: -35px;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination .page-item .icon {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
// css for rtl end here
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
<script type="text/javascript" src="{{ asset('vendor/webkul/admin/assets/js/admin.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('vendor/webkul/ui/assets/js/ui.js') }}"></script>
|
||||
|
||||
|
||||
@stack('scripts')
|
||||
|
||||
<div class="modal-overlay"></div>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,16 @@
|
|||
{
|
||||
<<<<<<< HEAD
|
||||
"/js/shop.js": "/js/shop.js",
|
||||
"/css/shop.css": "/css/shop.css"
|
||||
}
|
||||
}
|
||||
=======
|
||||
<<<<<<< HEAD
|
||||
"/js/shop.js": "/js/shop.js",
|
||||
"/css/shop.css": "/css/shop.css"
|
||||
}
|
||||
=======
|
||||
"/js/shop.js": "/js/shop.js?id=55f8798e657b22f380c9",
|
||||
"/css/shop.css": "/css/shop.css?id=9aad6e8b5717a4ac508c"
|
||||
}
|
||||
>>>>>>> b92c299cfd943822554521d62e1e7946f2ff8031
|
||||
>>>>>>> dcf8dc17752b718972e34e478eac2fb8c5845450
|
||||
|
|
|
|||
|
|
@ -1729,7 +1729,7 @@ section.product-detail {
|
|||
margin-bottom: 15px;
|
||||
font-weight: 600;
|
||||
color: #FC6868;
|
||||
|
||||
|
||||
&.active {
|
||||
color: #4CAF50;
|
||||
}
|
||||
|
|
@ -1849,6 +1849,15 @@ section.product-detail {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 510px) {
|
||||
section.product-detail div.layouter form {
|
||||
.details {
|
||||
margin-top: -90px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//product pages responsive css end here
|
||||
|
||||
//rating and reviews of product pages
|
||||
|
|
@ -2102,7 +2111,9 @@ section.cart {
|
|||
width: 90px;
|
||||
}
|
||||
.item-details .misc {
|
||||
margin-left: -105px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2365,6 +2376,7 @@ section.cart {
|
|||
|
||||
ul.checkout-steps{
|
||||
border-bottom: none;
|
||||
padding-bottom: 0px;
|
||||
|
||||
span {
|
||||
display: none;
|
||||
|
|
@ -2380,6 +2392,8 @@ section.cart {
|
|||
}
|
||||
|
||||
.step-content {
|
||||
padding-top: 0px;
|
||||
|
||||
.control-group .control {
|
||||
width:100%;
|
||||
}
|
||||
|
|
@ -3200,22 +3214,17 @@ section.review {
|
|||
|
||||
// css for loader
|
||||
.cp-spinner {
|
||||
margin-left: 19%;
|
||||
margin-top: 13%;
|
||||
position: absolute;
|
||||
margin-bottom: 20%;
|
||||
left: 26%;
|
||||
margin-top: calc(20% - 80px);
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 720px) {
|
||||
.cp-spinner {
|
||||
margin-left: 42.5%;
|
||||
margin-top: 30%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
.cp-spinner {
|
||||
margin-top: 50%;
|
||||
left: 50%;
|
||||
margin-left: -24px;
|
||||
top: 50%;
|
||||
margin-top: -24px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -128,5 +128,37 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = function() {
|
||||
var thumbList = document.getElementsByClassName('thumb-list')[0];
|
||||
var thumbFrame = document.getElementsByClassName('thumb-frame');
|
||||
var productHeroImage = document.getElementsByClassName('product-hero-image')[0];
|
||||
|
||||
if(thumbList && productHeroImage){
|
||||
|
||||
for(let i=0 ; i < thumbFrame.length ; i++){
|
||||
thumbFrame[i].style.height = (productHeroImage.offsetHeight/4) + "px";
|
||||
thumbFrame[i].style.width = (productHeroImage.offsetHeight/4)+ "px";
|
||||
}
|
||||
|
||||
thumbList.style.width = (productHeroImage.offsetHeight/4) + "px";
|
||||
thumbList.style.minWidth = (productHeroImage.offsetHeight/4) + "px";
|
||||
thumbList.style.height = productHeroImage.offsetHeight + "px";
|
||||
}
|
||||
|
||||
window.onresize = function() {
|
||||
if(thumbList && productHeroImage){
|
||||
|
||||
for(let i=0 ; i < thumbFrame.length ; i++){
|
||||
thumbFrame[i].style.height = (productHeroImage.offsetHeight/4) + "px";
|
||||
thumbFrame[i].style.width = (productHeroImage.offsetHeight/4)+ "px";
|
||||
}
|
||||
|
||||
thumbList.style.width = (productHeroImage.offsetHeight/4) + "px";
|
||||
thumbList.style.minWidth = (productHeroImage.offsetHeight/4) + "px";
|
||||
thumbList.style.height = productHeroImage.offsetHeight + "px";
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@endpush
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
const { mix } = require("laravel-mix");
|
||||
require("laravel-mix-merge-manifest");
|
||||
|
||||
var publicPath = 'publishable/assets';
|
||||
// var publicPath = "../../../public/themes/default/assets";
|
||||
// var publicPath = 'publishable/assets';
|
||||
var publicPath = "../../../public/themes/default/assets";
|
||||
|
||||
mix.setPublicPath(publicPath).mergeManifest();
|
||||
mix.disableNotifications();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/ui.js": "/js/ui.js",
|
||||
"/css/ui.css": "/css/ui.css"
|
||||
"/js/ui.js": "/js/ui.js?id=b25a07d206dd0b89048f",
|
||||
"/css/ui.css": "/css/ui.css?id=856413ffffbe95f7b91d"
|
||||
}
|
||||
Loading…
Reference in New Issue