134 lines
6.3 KiB
PHP
134 lines
6.3 KiB
PHP
@extends('backend.template')
|
|
@section('content')
|
|
|
|
<!-- start page title -->
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
|
|
<h4 class="mb-sm-0">Add Campaign</h4>
|
|
<div class="page-title-right">
|
|
<ol class="breadcrumb m-0">
|
|
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboards</a></li>
|
|
<li class="breadcrumb-item active">Add Campaign</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end page title -->
|
|
<form action="{{route('campaigns.store')}}" id="storeCustomForm" method="POST">
|
|
@csrf
|
|
<div class="row">
|
|
<div class="col-lg-9">
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-8">{{createText("title","title","Campaign Title")}}</div>
|
|
<div class="col-lg-2 pb-2">{{createDate("starts","Start Date",'',date('Y-m-d'))}}</div>
|
|
<div class="col-lg-2 pb-2">{{createDate("ends","End Date",'',date('Y-m-d'))}}</div>
|
|
<div class="border border-dashed"></div>
|
|
<div class="col-lg-12 pb-4">{{createTextarea("description","description ckeditor-classic","Description")}}</div>
|
|
<div class="border border-dashed"></div>
|
|
<div class="col-lg-12 pb-2">{{createTextarea("details","details ","Details")}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h4 class="card-title mb-0">Message</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-6">{{createTextArea("success_message","success_message","Success Message")}}</div>
|
|
<div class="col-lg-6">{{createTextArea("sms_message","sms_message","Sms Message")}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h4 class="card-title mb-0">Email Details</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
{{createTextArea("email","email ckeditor-classic","")}}
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h4 class="card-title mb-0">
|
|
SEO
|
|
</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-12">{{createText("seo_title","seo_title","Seo Title")}}</div>
|
|
<div class="border border-dashed"></div>
|
|
<div class="col-lg-12 pb-2">{{createPlainTextArea("seo_keywords","seo_keywords ","Seo Keywords")}}</div>
|
|
<div class="border border-dashed"></div>
|
|
<div class="col-lg-12 pb-2">{{createPlainTextArea("seo_description","seo_description ","Seo Description")}}</div>
|
|
<div class="border border-dashed"></div>
|
|
<div class="col-lg-12 pb-2">{{createPlainTextArea("meta_tags","meta_tags ","Meta Tags")}}</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-3">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
{{createText("coupon_codes","coupon_codes","Coupon Codes")}}
|
|
{{createText("offered_choices","offered_choices","Offered Choices")}}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h4 class="card-title mb-0">Images</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-12 pb-2">{{createImageInput("cover_photo","Cover Photo")}}</div>
|
|
<div class="border border-dashed mb-3"></div>
|
|
<div class="col-lg-12 pb-2">{{createImageInput("thumb","Thumb")}}</div>
|
|
<div class="border border-dashed mb-3"></div>
|
|
<div class="col-lg-12 pb-2">{{createImageInput("og_image","Og Image")}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5 class="card-title mb-0">
|
|
Pass
|
|
</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="col-lg-12 pb-2">{{createImageInput("pass_layout","Pass Layout")}}</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5 class="card-title mb-0">QR Placement</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-6">{{createText("id_position","id_position","ID Position")}}</div>
|
|
<div class="col-lg-6">{{createText("name_position","name_position","Name Position")}}</div>
|
|
<div class="col-lg-6">{{createText("email_position","email_position","Email Position")}}</div>
|
|
<div class="col-lg-6">{{createText("qr_position","qr_position","QR Position")}}</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12"><?php createButton("btn-primary btn-store","","Submit"); ?>
|
|
<?php createButton("btn-danger btn-cancel","","Cancel",route('campaigns.index')); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
@endsection
|