Current File : //home/tradevaly/text.tradevaly.com.bd/resources/views/backend/pages/users/advertiser.blade.php |
@extends('backend.ayaan.master')
@section('title') Update logo @endsection
@section('css')
<!-- select2 css -->
<link href="{{ asset('/assets/libs/select2/select2.min.css') }}" rel="stylesheet" type="text/css" />
<style>
.bg_secoundary{
background:#0007e70d;
}
</style>
@endsection
@section('content')
@component('components.breadcrumb')
@slot('li_1') Dashboards @endslot
@slot('title') Advertiser Page Information @endslot
@endcomponent
<div class="row">
<div class="col-md-12">
<div class="card bg-transparent">
<div class="card-body">
<!--<h4 class="card-title">Advertiser Banners</h4>-->
<form action="{{route('admin.advertiser_banner')}}" method="POST" enctype="multipart/form-data">@csrf
<div class="row">
<!--home page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Home Page banner</h4>
</div>
<div class="col-sm-4 border-end">
<div class="mb-3">
<label for="metadescription">{{translate('Top Banner Amount')}}</label>
<input id="metatitle" name="top_banner" type="text" class="form-control" required value="{{ $data->top_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Top Banner Discount (%)')}}</label>
<input id="metatitle" name="top_banner_discount" type="text" class="form-control" required value="{{ $data->top_banner_discount }}">
</div>
</div>
<div class="col-sm-4 border-end">
<div class="mb-3">
<label for="metadescription">{{translate('Classic Banner Amount')}}</label>
<input id="metatitle" name="classic_banner" type="text" class="form-control" required value="{{ $data->classic_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Classic Banner Discount (%)')}}</label>
<input id="metatitle" name="classic_banner_discount" type="text" class="form-control" required value="{{ $data->classic_banner_discount }}">
</div>
</div>
<div class="col-sm-4">
<div class="mb-3">
<label for="metadescription">{{translate('Bottom banner Amount')}}</label>
<input id="metatitle" name="bottom_banner" type="text" class="form-control" required value="{{ $data->bottom_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Bottom Banner Discount (%)')}}</label>
<input id="metatitle" name="bottom_banner_discount" type="text" class="form-control" required value="{{ $data->bottom_banner_discount }}">
</div>
</div>
</div>
</div>
<!--home page banner end-->
<!--buyer page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Buyer Page banner</h4>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Buyer Top Banner Amount')}}</label>
<input id="metatitle" name="top_buyer_banner" type="text" class="form-control" required value="{{ $data->top_buyer_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Buyer Top Banner Discount (%)')}}</label>
<input id="metatitle" name="top_buyer_banner_discount" type="text" class="form-control" required value="{{ $data->top_buyer_banner_discount }}">
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Buyer Bottom Banner')}}</label>
<input id="metatitle" name="bottom_buyer_banner" type="text" class="form-control" required value="{{ $data->bottom_buyer_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Buyer Bottom Banner Discount (%)')}}</label>
<input id="metatitle" name="bottom_buyer_banner_discount" type="text" class="form-control" required value="{{ $data->bottom_buyer_banner_discount }}">
</div>
</div>
</div>
</div>
<!-- buyer page banner end-->
<!--Product page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Product Page banner</h4>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Product Top Banner')}}</label>
<input id="metatitle" name="top_product_banner" type="text" class="form-control" required value="{{ $data->top_product_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Product Top Banner Discount (%)')}}</label>
<input id="metatitle" name="top_product_banner_discount" type="text" class="form-control" required value="{{ $data->top_product_banner_discount }}">
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Product Bottom Banner')}}</label>
<input id="metatitle" name="bottom_product_banner" type="text" class="form-control" required value="{{ $data->bottom_product_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Product Bottom Banner Discount (%)')}}</label>
<input id="metatitle" name="bottom_product_banner_discount" type="text" class="form-control" required value="{{ $data->bottom_product_banner_discount }}">
</div>
</div>
</div>
</div>
<!--buyer page banner end-->
<!--Company page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Company Page banner</h4>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Company Top Banner')}}</label>
<input id="metatitle" name="top_company_banner" type="text" class="form-control" required value="{{ $data->top_company_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Company Top Banner Discount (%)')}}</label>
<input id="metatitle" name="top_company_banner_discount" type="text" class="form-control" required value="{{ $data->top_company_banner_discount }}">
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Company Bottom Banner')}}</label>
<input id="metatitle" name="bottom_company_banner" type="text" class="form-control" required value="{{ $data->bottom_company_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Company Bottom Banner Discount (%)')}}</label>
<input id="metatitle" name="bottom_company_banner_discount" type="text" class="form-control" required value="{{ $data->bottom_company_banner_discount }}">
</div>
</div>
</div>
</div>
<!--Company page banner end-->
<!--Menufacture page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Menufacture Page banner</h4>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Menufacture Top Banner')}}</label>
<input id="metatitle" name="top_manufacture_banner" type="text" class="form-control" required value="{{ $data->top_manufacture_banner}}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Menufacture Top Banner Discount (%)')}}</label>
<input id="metatitle" name="top_manufacture_banner_discount" type="text" class="form-control" required value="{{ $data->top_manufacture_banner_discount}}">
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Menufacture Bottom Banner')}}</label>
<input id="metatitle" name="bottom_manufacture_banner" type="text" class="form-control" required value="{{ $data->bottom_manufacture_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Menufacture Bottom Banner Discount (%)')}}</label>
<input id="metatitle" name="bottom_manufacture_banner_discount" type="text" class="form-control" required value="{{ $data->bottom_manufacture_banner_discount }}">
</div>
</div>
</div>
</div>
<!--Menufacture page banner end-->
<!--Contact page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Contact Page banner</h4>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Contact Banner')}}</label>
<input id="metatitle" name="contact_banner" type="text" class="form-control" required value="{{ $data->contact_banner}}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Contact Banner Discount (%)')}}</label>
<input id="metatitle" name="contact_banner_discount" type="text" class="form-control" required value="{{ $data->contact_banner_discount}}">
</div>
</div>
</div>
</div>
<!--Contact page banner end-->
<!--Category page banner start-->
<div class="col-lg-6 mb-5">
<div class="row bg_secoundary m-0">
<div class="col-sm-12 p-0">
<h4 class="card-title">Category Page banner</h4>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Category Top Banner')}}</label>
<input id="metatitle" name="top_category_banner" type="text" class="form-control" required value="{{ $data->top_category_banner}}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Category Top Banner Discount (%)')}}</label>
<input id="metatitle" name="top_category_banner_discount" type="text" class="form-control" required value="{{ $data->top_category_banner_discount}}">
</div>
</div>
<div class="col">
<div class="mb-3">
<label for="metadescription">{{translate('Category Bottom Banner')}}</label>
<input id="metatitle" name="bottom_category_banner" type="text" class="form-control" required value="{{ $data->bottom_category_banner }}">
</div>
<div class="mb-3">
<label for="metadescription">{{translate('Category Bottom Banner Discount (%)')}}</label>
<input id="metatitle" name="bottom_category_banner_discount" type="text" class="form-control" required value="{{ $data->bottom_category_banner_discount }}">
</div>
</div>
</div>
</div>
<!--Category page banner end-->
</div>
<div class="d-flex flex-wrap gap-2">
<button type="submit" class="btn btn-primary">Save and Change</button>
</div>
</form>
</div>
</div>
</div>
</div>
@stop
@section('script')
<script src="{{ asset('/assets/libs/select2/select2.min.js') }}"></script>
<!-- dropzone plugin -->
<script src="{{ asset('/assets/libs/dropzone/dropzone.min.js') }}"></script>
<!-- init js -->
<script src="{{ asset('/assets/js/pages/ecommerce-select2.init.js') }}"></script>
<script>
$(function() {
$('#example').select2({
multiple: true,
maximumSelectionSize: 1
});
});
</script>
@endsection