Current File : //home/tradevaly/public_html/resources/views/backend/pages/email/index.blade.php |
@extends('backend.ayaan.master')
@push('title') Email @endpush
@push('style')
<style>
.ck-editor__editable_inline {
min-height: 300px;
}
</style>
@endpush
@section('content')
@component('components.breadcrumb')
@slot('li_1') Dashboards @endslot
@slot('title') Email @endslot
@endcomponent
<div class="row">
<div class="col-md-10 mx-auto">
<div class="card bg-light">
<div class="card-body">
<form action="{{route('admin.email.sent')}}" method="post">
@csrf
<div class="form-group row m-3">
<label for="staticEmail" class="col-sm-2 col-form-label text-right">Select User Type *</label>
<div class="col-sm-10">
<select name="user_type" class="form-control border-bottom border-dark ">
<option value="">Select One</option>
<option value="seller">Seller</option>
<option value="buyer">buyer</option>
<option value="all">All</option>
</select>
</div>
</div>
<div class="form-group row m-3">
<label for="staticEmail" class="col-sm-2 col-form-label text-right">Email Subject *</label>
<div class="col-sm-10">
<input type="text" name="email_subject" class="form-control border-bottom border-dark rounded-0" required id="">
</div>
</div>
<div class="form-group row m-3">
<label for="staticEmail" class="col-sm-2 col-form-label text-right">Email Body *</label>
<div class="col-sm-10">
<textarea id="editor" name="email_body" style="height: 250px;"></textarea>
</div>
</div>
<div class="form-group row m-3">
<label class="col-sm-2 col-form-label text-right"></label>
<div class="col-sm-10">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
@stop
@push('script')
<script src="https://cdn.ckeditor.com/ckeditor5/40.0.0/classic/ckeditor.js"></script>
<!--<script src="{{asset('assets/backend/js/plugins/ckeditor.js')}}" type="text/javascript"></script>-->
<script>
ClassicEditor
.create( document.querySelector( '#editor' ) )
.catch( error => {
console.error( error );
} );
</script>
@endpush