first commit
This commit is contained in:
0
resources/views/New Bitmap image.bmp
Normal file
0
resources/views/New Bitmap image.bmp
Normal file
185
resources/views/access/confirmation.blade.php
Normal file
185
resources/views/access/confirmation.blade.php
Normal file
@@ -0,0 +1,185 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
|
||||
<div class="infotext">
|
||||
<h1> Visitor Confirmation</h1>
|
||||
<h5>Welcome <?php echo $data->name; ?></h5>
|
||||
</div>
|
||||
<form>
|
||||
@csrf
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="" disabled value="<?php echo $data->name; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label>
|
||||
<input class="form-control" type="email" value="<?php echo $data->email; ?>" id="from-email" name="email" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->mobile; ?>" id="from-phone" name="mobile" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label>
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_qualification; ?>" id="from-qualifications" name="from-qualifications" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_college; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label>
|
||||
<div class="select-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->intrested_for_country; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label>
|
||||
<input class="form-control" type="text" value="<?php echo $data->remarks; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
background: #9c1e5b;
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #3e2c75;
|
||||
}
|
||||
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
@endpush
|
11
resources/views/access/emails/email-template.blade.php
Normal file
11
resources/views/access/emails/email-template.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>@yield('email_subject')</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
@yield('content')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
26
resources/views/access/emails/enquiry-response.blade.php
Normal file
26
resources/views/access/emails/enquiry-response.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
@component('mail::message')
|
||||
|
||||
Dear {{$formData['name']}},
|
||||
|
||||
Thank you for submitting the online enquiry form. We appreciate your interest in our services. Our team has received your request, and we are excited to assist you.
|
||||
|
||||
You can expect to hear back from our team within the next working day. We are dedicated to providing excellent service and will do our best to address your enquiry thoroughly.
|
||||
|
||||
If you have any further questions or need immediate assistance, feel free to contact us at any time.
|
||||
|
||||
Just for your reference, here below are your submitted details.
|
||||
|
||||
|
||||
- **Name:** {{ $formData['name'] }}
|
||||
- **Email:** {{ $formData['email'] }}
|
||||
- **Phone:** {{ $formData['phone'] }}
|
||||
- **Preferred Destination:** {{ $formData['preferred_destination'] }}
|
||||
- **Mode of Counselling:** {{ $formData['mode_of_counselling'] }}
|
||||
- **Nearest Branch:** {{ $formData['nearest_branch'] }}
|
||||
- **Message:** {{ $formData['message'] }}
|
||||
|
||||
|
||||
Best regards,
|
||||
Access Education Webmaster
|
||||
|
||||
@endcomponent
|
22
resources/views/access/emails/enquiry-submitted.blade.php
Normal file
22
resources/views/access/emails/enquiry-submitted.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
@component('mail::message')
|
||||
# New Online Enquiry Form Submission
|
||||
|
||||
Congratulations on receiving a new online enquiry form submission!
|
||||
|
||||
Your expertise and dedication have attracted yet another prosperous user seeking guidance. We are excited to share the details of the form that has been submitted:
|
||||
|
||||
Thank you for making a difference in people's lives. Keep up the excellent work!
|
||||
|
||||
- **Name:** {{ $formData['name'] }}
|
||||
- **Email:** {{ $formData['email'] }}
|
||||
- **Phone:** {{ $formData['phone'] }}
|
||||
- **Preferred Destination:** {{ $formData['preferred_destination'] }}
|
||||
- **Mode of Counselling:** {{ $formData['mode_of_counselling'] }}
|
||||
- **Nearest Branch:** {{ $formData['nearest_branch'] }}
|
||||
- **Message:** {{ $formData['message'] }}
|
||||
|
||||
|
||||
Best regards,
|
||||
{{env("APP_NAME")}}
|
||||
|
||||
@endcomponent
|
@@ -0,0 +1,20 @@
|
||||
@extends('emails.email-template')
|
||||
@section('content')
|
||||
<p>Dear {{ $formData['name'] }},</p>
|
||||
|
||||
<p><b>Congratulations on successfully registering with Access Education Network!</b></p>
|
||||
|
||||
<p>Welcome to a journey of possibilities and empowerment. Stay tuned for exclusive webinars, discounts, personalized
|
||||
guidance, networking opportunities, and exciting giveaways.</p>
|
||||
|
||||
<p>For any queries, reach us at +977 9801570070 or info@accessnepal.net. We look forward to supporting your educational journey with Access Education Network.</p>
|
||||
|
||||
<h3>Your details:</h3>
|
||||
<p>Name: {{ $formData['name'] }}</p>
|
||||
<p>Email: {{ $formData['email'] }}</p>
|
||||
<p>Phone: {{ $formData['mobile'] }}</p>
|
||||
|
||||
<p>Best regards,<br>Access Education Network </p>
|
||||
<p>+977 9801570070</p>
|
||||
<p>info@accessnepal.net</p>
|
||||
@endsection
|
@@ -0,0 +1,20 @@
|
||||
@extends('emails.email-template')
|
||||
@section('content')
|
||||
<p>Dear {{ $formData['name'] }},</p>
|
||||
|
||||
<p><b>Congratulations on successfully registering with Access Education Network!</b></p>
|
||||
|
||||
<p>Welcome to a journey of possibilities and empowerment. Stay tuned for exclusive webinars, discounts, personalized
|
||||
guidance, networking opportunities, and exciting giveaways.</p>
|
||||
|
||||
<p>For any queries, reach us at +977 9801570070 or info@accessnepal.net. We look forward to supporting your educational journey with Access Education Network.</p>
|
||||
|
||||
<h3>Your details:</h3>
|
||||
<p>Name: {{ $formData['name'] }}</p>
|
||||
<p>Email: {{ $formData['email'] }}</p>
|
||||
<p>Phone: {{ $formData['mobile'] }}</p>
|
||||
|
||||
<p>Best regards,<br>Access Education Network </p>
|
||||
<p>+977 9801570070</p>
|
||||
<p>info@accessnepal.net</p>
|
||||
@endsection
|
0
resources/views/access/form.blade.php
Normal file
0
resources/views/access/form.blade.php
Normal file
625
resources/views/access/home.blade.php
Normal file
625
resources/views/access/home.blade.php
Normal file
@@ -0,0 +1,625 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<img src="<?php
|
||||
|
||||
use App\Models\Campaigns;
|
||||
use App\Models\Sources;
|
||||
|
||||
echo site_url(); ?>access/assets/images/office.jpg" alt="cover-image" class="img-fluid" />
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="form-box">
|
||||
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="<?php echo Sources::first()->source_id;?>" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo Campaigns::first()->campaign_id;?>" />
|
||||
|
||||
|
||||
<div class="titlebox">
|
||||
<h2>
|
||||
PERSONAL INFORMATION
|
||||
</h2>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="form-row">
|
||||
|
||||
<div class="col-lg-2 col-md-3"><label for="from-name">Name:</label><span class="required-input">*</span></div>
|
||||
|
||||
<div class="col-lg-10 col-md-9">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4">
|
||||
<label for="from-dob">Date of Birth:<span class="required-input">*</span></label>
|
||||
</div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-dob" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4"><label for="from-name">Gender:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="inlineCheckbox1" name="gender" value="male">
|
||||
<label class="form-check-label" for="inlineCheckbox1">Male</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="inlineCheckbox2" name="gender" value="female">
|
||||
<label class="form-check-label" for="inlineCheckbox2">Female</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="inlineCheckbox3" name="gender" value="others">
|
||||
<label class="form-check-label" for="inlineCheckbox3">Others</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4"><label for="from-name">Marital Status:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="married" name="marital_status" value="married">
|
||||
<label class="form-check-label" for="married">Married</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="unmarried" name="marital_status" value="unmarried">
|
||||
<label class="form-check-label" for="unmarried">Unmarried</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="divorced" name="marital_status" value="divorced">
|
||||
<label class="form-check-label" for="divorced">Divorced</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label for="from-phone">Tel/Mob Number</label><span class="required-input">*</span>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4"><label for="from-email">Email:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-phone">Address</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="address" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-phone">Guardian's name</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="guardian_name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-phone">Contact:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="address" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3"> <label for="from-phone">Have you applied any country?</label></div>
|
||||
<div class="col-lg-9 col-md-9">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="applied_before">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tabletitle">
|
||||
<h2>
|
||||
ACADEMIC DETAILS
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Degree Obtained</th>
|
||||
<th scope="col">Major</th>
|
||||
<th scope="col">Institution</th>
|
||||
<th scope="col">Score/GPA</th>
|
||||
<th scope="col">Passed Year</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">SLC / SEE</th>
|
||||
<td> </td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="see_school" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="see_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="see_year" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">10+2/CTEVT/PCT</th>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_stream" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_college" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_year" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Bachelor</th>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_stream" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_college" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_year" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Master</th>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_stream" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_college" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_year" ></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4"> <label for="from-phone">Work Experience:</label></div>
|
||||
<div class="col-lg-9 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="experience" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12 mb20">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4"> <label for="from-phone">Your Country of Interest:</label></div>
|
||||
<div class="col-lg-9 col-md-8">
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" >
|
||||
<option value="" selected="" disabled="">Preferred Study Destination</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
|
||||
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6"> <label for="from-test">Test Taken:</label></div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-test" name="preparation_class" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-score">Score:</label></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-score" name="preparation_score" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6"> <label for="from-hdykau">How did you know about us?:</label></div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-hdykau" name="how_you_know">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-ref">Reference:</label></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-ref" name="reference" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6"> <label for="from-other">Other:</label></div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-other" name="other" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">FOR OFFICIAL USE</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" ></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group ">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col-3"><button class="btn btn-primary btn-block" type="submit" id="submitButton">Submit </button></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]);
|
||||
?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download</button>
|
||||
<button type="button" id="downloadQRButton" class="btn btn-success full-width" style="width: 100%;" data-id=''>Download Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
//fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$.registration_id=response.registration_id;
|
||||
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PASS. </p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'access_steps_pass.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
$.registration_id=response.registration_id;
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'access_steps_pass.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'access_steps_pass.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
$('#downloadQRButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = '{{route("pass.generate")}}?id='+$.registration_id;
|
||||
downloadLink.download = 'steps_pass.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mb10{ margin-bottom: 10px;}
|
||||
.mb20{ margin-bottom: 20px;}
|
||||
|
||||
body {
|
||||
background: #E7E8E9;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #FFFFFF;
|
||||
width: 100%;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: #E7E8E9;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.table {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.table thead {
|
||||
background: rgb(2, 0, 36);
|
||||
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(139, 23, 26, 1) 0%, rgba(236, 31, 40, 1) 100%);
|
||||
color: #fff;
|
||||
}
|
||||
.titlebox h2 {
|
||||
background: rgb(2, 0, 36);
|
||||
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(139, 23, 26, 1) 0%, rgba(236, 31, 40, 1) 100%);
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
margin: 10px 0px 20px 0;
|
||||
text-transform: capitalize;
|
||||
padding: 10px 20px;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.tabletitle h2 {
|
||||
background: rgb(2, 0, 36);
|
||||
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(139, 23, 26, 1) 0%, rgba(236, 31, 40, 1) 100%);
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
margin: 10px 0px 0px 0;
|
||||
text-transform: capitalize;
|
||||
padding: 10px 20px;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
/* margin-top: 5%; */
|
||||
/* margin-bottom: 5%; */
|
||||
background-color: #E7E8E9;
|
||||
width: 98%;
|
||||
/* border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #9c1e5b; */
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #ec1f28;
|
||||
border-radius: 5px;
|
||||
/* margin-bottom: 15px; */
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 30px;
|
||||
background: #fff;
|
||||
border: 1px #ef373e solid;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
320
resources/views/access/office-reception.blade.php
Normal file
320
resources/views/access/office-reception.blade.php
Normal file
@@ -0,0 +1,320 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-new-zealand">Study in New Zealand</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
<option value="study-in-uk">Study in UK</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Get Admit Pass <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]); ?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
|
||||
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #083079;
|
||||
}
|
||||
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
621
resources/views/access/office-visits.blade.php
Normal file
621
resources/views/access/office-visits.blade.php
Normal file
@@ -0,0 +1,621 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<img src="<?php echo site_url(); ?>pranjal/assets/images/office.jpg" alt="cover-image" class="img-fluid" />
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="main">
|
||||
<div class="container">
|
||||
<div class="form-box">
|
||||
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="2" />
|
||||
|
||||
|
||||
<div class="titlebox">
|
||||
<h2>
|
||||
PERSONAL INFORMATION
|
||||
</h2>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="form-row">
|
||||
|
||||
<div class="col-lg-2 col-md-3"><label for="from-name">Name:</label><span class="required-input">*</span></div>
|
||||
|
||||
<div class="col-lg-10 col-md-9">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4">
|
||||
<label for="from-dob">Date of Birth:<span class="required-input">*</span></label>
|
||||
</div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-dob" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4"><label for="from-name">Gender:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="inlineCheckbox1" name="gender" value="male">
|
||||
<label class="form-check-label" for="inlineCheckbox1">Male</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="inlineCheckbox2" name="gender" value="female">
|
||||
<label class="form-check-label" for="inlineCheckbox2">Female</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="inlineCheckbox3" name="gender" value="others">
|
||||
<label class="form-check-label" for="inlineCheckbox3">Others</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4"><label for="from-name">Marital Status:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="married" name="marital_status" value="married">
|
||||
<label class="form-check-label" for="married">Married</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="unmarried" name="marital_status" value="unmarried">
|
||||
<label class="form-check-label" for="unmarried">Unmarried</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" id="divorced" name="marital_status" value="divorced">
|
||||
<label class="form-check-label" for="divorced">Divorced</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<label for="from-phone">Tel/Mob Number</label><span class="required-input">*</span>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4"><label for="from-email">Email:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-phone">Address</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="address" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-phone">Guardian's name</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="guardian_name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-phone">Contact:</label><span class="required-input">*</span></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="address" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3"> <label for="from-phone">Have you applied any country?</label></div>
|
||||
<div class="col-lg-9 col-md-9">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="applied_before">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tabletitle">
|
||||
<h2>
|
||||
ACADEMIC DETAILS
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Degree Obtained</th>
|
||||
<th scope="col">Major</th>
|
||||
<th scope="col">Institution</th>
|
||||
<th scope="col">Score/GPA</th>
|
||||
<th scope="col">Passed Year</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">SLC / SEE</th>
|
||||
<td> </td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="see_school" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="see_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="see_year" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">10+2/CTEVT/PCT</th>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_stream" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_college" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="plus2_year" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Bachelor</th>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_stream" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_college" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="bachelors_year" ></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Master</th>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_stream" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_college" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_grade" ></td>
|
||||
<td> <input class="form-control" type="text" id="from-address" name="highest_year" ></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="col-lg-12 col-md-12">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4"> <label for="from-phone">Work Experience:</label></div>
|
||||
<div class="col-lg-9 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-address" name="experience" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 col-md-12 mb20">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4"> <label for="from-phone">Your Country of Interest:</label></div>
|
||||
<div class="col-lg-9 col-md-8">
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" >
|
||||
<option value="" selected="" disabled="">Preferred Study Destination</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
|
||||
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6"> <label for="from-test">Test Taken:</label></div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-test" name="preparation_class" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-score">Score:</label></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-score" name="preparation_score" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6"> <label for="from-hdykau">How did you know about us?:</label></div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-hdykau" name="how_you_know">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 col-md-4"> <label for="from-ref">Reference:</label></div>
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-ref" name="reference" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6"> <label for="from-other">Other:</label></div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="text" id="from-other" name="other" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">FOR OFFICIAL USE</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" ></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group ">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col-3"><button class="btn btn-primary btn-block" type="submit" id="submitButton">Submit </button></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]);
|
||||
?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download QR</button>
|
||||
<button type="button" id="downloadFormButton" class="btn btn-success full-width" style="width: 100%;">Download Form</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$.registration_id=0;
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
//alert(response.registration_id);
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$.registration_id=response.registration_id;
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style='text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PASS. </p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'pranjal_inquiry_form.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
$.registration_id=response.registration_id;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'pranjal_inquiry_form.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'pranjal_inquiry_form.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
$('#downloadFormButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = '{{route("pdf.generate")}}?id='+$.registration_id;
|
||||
downloadLink.download = 'pranjal_inquiry_form.pdf';
|
||||
downloadLink.click();
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mb10{ margin-bottom: 10px;}
|
||||
.mb20{ margin-bottom: 20px;}
|
||||
|
||||
body {
|
||||
background: #d5cdce;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #FFFFFF;
|
||||
width: 100%;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: #d5cdce;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.table {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.table thead {
|
||||
background: rgb(2, 0, 36);
|
||||
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(139, 23, 26, 1) 0%, rgba(236, 31, 40, 1) 100%);
|
||||
color: #fff;
|
||||
}
|
||||
.titlebox h2 {
|
||||
background: rgb(2, 0, 36);
|
||||
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(139, 23, 26, 1) 0%, rgba(236, 31, 40, 1) 100%);
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
margin: 10px 0px 20px 0;
|
||||
text-transform: capitalize;
|
||||
padding: 10px 20px;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.tabletitle h2 {
|
||||
background: rgb(2, 0, 36);
|
||||
background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(139, 23, 26, 1) 0%, rgba(236, 31, 40, 1) 100%);
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
margin: 10px 0px 0px 0;
|
||||
text-transform: capitalize;
|
||||
padding: 10px 20px;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
/* margin-top: 5%; */
|
||||
/* margin-bottom: 5%; */
|
||||
background-color: #d5cdce;
|
||||
width: 98%;
|
||||
/* border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #9c1e5b; */
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #ec1f28;
|
||||
border-radius: 5px;
|
||||
/* margin-bottom: 15px; */
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 30px;
|
||||
background: #fff;
|
||||
border: 1px #ef373e solid;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
336
resources/views/access/old-home.blade.php
Normal file
336
resources/views/access/old-home.blade.php
Normal file
@@ -0,0 +1,336 @@
|
||||
@extends(env('CLIENT_PATH') . '.welcome')
|
||||
@section('content')
|
||||
|
||||
<div class="container">
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo); ?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;
|
||||
?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="3" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required pattern="9\d{9}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-6 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<?php foreach (LMS::getQualifications() as $key) : ?>
|
||||
<option value="{{$key->alias}}">{{$key->title}}</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 col-lg-3">
|
||||
<div class="form-group"><label for="highest_grade">Highest Scored:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="highest_grade" name="highest_grade" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 col-lg-3">
|
||||
<div class="form-group"><label for="highest_year">Passed Year:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="highest_year" name="highest_year" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- <div class="col-12 col-sm-6 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination</option>
|
||||
<option value="UK">Study in UK</option>
|
||||
<option value="Australia">Study in Australia</option>
|
||||
<option value="USA">Study in USA</option>
|
||||
<option value="Canada">Study in Canada</option>
|
||||
<option value="Other Destination">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label>
|
||||
<textarea name="message" class="form-control" rows="5"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Register</button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]);
|
||||
?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- <div id="modal-text-area">
|
||||
</div> -->
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<!-- <div id="canvas-area">
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
$("#submitButton").prop("disabled", true);
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route('registration.submit'); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code +
|
||||
"' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download =
|
||||
'pranjal_educaiton_consultancy_qrcode.png';
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
$("#submitButton").prop("disabled", false);
|
||||
} else if (response.message ==
|
||||
'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download =
|
||||
'pranjal_educaiton_consultancy_qrcode.png';
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code +
|
||||
"' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
$("#submitButton").prop("disabled", false);
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
$("#submitButton").prop("disabled", false);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
fbq('track', 'CompleteRegistration', {
|
||||
currency: "USD",
|
||||
value: 1.00
|
||||
});
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'pranjal_educaiton_consultancy_qrcode.png';
|
||||
downloadLink.click();
|
||||
$("#submitButton").prop("disabled", false);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push('css')
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #9c1e5b;
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #3e2c75;
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
0
resources/views/access/partials/footer.blade.php
Normal file
0
resources/views/access/partials/footer.blade.php
Normal file
0
resources/views/access/partials/header.blade.php
Normal file
0
resources/views/access/partials/header.blade.php
Normal file
57
resources/views/access/partials/seo.blade.php
Normal file
57
resources/views/access/partials/seo.blade.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php // dd($data); ?>
|
||||
<title>
|
||||
<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>
|
||||
</title>
|
||||
<meta name="description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
?>">
|
||||
<meta name="keywords" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_keywords != "") ? $data->seo_keywords : SITEVARS->seo_keywords;
|
||||
} else {
|
||||
echo SITEVARS->seo_keywords;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta name="author" content="Bibhuti Solution Pvt. Ltd.">
|
||||
<meta name="subject" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:title" content="<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>">
|
||||
<meta property="og:description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:image" content="<?php echo site_url(SITEVARS->og_image); ?>">
|
||||
<meta property="og:url" content="<?php echo site_url(); ?>">
|
||||
<meta property="og:site_name" content="<?php echo SITEVARS->title; ?>">
|
||||
<?php if(isset($data))
|
||||
{
|
||||
echo $data->og_tags;
|
||||
}
|
||||
?>
|
BIN
resources/views/access/pdf/fillable-form.pdf
Normal file
BIN
resources/views/access/pdf/fillable-form.pdf
Normal file
Binary file not shown.
0
resources/views/access/pdf/multipage-template
Normal file
0
resources/views/access/pdf/multipage-template
Normal file
BIN
resources/views/access/pdf/multipage-template.pdf
Normal file
BIN
resources/views/access/pdf/multipage-template.pdf
Normal file
Binary file not shown.
0
resources/views/access/pdf/single-page-template
Normal file
0
resources/views/access/pdf/single-page-template
Normal file
190
resources/views/access/welcome.blade.php
Normal file
190
resources/views/access/welcome.blade.php
Normal file
@@ -0,0 +1,190 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo SITEVARS->Campaigns[0]->seo_title; ?> : {{env("APP_NAME")}}</title>
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo SITEVARS->icon; ?>">
|
||||
@if (!View::hasSection('seo'))
|
||||
@include(env("CLIENT_PATH").'.partials.seo')
|
||||
@endif
|
||||
@yield("seo")
|
||||
<!-- Stylesheets -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Responsive -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
|
||||
@stack("css")
|
||||
<?php echo SITEVARS->meta_pixel_code; ?>
|
||||
<style>
|
||||
.sbuttons {
|
||||
bottom: 5%;
|
||||
position: fixed;
|
||||
margin: 1em;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.sbutton {
|
||||
display: block;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
color: white;
|
||||
margin: 20px auto 0;
|
||||
box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18), 0px 4px 12px -7px rgba(0, 0, 0, 0.15);
|
||||
cursor: pointer;
|
||||
-webkit-transition: all .1s ease-out;
|
||||
transition: all .1s ease-out;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sbutton>i {
|
||||
font-size: 38px;
|
||||
line-height: 60px;
|
||||
transition: all .2s ease-in-out;
|
||||
transition-delay: 2s;
|
||||
}
|
||||
|
||||
.sbutton:active,
|
||||
.sbutton:focus,
|
||||
.sbutton:hover {
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child) {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin: 20px auto 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child)>i {
|
||||
font-size: 25px;
|
||||
line-height: 60px;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
|
||||
.sbuttons:hover .sbutton:not(:last-child) {
|
||||
opacity: 1;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin: 15px auto 0;
|
||||
}
|
||||
|
||||
.sbutton:nth-last-child(1) {
|
||||
-webkit-transition-delay: 25ms;
|
||||
transition-delay: 25ms;
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child):nth-last-child(2) {
|
||||
-webkit-transition-delay: 20ms;
|
||||
transition-delay: 20ms;
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child):nth-last-child(3) {
|
||||
-webkit-transition-delay: 40ms;
|
||||
transition-delay: 40ms;
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child):nth-last-child(4) {
|
||||
-webkit-transition-delay: 60ms;
|
||||
transition-delay: 60ms;
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child):nth-last-child(5) {
|
||||
-webkit-transition-delay: 80ms;
|
||||
transition-delay: 80ms;
|
||||
}
|
||||
|
||||
.sbutton:not(:last-child):nth-last-child(6) {
|
||||
-webkit-transition-delay: 100ms;
|
||||
transition-delay: 100ms;
|
||||
}
|
||||
|
||||
[tooltip]:before {
|
||||
font-family: 'Roboto';
|
||||
font-weight: 600;
|
||||
border-radius: 2px;
|
||||
background-color: #585858;
|
||||
color: #fff;
|
||||
content: attr(tooltip);
|
||||
font-size: 12px;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
padding: 5px 7px;
|
||||
margin-left: 10px;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
bottom: 20%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
[tooltip]:hover:before,
|
||||
[tooltip]:hover:after {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sbutton.mainsbutton {
|
||||
background: #2ab1ce;
|
||||
}
|
||||
|
||||
.sbutton.gplus {
|
||||
background: #F44336;
|
||||
}
|
||||
|
||||
.sbutton.pinteres {
|
||||
background: #e60023;
|
||||
}
|
||||
|
||||
.sbutton.twitt {
|
||||
background: #03A9F4;
|
||||
}
|
||||
|
||||
.sbutton.fb {
|
||||
background: #3F51B5;
|
||||
}
|
||||
|
||||
.sbutton.whatsapp {
|
||||
background: #00e676;
|
||||
}
|
||||
|
||||
.sbutton.tiktok {
|
||||
background: #000000;
|
||||
}
|
||||
</style>
|
||||
{!!(SITEVARS->meta_pixel_code)?SITEVARS->meta_pixel_code:""!!}
|
||||
</head>
|
||||
|
||||
|
||||
<body class="hidden-bar-wrapper">
|
||||
<div class="sbuttons">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Main Header-->
|
||||
@include(env("CLIENT_PATH").".partials.header")
|
||||
|
||||
|
||||
@yield("content")
|
||||
|
||||
<!-- End News Section -->
|
||||
@include(env("CLIENT_PATH").".partials.footer")
|
||||
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-up"></span></div>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
185
resources/views/accessb2b/confirmation.blade.php
Normal file
185
resources/views/accessb2b/confirmation.blade.php
Normal file
@@ -0,0 +1,185 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
|
||||
<div class="infotext">
|
||||
<h1> Visitor Confirmation</h1>
|
||||
<h5>Welcome <?php echo $data->name; ?></h5>
|
||||
</div>
|
||||
<form>
|
||||
@csrf
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="" disabled value="<?php echo $data->name; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label>
|
||||
<input class="form-control" type="email" value="<?php echo $data->email; ?>" id="from-email" name="email" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->mobile; ?>" id="from-phone" name="mobile" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label>
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_qualification; ?>" id="from-qualifications" name="from-qualifications" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_college; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label>
|
||||
<div class="select-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->intrested_for_country; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label>
|
||||
<input class="form-control" type="text" value="<?php echo $data->remarks; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
background: #9c1e5b;
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #3e2c75;
|
||||
}
|
||||
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
@endpush
|
11
resources/views/accessb2b/emails/email-template.blade.php
Normal file
11
resources/views/accessb2b/emails/email-template.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>@yield('email_subject')</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
@yield('content')
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
26
resources/views/accessb2b/emails/enquiry-response.blade.php
Normal file
26
resources/views/accessb2b/emails/enquiry-response.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
@component('mail::message')
|
||||
|
||||
Dear {{$formData['name']}},
|
||||
|
||||
Thank you for submitting the online enquiry form. We appreciate your interest in our services. Our team has received your request, and we are excited to assist you.
|
||||
|
||||
You can expect to hear back from our team within the next working day. We are dedicated to providing excellent service and will do our best to address your enquiry thoroughly.
|
||||
|
||||
If you have any further questions or need immediate assistance, feel free to contact us at any time.
|
||||
|
||||
Just for your reference, here below are your submitted details.
|
||||
|
||||
|
||||
- **Name:** {{ $formData['name'] }}
|
||||
- **Email:** {{ $formData['email'] }}
|
||||
- **Phone:** {{ $formData['phone'] }}
|
||||
- **Preferred Destination:** {{ $formData['preferred_destination'] }}
|
||||
- **Mode of Counselling:** {{ $formData['mode_of_counselling'] }}
|
||||
- **Nearest Branch:** {{ $formData['nearest_branch'] }}
|
||||
- **Message:** {{ $formData['message'] }}
|
||||
|
||||
|
||||
Best regards,
|
||||
Access Education Webmaster
|
||||
|
||||
@endcomponent
|
22
resources/views/accessb2b/emails/enquiry-submitted.blade.php
Normal file
22
resources/views/accessb2b/emails/enquiry-submitted.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
@component('mail::message')
|
||||
# New Online Enquiry Form Submission
|
||||
|
||||
Congratulations on receiving a new online enquiry form submission!
|
||||
|
||||
Your expertise and dedication have attracted yet another prosperous user seeking guidance. We are excited to share the details of the form that has been submitted:
|
||||
|
||||
Thank you for making a difference in people's lives. Keep up the excellent work!
|
||||
|
||||
- **Name:** {{ $formData['name'] }}
|
||||
- **Email:** {{ $formData['email'] }}
|
||||
- **Phone:** {{ $formData['phone'] }}
|
||||
- **Preferred Destination:** {{ $formData['preferred_destination'] }}
|
||||
- **Mode of Counselling:** {{ $formData['mode_of_counselling'] }}
|
||||
- **Nearest Branch:** {{ $formData['nearest_branch'] }}
|
||||
- **Message:** {{ $formData['message'] }}
|
||||
|
||||
|
||||
Best regards,
|
||||
{{env("APP_NAME")}}
|
||||
|
||||
@endcomponent
|
@@ -0,0 +1,63 @@
|
||||
@extends('emails.email-template')
|
||||
@section('content')
|
||||
<p>Dear {{ $formData['name'] }},</p>
|
||||
|
||||
<p>
|
||||
<b>Explore the Difference at the wri International Education Fair - Your Path to a Brighter Future!</b>
|
||||
</p>
|
||||
|
||||
<p>Your participation has been confirmed for the upcoming wri International Education Fair, scheduled for Sunday,
|
||||
October 1st, 2023, at our wri office premises in Putalisadak.</p>
|
||||
|
||||
<p>"We lead because we are differently better." This encapsulates our unwavering commitment to excellence and innovation
|
||||
in
|
||||
the realm of international education. We invite you to join us and experience this difference firsthand.</p>
|
||||
|
||||
<p><strong>Here's a glimpse of what awaits you at the wri International Education Fair:</strong></p>
|
||||
<ul>
|
||||
<li>Direct Engagement with University Officials: Gain exclusive access to representatives from renowned universities
|
||||
in
|
||||
Australia, Canada, the UK, and the USA. This rare opportunity enables you to engage directly with experts and
|
||||
gather
|
||||
invaluable insights.
|
||||
</li>
|
||||
<li>Irresistible Offers and Discounts: Discover enticing offers and substantial discounts on tuition fees and
|
||||
related
|
||||
expenses, making world-class education more accessible than ever.
|
||||
</li>
|
||||
<li>Personalized Guidance: Our team of experienced advisors will be on hand to provide personalized counseling,
|
||||
helping
|
||||
you chart your academic journey, navigate application processes, and make informed choices about your future.
|
||||
</li>
|
||||
<li>Up to 100% Scholarships: Learn about a plethora of scholarship opportunities that can potentially cover the
|
||||
entirety
|
||||
of your educational costs, ensuring financial concerns don't hinder your academic ambitions.</li>
|
||||
<li> Fun and Games: Immerse yourself in a day of exciting activities and games, adding an element of enjoyment to
|
||||
your
|
||||
educational exploration.</li>
|
||||
<li> Exciting Gifts: As a token of our appreciation, attendees will have the chance to win captivating prizes,
|
||||
including
|
||||
QFX movie tickets and more.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>We invite you to embrace this exceptional opportunity to embark on your international education journey. Join us at
|
||||
the
|
||||
wri International Education Fair and uncover the unique qualities that set us apart.</p>
|
||||
<p> To RSVP or obtain more details, please reach out to us at 9841327905. We eagerly anticipate your
|
||||
presence at the wri International Education Fair on Sunday, October 1st, 2023 from 10 am to 5 pm. together,
|
||||
let's
|
||||
step into a brighter and more promising future.</P>
|
||||
|
||||
<img src="{{ $message->embed(public_path('wri/assets/images/post_for_mail.jpg')) }}" alt="Embedded Image">
|
||||
|
||||
|
||||
<h3> Just for your reference, here below are your submitted details.</h3>
|
||||
|
||||
<p>Name: {{ $formData['name'] }}</p>
|
||||
<p>Email: {{ $formData['email'] }}</p>
|
||||
<p>Phone: {{ $formData['mobile'] }}</p>
|
||||
<p>Warm regards,</p>
|
||||
<p> wri</p>
|
||||
<p> 9841327905</p>
|
||||
@endsection
|
@@ -0,0 +1,44 @@
|
||||
@extends('emails.email-template')
|
||||
@section('content')
|
||||
<p>Dear {{ $formData['name'] }},</p>
|
||||
|
||||
<h1>Thank You for Registering!</h1>
|
||||
<p>Your participation has been confirmed for the upcoming <strong>Pranjal International Education Fair 2023</strong> scheduled for <strong>1st October, 2023, Sunday</strong> at our wri office premises in <em>Putalisadak Chowk, Putalisadak (way to Bagbazar)</em>!</p>
|
||||
|
||||
<h2>Event Details:</h2>
|
||||
<ul>
|
||||
<li>One Single Day!</li>
|
||||
<li>One Single Place!</li>
|
||||
<li>All your craved study destinations in one place!</li>
|
||||
<li>Meet 150+ University Representatives from <strong>Australia</strong>, <strong>Canada</strong>, <strong>UK</strong>, & <strong>USA</strong>!</li>
|
||||
<li>On Spot Offer Letter, scholarships and more…</li>
|
||||
</ul>
|
||||
|
||||
<p>"<em>We lead because we are differently better."</em> This encapsulates our unwavering commitment to excellence and innovation in the realm of international education. We invite you to join us and experience this difference firsthand.</p>
|
||||
|
||||
<h2>What Awaits You:</h2>
|
||||
<ul>
|
||||
<li>Direct Engagement with University Officials: Gain exclusive access to representatives from renowned universities in Australia, Canada, the UK, and the USA.</li>
|
||||
<li>Irresistible Offers and Discounts: Discover enticing offers and substantial discounts on tuition fees and related expenses, making world-class education more accessible than ever.</li>
|
||||
<li>Personalized Guidance: Our team of experienced advisors will be on hand to provide personalized counseling, helping you chart your academic journey, navigate application processes, and make informed choices about your future.</li>
|
||||
<li>Up to 100% Scholarships: Learn about a plethora of scholarship opportunities that can potentially cover the entirety of your educational costs, ensuring financial concerns don't hinder your academic ambitions.</li>
|
||||
<li>Fun and Games: Immerse yourself in a day of exciting activities and games, adding an element of enjoyment to your educational exploration.</li>
|
||||
<li>Exciting Gifts: As a token of our appreciation, attendees will have the chance to win captivating prizes, including QFX movie tickets and more.</li>
|
||||
</ul>
|
||||
|
||||
<p>We invite you to embrace this exceptional opportunity to embark on your international education journey. Join us at the wri International Education Fair and uncover the unique qualities that set us apart.</p>
|
||||
|
||||
<p>To RSVP or obtain more details, please reach out to us at <strong>WhatsApp 9841327905</strong>. We eagerly anticipate your presence at the wri International Education Fair on <strong>Sunday, October 1st, 2023</strong> from <strong>10 am to 5 pm</strong>. Together, let's step into a brighter and more promising future.</p>
|
||||
|
||||
<img src="{{ $message->embed(public_path('pranjal/assets/images/post_for_mail.jpg')) }}" alt="Embedded Image">
|
||||
|
||||
|
||||
<h3> Just for your reference, here below are your submitted details.</h3>
|
||||
|
||||
<p>Name: {{ $formData['name'] }}</p>
|
||||
<p>Email: {{ $formData['email'] }}</p>
|
||||
<p>Phone: {{ $formData['mobile'] }}</p>
|
||||
<p>Warm regards,</p>
|
||||
<p> wri</p>
|
||||
<p> 9841327905</p>
|
||||
@endsection
|
0
resources/views/accessb2b/form.blade.php
Normal file
0
resources/views/accessb2b/form.blade.php
Normal file
333
resources/views/accessb2b/home.blade.php
Normal file
333
resources/views/accessb2b/home.blade.php
Normal file
@@ -0,0 +1,333 @@
|
||||
@extends(env('CLIENT_PATH') . '.welcome')
|
||||
@section('content')
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo); ?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;
|
||||
?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="3" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required pattern="9\d{9}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-6 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<?php foreach (LMS::getQualifications() as $key) : ?>
|
||||
<option value="{{$key->alias}}">{{$key->title}}</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 col-lg-3">
|
||||
<div class="form-group"><label for="highest_grade">Highest Scored:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="highest_grade" name="highest_grade" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-3 col-lg-3">
|
||||
<div class="form-group"><label for="highest_year">Passed Year:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="highest_year" name="highest_year" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- <div class="col-12 col-sm-6 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination</option>
|
||||
<option value="UK">Study in UK</option>
|
||||
<option value="Australia">Study in Australia</option>
|
||||
<option value="USA">Study in USA</option>
|
||||
<option value="Canada">Study in Canada</option>
|
||||
<option value="Other Destination">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label>
|
||||
<textarea name="message" class="form-control" rows="5"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Register</button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]);
|
||||
?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- <div id="modal-text-area">
|
||||
</div> -->
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<!-- <div id="canvas-area">
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
$("#submitButton").prop("disabled", true);
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route('registration.submit'); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code +
|
||||
"' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download =
|
||||
'pranjal_educaiton_consultancy_qrcode.png';
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
$("#submitButton").prop("disabled", false);
|
||||
} else if (response.message ==
|
||||
'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download =
|
||||
'pranjal_educaiton_consultancy_qrcode.png';
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code +
|
||||
"' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
$("#submitButton").prop("disabled", false);
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
$("#submitButton").prop("disabled", false);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
fbq('track', 'CompleteRegistration', {
|
||||
currency: "USD",
|
||||
value: 1.00
|
||||
});
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'pranjal_educaiton_consultancy_qrcode.png';
|
||||
downloadLink.click();
|
||||
$("#submitButton").prop("disabled", false);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push('css')
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #9c1e5b;
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #3e2c75;
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
320
resources/views/accessb2b/office-reception.blade.php
Normal file
320
resources/views/accessb2b/office-reception.blade.php
Normal file
@@ -0,0 +1,320 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-new-zealand">Study in New Zealand</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
<option value="study-in-uk">Study in UK</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Get Admit Pass <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]); ?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
|
||||
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #083079;
|
||||
}
|
||||
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
326
resources/views/accessb2b/office-visits.blade.php
Normal file
326
resources/views/accessb2b/office-visits.blade.php
Normal file
@@ -0,0 +1,326 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo); ?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;
|
||||
?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
|
||||
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group ">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-primary btn-block" type="submit" id="submitButton">Submit <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]);
|
||||
?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #3e2c75;
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #9c1e5b;
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
0
resources/views/accessb2b/partials/footer.blade.php
Normal file
0
resources/views/accessb2b/partials/footer.blade.php
Normal file
0
resources/views/accessb2b/partials/header.blade.php
Normal file
0
resources/views/accessb2b/partials/header.blade.php
Normal file
57
resources/views/accessb2b/partials/seo.blade.php
Normal file
57
resources/views/accessb2b/partials/seo.blade.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php // dd($data); ?>
|
||||
<title>
|
||||
<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>
|
||||
</title>
|
||||
<meta name="description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
?>">
|
||||
<meta name="keywords" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_keywords != "") ? $data->seo_keywords : SITEVARS->seo_keywords;
|
||||
} else {
|
||||
echo SITEVARS->seo_keywords;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta name="author" content="Bibhuti Solution Pvt. Ltd.">
|
||||
<meta name="subject" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:title" content="<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>">
|
||||
<meta property="og:description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:image" content="<?php echo site_url(SITEVARS->og_image); ?>">
|
||||
<meta property="og:url" content="<?php echo site_url(); ?>">
|
||||
<meta property="og:site_name" content="<?php echo SITEVARS->title; ?>">
|
||||
<?php if(isset($data))
|
||||
{
|
||||
echo $data->og_tags;
|
||||
}
|
||||
?>
|
BIN
resources/views/accessb2b/pdf/fillable-form.pdf
Normal file
BIN
resources/views/accessb2b/pdf/fillable-form.pdf
Normal file
Binary file not shown.
0
resources/views/accessb2b/pdf/multipage-template
Normal file
0
resources/views/accessb2b/pdf/multipage-template
Normal file
BIN
resources/views/accessb2b/pdf/multipage-template.pdf
Normal file
BIN
resources/views/accessb2b/pdf/multipage-template.pdf
Normal file
Binary file not shown.
0
resources/views/accessb2b/pdf/single-page-template
Normal file
0
resources/views/accessb2b/pdf/single-page-template
Normal file
173
resources/views/accessb2b/welcome.blade.php
Normal file
173
resources/views/accessb2b/welcome.blade.php
Normal file
@@ -0,0 +1,173 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo SITEVARS->Campaigns[0]->seo_title;?> : {{env("APP_NAME")}}</title>
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo SITEVARS->icon; ?>">
|
||||
@if (!View::hasSection('seo'))
|
||||
@include(env("CLIENT_PATH").'.partials.seo')
|
||||
@endif
|
||||
@yield("seo")
|
||||
<!-- Stylesheets -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Responsive -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
|
||||
@stack("css")
|
||||
<?php echo SITEVARS->meta_pixel_code; ?>
|
||||
<style>
|
||||
.sbuttons {
|
||||
bottom: 5%;
|
||||
position: fixed;
|
||||
margin: 1em;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
.sbutton {
|
||||
display: block;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
color: white;
|
||||
margin: 20px auto 0;
|
||||
box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18), 0px 4px 12px -7px rgba(0, 0, 0, 0.15);
|
||||
cursor: pointer;
|
||||
-webkit-transition: all .1s ease-out;
|
||||
transition: all .1s ease-out;
|
||||
position: relative;
|
||||
}
|
||||
.sbutton > i {
|
||||
font-size: 38px;
|
||||
line-height: 60px;
|
||||
transition: all .2s ease-in-out;
|
||||
transition-delay: 2s;
|
||||
}
|
||||
.sbutton:active,
|
||||
.sbutton:focus,
|
||||
.sbutton:hover {
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
|
||||
}
|
||||
.sbutton:not(:last-child) {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin: 20px auto 0;
|
||||
opacity: 0;
|
||||
}
|
||||
.sbutton:not(:last-child) > i {
|
||||
font-size: 25px;
|
||||
line-height: 60px;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
.sbuttons:hover .sbutton:not(:last-child) {
|
||||
opacity: 1;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin: 15px auto 0;
|
||||
}
|
||||
.sbutton:nth-last-child(1) {
|
||||
-webkit-transition-delay: 25ms;
|
||||
transition-delay: 25ms;
|
||||
}
|
||||
.sbutton:not(:last-child):nth-last-child(2) {
|
||||
-webkit-transition-delay: 20ms;
|
||||
transition-delay: 20ms;
|
||||
}
|
||||
.sbutton:not(:last-child):nth-last-child(3) {
|
||||
-webkit-transition-delay: 40ms;
|
||||
transition-delay: 40ms;
|
||||
}
|
||||
.sbutton:not(:last-child):nth-last-child(4) {
|
||||
-webkit-transition-delay: 60ms;
|
||||
transition-delay: 60ms;
|
||||
}
|
||||
.sbutton:not(:last-child):nth-last-child(5) {
|
||||
-webkit-transition-delay: 80ms;
|
||||
transition-delay: 80ms;
|
||||
}
|
||||
.sbutton:not(:last-child):nth-last-child(6) {
|
||||
-webkit-transition-delay: 100ms;
|
||||
transition-delay: 100ms;
|
||||
}
|
||||
|
||||
[tooltip]:before {
|
||||
font-family: 'Roboto';
|
||||
font-weight: 600;
|
||||
border-radius: 2px;
|
||||
background-color: #585858;
|
||||
color: #fff;
|
||||
content: attr(tooltip);
|
||||
font-size: 12px;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
padding: 5px 7px;
|
||||
margin-left: 10px;
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
bottom: 20%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
[tooltip]:hover:before,
|
||||
[tooltip]:hover:after {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.sbutton.mainsbutton {
|
||||
background: #2ab1ce;
|
||||
}
|
||||
.sbutton.gplus {
|
||||
background: #F44336;
|
||||
}
|
||||
.sbutton.pinteres {
|
||||
background: #e60023;
|
||||
}
|
||||
.sbutton.twitt {
|
||||
background: #03A9F4;
|
||||
}
|
||||
.sbutton.fb {
|
||||
background: #3F51B5;
|
||||
}
|
||||
.sbutton.whatsapp {
|
||||
background: #00e676;
|
||||
}
|
||||
.sbutton.tiktok {
|
||||
background: #000000;
|
||||
}
|
||||
</style>
|
||||
{!!(SITEVARS->meta_pixel_code)?SITEVARS->meta_pixel_code:""!!}
|
||||
</head>
|
||||
|
||||
|
||||
<body class="hidden-bar-wrapper">
|
||||
<div class="sbuttons">
|
||||
<a href="https://www.tiktok.com/@wri_education_ktm" target="_blank" class="sbutton tiktok" tooltip="Tiktok"><i class="fab fa-tiktok"></i></a>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Main Header-->
|
||||
@include(env("CLIENT_PATH").".partials.header")
|
||||
<div class="container">
|
||||
|
||||
@yield("content")
|
||||
</div>
|
||||
<!-- End News Section -->
|
||||
@include(env("CLIENT_PATH").".partials.footer")
|
||||
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-up"></span></div>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
27
resources/views/auth/confirm-password.blade.php
Normal file
27
resources/views/auth/confirm-password.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<x-guest-layout>
|
||||
<div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
|
||||
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('password.confirm') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Password -->
|
||||
<div>
|
||||
<x-input-label for="password" :value="__('Password')" />
|
||||
|
||||
<x-text-input id="password" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password"
|
||||
required autocomplete="current-password" />
|
||||
|
||||
<x-input-error :messages="$errors->get('password')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<div class="flex justify-end mt-4">
|
||||
<x-primary-button>
|
||||
{{ __('Confirm') }}
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-guest-layout>
|
25
resources/views/auth/forgot-password.blade.php
Normal file
25
resources/views/auth/forgot-password.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<x-guest-layout>
|
||||
<div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
|
||||
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}
|
||||
</div>
|
||||
|
||||
<!-- Session Status -->
|
||||
<x-auth-session-status class="mb-4" :status="session('status')" />
|
||||
|
||||
<form method="POST" action="{{ route('password.email') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Email Address -->
|
||||
<div>
|
||||
<x-input-label for="email" :value="__('Email')" />
|
||||
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
|
||||
<x-input-error :messages="$errors->get('email')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<x-primary-button>
|
||||
{{ __('Email Password Reset Link') }}
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-guest-layout>
|
47
resources/views/auth/login.blade.php
Normal file
47
resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<x-guest-layout>
|
||||
<!-- Session Status -->
|
||||
<x-auth-session-status class="mb-4" :status="session('status')" />
|
||||
|
||||
<form method="POST" action="{{ route('login') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Email Address -->
|
||||
<div>
|
||||
<x-input-label for="email" :value="__('Email')" />
|
||||
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" />
|
||||
<x-input-error :messages="$errors->get('email')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mt-4">
|
||||
<x-input-label for="password" :value="__('Password')" />
|
||||
|
||||
<x-text-input id="password" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password"
|
||||
required autocomplete="current-password" />
|
||||
|
||||
<x-input-error :messages="$errors->get('password')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Remember Me -->
|
||||
<div class="block mt-4">
|
||||
<label for="remember_me" class="inline-flex items-center">
|
||||
<input id="remember_me" type="checkbox" class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800" name="remember">
|
||||
<span class="ml-2 text-sm text-gray-600 dark:text-gray-400">{{ __('Remember me') }}</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
@if (Route::has('password.request'))
|
||||
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your password?') }}
|
||||
</a>
|
||||
@endif
|
||||
|
||||
<x-primary-button class="ml-3">
|
||||
{{ __('Log in') }}
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-guest-layout>
|
49
resources/views/auth/passwords/confirm.blade.php
Normal file
49
resources/views/auth/passwords/confirm.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Confirm Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
{{ __('Please confirm your password before continuing.') }}
|
||||
|
||||
<form method="POST" action="{{ route('password.confirm') }}">
|
||||
@csrf
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row mb-0">
|
||||
<div class="col-md-8 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Confirm Password') }}
|
||||
</button>
|
||||
|
||||
@if (Route::has('password.request'))
|
||||
<a class="btn btn-link" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot Your Password?') }}
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
56
resources/views/auth/passwords/email.blade.php
Normal file
56
resources/views/auth/passwords/email.blade.php
Normal file
@@ -0,0 +1,56 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Reset Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="GET" action="{{ route('user.forgetPassword') }}">
|
||||
<div class="form-group row">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6 mt-2">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" value="{{ old('password') }}" required autocomplete="password" autofocus>
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row mb-0">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Update Password') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
55
resources/views/auth/passwords/reset.blade.php
Normal file
55
resources/views/auth/passwords/reset.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Reset Password') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('user.updatePassword') }}">
|
||||
@csrf
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ $email ?? old('email') }}" required autocomplete="email" autofocus>
|
||||
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row mb-0">
|
||||
<div class="col-md-6 offset-md-4">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('Reset Password') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
52
resources/views/auth/register.blade.php
Normal file
52
resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<x-guest-layout>
|
||||
<form method="POST" action="{{ route('register') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Name -->
|
||||
<div>
|
||||
<x-input-label for="name" :value="__('Name')" />
|
||||
<x-text-input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus autocomplete="name" />
|
||||
<x-input-error :messages="$errors->get('name')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Email Address -->
|
||||
<div class="mt-4">
|
||||
<x-input-label for="email" :value="__('Email')" />
|
||||
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autocomplete="username" />
|
||||
<x-input-error :messages="$errors->get('email')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mt-4">
|
||||
<x-input-label for="password" :value="__('Password')" />
|
||||
|
||||
<x-text-input id="password" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password"
|
||||
required autocomplete="new-password" />
|
||||
|
||||
<x-input-error :messages="$errors->get('password')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Confirm Password -->
|
||||
<div class="mt-4">
|
||||
<x-input-label for="password_confirmation" :value="__('Confirm Password')" />
|
||||
|
||||
<x-text-input id="password_confirmation" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password_confirmation" required autocomplete="new-password" />
|
||||
|
||||
<x-input-error :messages="$errors->get('password_confirmation')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('login') }}">
|
||||
{{ __('Already registered?') }}
|
||||
</a>
|
||||
|
||||
<x-primary-button class="ml-4">
|
||||
{{ __('Register') }}
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-guest-layout>
|
39
resources/views/auth/reset-password.blade.php
Normal file
39
resources/views/auth/reset-password.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<x-guest-layout>
|
||||
<form method="POST" action="{{ route('password.store') }}">
|
||||
@csrf
|
||||
|
||||
<!-- Password Reset Token -->
|
||||
<input type="hidden" name="token" value="{{ $request->route('token') }}">
|
||||
|
||||
<!-- Email Address -->
|
||||
<div>
|
||||
<x-input-label for="email" :value="__('Email')" />
|
||||
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email', $request->email)" required autofocus autocomplete="username" />
|
||||
<x-input-error :messages="$errors->get('email')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Password -->
|
||||
<div class="mt-4">
|
||||
<x-input-label for="password" :value="__('Password')" />
|
||||
<x-text-input id="password" class="block mt-1 w-full" type="password" name="password" required autocomplete="new-password" />
|
||||
<x-input-error :messages="$errors->get('password')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<!-- Confirm Password -->
|
||||
<div class="mt-4">
|
||||
<x-input-label for="password_confirmation" :value="__('Confirm Password')" />
|
||||
|
||||
<x-text-input id="password_confirmation" class="block mt-1 w-full"
|
||||
type="password"
|
||||
name="password_confirmation" required autocomplete="new-password" />
|
||||
|
||||
<x-input-error :messages="$errors->get('password_confirmation')" class="mt-2" />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
<x-primary-button>
|
||||
{{ __('Reset Password') }}
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
</x-guest-layout>
|
31
resources/views/auth/verify-email.blade.php
Normal file
31
resources/views/auth/verify-email.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<x-guest-layout>
|
||||
<div class="mb-4 text-sm text-gray-600 dark:text-gray-400">
|
||||
{{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }}
|
||||
</div>
|
||||
|
||||
@if (session('status') == 'verification-link-sent')
|
||||
<div class="mb-4 font-medium text-sm text-green-600 dark:text-green-400">
|
||||
{{ __('A new verification link has been sent to the email address you provided during registration.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="mt-4 flex items-center justify-between">
|
||||
<form method="POST" action="{{ route('verification.send') }}">
|
||||
@csrf
|
||||
|
||||
<div>
|
||||
<x-primary-button>
|
||||
{{ __('Resend Verification Email') }}
|
||||
</x-primary-button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
|
||||
<button type="submit" class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">
|
||||
{{ __('Log Out') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</x-guest-layout>
|
28
resources/views/auth/verify.blade.php
Normal file
28
resources/views/auth/verify.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('resent'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ __('A fresh verification link has been sent to your email address.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('Before proceeding, please check your email for a verification link.') }}
|
||||
{{ __('If you did not receive the email') }},
|
||||
<form class="d-inline" method="POST" action="{{ route('verification.resend') }}">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">{{ __('click here to request another') }}</button>.
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
251
resources/views/backend/ajaxtemplate.blade.php
Normal file
251
resources/views/backend/ajaxtemplate.blade.php
Normal file
@@ -0,0 +1,251 @@
|
||||
<!doctype html>
|
||||
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<title>{{env("APP_NAME")}} </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="{{env('APP_NAME')}} Admin & Dashboard" name="description" />
|
||||
<meta content="Bibhuti" name="author" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<script>
|
||||
window.appUrl = "{{ env('APP_URL') }}";
|
||||
var route_prefix = "{{env('APP_URL')}}/files";
|
||||
</script>
|
||||
|
||||
<!-- App favicon -->
|
||||
<link rel="shortcut icon" href="assets/images/favicon.ico">
|
||||
|
||||
<link rel="shortcut icon" href="{{ asset('assets/images/favicon.ico') }}">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- gridjs css -->
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/gridjs/theme/mermaid.min.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/classic.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/monolith.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/nano.min.css') }}">
|
||||
<!-- Layout config Js -->
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="{{ asset('assets/js/layout.js') }}"></script>
|
||||
<!-- Bootstrap Css -->
|
||||
<link href="{{ asset('assets/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!-- Icons Css -->
|
||||
<link href="{{ asset('assets/css/icons.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!-- App Css-->
|
||||
<link href="{{ asset('assets/css/app.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- jsvectormap css -->
|
||||
<link href="https://cdn.datatables.net/1.13.5/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
<!-- custom Css-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stack("css")
|
||||
<link href="{{ asset('assets/css/custom.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
.auth-one-bg .bg-overlay {
|
||||
background: linear-gradient(to right, #bf2628, #b9070a);
|
||||
opacity: .9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="file-detail-show">
|
||||
|
||||
<!-- Begin page -->
|
||||
@yield("content")
|
||||
|
||||
<!-- END layout-wrapper -->
|
||||
|
||||
|
||||
|
||||
<!--start back-to-top-->
|
||||
<?php /*
|
||||
@include("backend.parts.customizer")
|
||||
*/ ?>
|
||||
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
|
||||
|
||||
<style>
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 38px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
}
|
||||
</style>
|
||||
<script src="{{ asset('assets/libs/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/simplebar/simplebar.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/node-waves/waves.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/feather-icons/feather.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/js/pages/plugins/lord-icon-2.1.0.js') }}"></script>
|
||||
|
||||
|
||||
<!-- Modern colorpicker bundle -->
|
||||
<script src="{{asset('assets/libs/%40simonwep/pickr/pickr.min.js')}}"></script>
|
||||
|
||||
|
||||
<!-- init js -->
|
||||
<script src="{{ asset('assets/js/pages/form-pickers.init.js')}}"></script>
|
||||
|
||||
<!-- App js -->
|
||||
<script src="{{ asset('assets/js/app.js') }}"></script>
|
||||
<script src="{{asset('vendor/laravel-filemanager/js/stand-alone-button.js')}}"></script>
|
||||
|
||||
<!-- Vector map-->
|
||||
<script src="{{ asset('assets/libs/jsvectormap/js/jsvectormap.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/jsvectormap/maps/world-merc.js') }}"></script>
|
||||
|
||||
<!-- gridjs js -->
|
||||
<script src="{{ asset('assets/libs/gridjs/gridjs.umd.js') }}"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.14.0/Sortable.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.10.0/dist/js/bootstrap-datepicker.min.js"></script>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.10.0/dist/css/bootstrap-datepicker3.min.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/classic/ckeditor.js"></script> -->
|
||||
<script src="https://cdn.ckeditor.com/4.16.2/full/ckeditor.js"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var baseUrl = '{{ env("APP_URL") }}'; // Replace with your base URL
|
||||
|
||||
var textareas = document.querySelectorAll('.ckeditor-classic');
|
||||
for (var i = 0; i < textareas.length; i++) {
|
||||
CKEDITOR.replace(textareas[i], {
|
||||
// height: 100,
|
||||
filebrowserImageBrowseUrl: baseUrl + '/files?type=Images',
|
||||
filebrowserImageUploadUrl: baseUrl + '/files/upload?type=Images&_token={{ csrf_token() }}',
|
||||
filebrowserBrowseUrl: baseUrl + '/files?type=Files',
|
||||
filebrowserUploadUrl: baseUrl + '/files/upload?type=Files&_token={{ csrf_token() }}',
|
||||
filebrowserImageUploadPath: '/storage/photos', // Adjust the path as per your requirements
|
||||
filebrowserUploadPath: '/storage/files', // Adjust the path as per your requirements
|
||||
baseHref: baseUrl + '/', // Set the baseHref to the baseUrl
|
||||
filebrowserImageBrowseCallback: function(url) {
|
||||
var relativePath = url.replace(baseUrl + '/', '');
|
||||
alert("COW");
|
||||
onSelectFile(relativePath); // Call your custom function with the relative path
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
function onSelectFile(url) {
|
||||
// Use the relative path as needed
|
||||
console.log(url);
|
||||
}
|
||||
|
||||
jQuery(document).ready(function($) {
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
autoclose: true
|
||||
});
|
||||
$('.select2').select2({});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
// $('#lfm').filemanager('image', {prefix: route_prefix});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var lfm = function(id, type, options) {
|
||||
let button = document.getElementById(id);
|
||||
|
||||
button.addEventListener('click', function() {
|
||||
var route_prefix = (options && options.prefix) ? options.prefix : '/filemanager';
|
||||
var target_input = document.getElementById(button.getAttribute('data-input'));
|
||||
var target_preview = document.getElementById(button.getAttribute('data-preview'));
|
||||
var multiple_selection = (options && options.multi_selection) ? options.multi_selection : false;
|
||||
// alert(multiple_selection);
|
||||
window.open(route_prefix + '?type=' + options.type || 'file', 'FileManager', 'width=900,height=600');
|
||||
window.SetUrl = function(items) {
|
||||
var file_path = items.map(function(item) {
|
||||
return item.url;
|
||||
}).join(',');
|
||||
|
||||
// set the value of the desired input to image url
|
||||
target_input.value = file_path;
|
||||
target_input.dispatchEvent(new Event('change'));
|
||||
|
||||
// clear previous preview
|
||||
target_preview.innerHtml = '';
|
||||
|
||||
// set or change the preview image src
|
||||
items.forEach(function(item) {
|
||||
let img = document.createElement('img')
|
||||
img.setAttribute('style', 'height: 5rem')
|
||||
img.setAttribute('src', item.thumb_url)
|
||||
if (!multiple_selection) target_preview.innerHTML = '';
|
||||
target_preview.appendChild(img);
|
||||
});
|
||||
|
||||
// trigger change event
|
||||
target_preview.dispatchEvent(new Event('change'));
|
||||
};
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script>
|
||||
// When the document is ready
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let success = "{{ Session::pull('success', '') }}";
|
||||
|
||||
// If there is a success message in the session data
|
||||
if (success !== '') {
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Success',
|
||||
text: success
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@if(isset($GLOBALS['scripts']))
|
||||
{!! implode(PHP_EOL, $GLOBALS['scripts']) !!}
|
||||
@endif
|
||||
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
172
resources/views/backend/dashboard.blade.php
Normal file
172
resources/views/backend/dashboard.blade.php
Normal file
@@ -0,0 +1,172 @@
|
||||
@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">Welcome to {{env("APP_NAME")}}</h4>
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboard</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
<div class="row project-wrapper">
|
||||
<div class="col-xxl-12">
|
||||
<div class="row">
|
||||
<div class="col-xl-4">
|
||||
<div class="card card-animate">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="avatar-sm flex-shrink-0">
|
||||
<span class="avatar-title bg-soft-primary text-primary rounded-2 fs-2">
|
||||
<i data-feather="users" class="text-primary"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-hidden ms-3">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-3">Total Leads</p>
|
||||
<div class="d-flex align-items-center mb-3">
|
||||
<h4 class="fs-4 flex-grow-1 mb-0"><span class="counter-value" data-target="{{LMS::leadsCount()}}">0</span></h4>
|
||||
<a href="{{route('registrations.index')}}">View All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
<div class="col-xl-4">
|
||||
<div class="card card-animate">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="avatar-sm flex-shrink-0">
|
||||
<span class="avatar-title bg-soft-warning text-warning rounded-2 fs-2">
|
||||
<i data-feather="edit" class="text-warning"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-grow-1 ms-3">
|
||||
<p class="text-uppercase fw-medium text-muted mb-3">Countries</p>
|
||||
<div class="d-flex align-items-center mb-3">
|
||||
<h4 class="fs-4 flex-grow-1 mb-0"><span class="counter-value" data-target="{{LMS::countriesCount()}}">0</span></h4>
|
||||
<a href="{{route('countries.index')}}">View All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
<div class="col-xl-4">
|
||||
<div class="card card-animate">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="avatar-sm flex-shrink-0">
|
||||
<span class="avatar-title bg-soft-info text-info rounded-2 fs-2">
|
||||
<i data-feather="calendar" class="text-info"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-hidden ms-3">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-3">Total Campaigns</p>
|
||||
<div class="d-flex align-items-center mb-3">
|
||||
<h4 class="fs-4 flex-grow-1 mb-0"><span class="counter-value" data-target="{{LMS::campaignsCount()}}">0</span></h4>
|
||||
<a href="{{route('campaigns.index')}}">View All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
</div><!-- end row -->
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="card card-height-100">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<h4 class="card-title flex-grow-1 mb-0">Recent Leads</h4>
|
||||
</div><!-- end cardheader -->
|
||||
<div class="card-body">
|
||||
<div class="table-responsive table-card">
|
||||
<table class="table table-nowrap table-centered align-middle dataTable ">
|
||||
<thead class="bg-light text-muted">
|
||||
<tr>
|
||||
<th scope="col" style="width: 10%;">Date</th>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Phone</th>
|
||||
<th scope="col">Qualification</th>
|
||||
<th scope="col">Form</th>
|
||||
</tr><!-- end tr -->
|
||||
</thead><!-- thead -->
|
||||
<tbody>
|
||||
<?php foreach (LMS::getLeads(30) as $Lead) : ?>
|
||||
<tr>
|
||||
<td class="text-muted">{{mydate($Lead->created_at)}}</td>
|
||||
<td class="fw-medium">{{$Lead->registration_id}}</td>
|
||||
<td class="fw-medium">{{$Lead->name}}</td>
|
||||
<td><a href="tel:{{$Lead->mobile}}" class="text-reset">{{$Lead->mobile}}</a></td>
|
||||
<td><a href="#" class="text-reset">{{$Lead->highest_qualification}}</a></td>
|
||||
<td><a href="{{route('pdf.generate')}}?id={{$Lead->registration_id}}" class="dropdown-item edit-item-btn">{{label("Print Form")}}</a></td>
|
||||
</tr><!-- end tr -->
|
||||
<?php endforeach; ?>
|
||||
</tbody><!-- end tbody -->
|
||||
</table><!-- end table -->
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div><!-- end card -->
|
||||
</div><!-- end col -->
|
||||
</div><!-- end row -->
|
||||
</div><!-- end col -->
|
||||
<div class="col-xxl-12">
|
||||
<div class="card">
|
||||
<div class="card-header align-items-center d-flex">
|
||||
<h4 class="card-title mb-0 flex-grow-1">Today's Followup</h4>
|
||||
</div><!-- end card header -->
|
||||
<div class="card-body">
|
||||
<div class="table-responsive table-card">
|
||||
<table class="table table-nowrap table-centered align-middle">
|
||||
<thead class="bg-light text-muted">
|
||||
<tr>
|
||||
<th scope="col" style="width: 10%;">Date</th>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Phone</th>
|
||||
<th scope="col">Source</th>
|
||||
<th scope="col">Country</th>
|
||||
</tr><!-- end tr -->
|
||||
</thead><!-- thead -->
|
||||
<tbody>
|
||||
<?php foreach (LMS::getLeads(10) as $Lead) : ?>
|
||||
<tr>
|
||||
<td class="text-muted">{{mydate($Lead->created_at)}}</td>
|
||||
<td class="fw-medium">{{$Lead->registration_id}}</td>
|
||||
<td class="fw-medium">{{$Lead->name}}</td>
|
||||
<td><a href="tel:{{$Lead->mobile}}" class="text-reset">{{$Lead->mobile}}</a></td>
|
||||
<td><a href="{{route('registrations.bysource',$Lead->Source->alias)}}" class="text-reset">{{$Lead->Source->title}}</a></td>
|
||||
<td><a href="{{route('registrations.bycountry',$Lead->Country->alias)}}" class="text-reset">{{$Lead->Country->title}}</a></td>
|
||||
</tr><!-- end tr -->
|
||||
<?php endforeach; ?>
|
||||
</tbody><!-- end tbody -->
|
||||
</table><!-- end table -->
|
||||
</div>
|
||||
</div><!-- end cardbody -->
|
||||
</div><!-- end card -->
|
||||
</div><!-- end col -->
|
||||
</div><!-- end row -->
|
||||
@endsection
|
||||
@push("js")
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/pdfmake.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/vfs_fonts.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/1.13.5/js/jquery.dataTables.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/2.4.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/rowreorder/1.4.0/js/dataTables.rowReorder.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script>
|
||||
var mytable = $(".dataTable").DataTable({
|
||||
ordering: true,
|
||||
rowReorder: {
|
||||
//selector: 'tr'
|
||||
},
|
||||
});
|
||||
</script>
|
||||
@endpush
|
67
resources/views/backend/header.blade.php
Normal file
67
resources/views/backend/header.blade.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<header id="page-topbar">
|
||||
<div class="layout-width">
|
||||
<div class="navbar-header">
|
||||
<div class="d-flex">
|
||||
<!-- LOGO -->
|
||||
<div class="navbar-brand-box horizontal-logo">
|
||||
<a href="{{route('admin.dashboard')}}" class="logo logo-dark">
|
||||
<span class="logo-sm">
|
||||
<img src="{{asset('assets/images/logo-sm.png')}}" alt="" height="22">
|
||||
</span>
|
||||
<span class="logo-lg">
|
||||
<img src="{{asset('assets/images/logo-dark.png')}}" alt="" height="17">
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a href="{{route('admin.dashboard')}}" class="logo logo-light">
|
||||
<span class="logo-sm">
|
||||
<img src="{{asset('assets/images/logo-sm.png')}}" alt="" height="22">
|
||||
</span>
|
||||
<span class="logo-lg">
|
||||
<img src="{{asset('assets/images/logo-light.png')}}" alt="" height="17">
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<button type="button" class="btn btn-sm px-3 fs-16 header-item vertical-menu-btn topnav-hamburger" id="topnav-hamburger-icon">
|
||||
<span class="hamburger-icon">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
||||
<?php /*
|
||||
@include("backend.parts.search")
|
||||
|
||||
*/ ?>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="ms-1 header-item d-none d-sm-flex">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle" data-toggle="fullscreen">
|
||||
<i class='bx bx-fullscreen fs-22'></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="ms-1 header-item d-none d-sm-flex">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle light-dark-mode">
|
||||
<i class='bx bx-moon fs-22'></i>
|
||||
</button>
|
||||
</div>
|
||||
<?php /*
|
||||
@include("backend.parts.ghost")
|
||||
@include("backend.parts.lang")
|
||||
@include("backend.parts.apps")
|
||||
@include("backend.parts.cart")
|
||||
@include("backend.parts.notifications")
|
||||
@include("backend.parts.profile")
|
||||
*/ ?>
|
||||
@include("backend.parts.profile")
|
||||
<div id="removeNotificationModal">
|
||||
<!-- Modal content -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
59
resources/views/backend/list-companyarticles.blade.php
Normal file
59
resources/views/backend/list-companyarticles.blade.php
Normal file
@@ -0,0 +1,59 @@
|
||||
articles@extends('backend.template')
|
||||
@section('content')
|
||||
<div class="card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h2>{{ label("articles List") }}</h2>
|
||||
<a href="{{ route('articles.create') }}" class="btn btn-primary"><span>{{label("Create New")}}</span></a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table dataTable">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th class="tb-col"><span class="overline-title">{{label("Sn.")}}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("parent_article") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("title") }}</span></th>
|
||||
<th class="tb-col"><span class="overline-title">{{ label("alias") }}</span></th>
|
||||
<th class="tb-col" data-sortable="false"><span class="overline-title">{{ label("Action") }}</span>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@php
|
||||
$i = 1;
|
||||
@endphp
|
||||
@foreach ($data as $item)
|
||||
<tr>
|
||||
<td class="tb-col">{{ $i++ }}</td>
|
||||
<td class="tb-col">{{ $item->parent_article }}</td>
|
||||
<td class="tb-col">{{ $item->title }}</td>
|
||||
<td class="tb-col">{{ $item->alias }}</td>
|
||||
<td class="tb-col">
|
||||
<div class="dropdown d-inline-block">
|
||||
<button class="btn btn-soft-secondary btn-sm dropdown" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="ri-more-fill align-middle"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a href="{{route('articles.show',[$item->article_id])}}" class="dropdown-item"><i class="ri-eye-fill align-bottom me-2 text-muted"></i> {{label("View")}}</a></li>
|
||||
<li><a href="{{route('articles.edit',[$item->article_id])}}" class="dropdown-item edit-item-btn"><i class="ri-pencil-fill align-bottom me-2 text-muted"></i> {{label("Edit")}}</a></li>
|
||||
<li>
|
||||
<a class="dropdown-item remove-item-btn" data-route="{{route('articles.destroy',[$item->article_id])}}">
|
||||
<i class="ri-delete-bin-fill align-bottom me-2 text-muted"></i> {{label("Delete")}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<textarea rows="20" class="form-control">{{App\Http\Controllers\GeneralFormController::listContent("tbl_articles","")}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
62
resources/views/backend/parts/apps.blade.php
Normal file
62
resources/views/backend/parts/apps.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<div class="dropdown topbar-head-dropdown ms-1 header-item">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class='bx bx-category-alt fs-22'></i>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-lg p-0 dropdown-menu-end">
|
||||
<div class="p-3 border-top-0 border-start-0 border-end-0 border-dashed border">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<h6 class="m-0 fw-semibold fs-15"> Web Apps </h6>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<a href="#!" class="btn btn-sm btn-soft-info"> View All Apps
|
||||
<i class="ri-arrow-right-s-line align-middle"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-2">
|
||||
<div class="row g-0">
|
||||
<div class="col">
|
||||
<a class="dropdown-icon-item" href="#!">
|
||||
<img src="assets/images/brands/github.png" alt="Github">
|
||||
<span>GitHub</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a class="dropdown-icon-item" href="#!">
|
||||
<img src="assets/images/brands/bitbucket.png" alt="bitbucket">
|
||||
<span>Bitbucket</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a class="dropdown-icon-item" href="#!">
|
||||
<img src="assets/images/brands/dribbble.png" alt="dribbble">
|
||||
<span>Dribbble</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-0">
|
||||
<div class="col">
|
||||
<a class="dropdown-icon-item" href="#!">
|
||||
<img src="assets/images/brands/dropbox.png" alt="dropbox">
|
||||
<span>Dropbox</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a class="dropdown-icon-item" href="#!">
|
||||
<img src="assets/images/brands/mail_chimp.png" alt="mail_chimp">
|
||||
<span>Mail Chimp</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col">
|
||||
<a class="dropdown-icon-item" href="#!">
|
||||
<img src="assets/images/brands/slack.png" alt="slack">
|
||||
<span>Slack</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
146
resources/views/backend/parts/cart.blade.php
Normal file
146
resources/views/backend/parts/cart.blade.php
Normal file
@@ -0,0 +1,146 @@
|
||||
<div class="dropdown topbar-head-dropdown ms-1 header-item">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle" id="page-header-cart-dropdown" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-haspopup="true" aria-expanded="false">
|
||||
<i class='bx bx-shopping-bag fs-22'></i>
|
||||
<span class="position-absolute topbar-badge cartitem-badge fs-10 translate-middle badge rounded-pill bg-info">5</span>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-xl dropdown-menu-end p-0 dropdown-menu-cart" aria-labelledby="page-header-cart-dropdown">
|
||||
<div class="p-3 border-top-0 border-start-0 border-end-0 border-dashed border">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<h6 class="m-0 fs-16 fw-semibold"> My Cart</h6>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<span class="badge badge-soft-warning fs-13"><span class="cartitem-badge">7</span>
|
||||
items</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div data-simplebar style="max-height: 300px;">
|
||||
<div class="p-2">
|
||||
<div class="text-center empty-cart" id="empty-cart">
|
||||
<div class="avatar-md mx-auto my-3">
|
||||
<div class="avatar-title bg-soft-info text-info fs-36 rounded-circle">
|
||||
<i class='bx bx-cart'></i>
|
||||
</div>
|
||||
</div>
|
||||
<h5 class="mb-3">Your Cart is Empty!</h5>
|
||||
<a href="apps-ecommerce-products.html" class="btn btn-success w-md mb-3">Shop Now</a>
|
||||
</div>
|
||||
<div class="d-block dropdown-item dropdown-item-cart text-wrap px-3 py-2">
|
||||
<div class="d-flex align-items-center">
|
||||
<img src="assets/images/products/img-1.png" class="me-3 rounded-circle avatar-sm p-2 bg-light" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="mt-0 mb-1 fs-14">
|
||||
<a href="apps-ecommerce-product-details.html" class="text-reset">Branded
|
||||
T-Shirts</a>
|
||||
</h6>
|
||||
<p class="mb-0 fs-12 text-muted">
|
||||
Quantity: <span>10 x $32</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2">
|
||||
<h5 class="m-0 fw-normal">$<span class="cart-item-price">320</span></h5>
|
||||
</div>
|
||||
<div class="ps-2">
|
||||
<button type="button" class="btn btn-icon btn-sm btn-ghost-secondary remove-item-btn"><i class="ri-close-fill fs-16"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-block dropdown-item dropdown-item-cart text-wrap px-3 py-2">
|
||||
<div class="d-flex align-items-center">
|
||||
<img src="assets/images/products/img-2.png" class="me-3 rounded-circle avatar-sm p-2 bg-light" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="mt-0 mb-1 fs-14">
|
||||
<a href="apps-ecommerce-product-details.html" class="text-reset">Bentwood Chair</a>
|
||||
</h6>
|
||||
<p class="mb-0 fs-12 text-muted">
|
||||
Quantity: <span>5 x $18</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2">
|
||||
<h5 class="m-0 fw-normal">$<span class="cart-item-price">89</span></h5>
|
||||
</div>
|
||||
<div class="ps-2">
|
||||
<button type="button" class="btn btn-icon btn-sm btn-ghost-secondary remove-item-btn"><i class="ri-close-fill fs-16"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-block dropdown-item dropdown-item-cart text-wrap px-3 py-2">
|
||||
<div class="d-flex align-items-center">
|
||||
<img src="assets/images/products/img-3.png" class="me-3 rounded-circle avatar-sm p-2 bg-light" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="mt-0 mb-1 fs-14">
|
||||
<a href="apps-ecommerce-product-details.html" class="text-reset">
|
||||
Borosil Paper Cup</a>
|
||||
</h6>
|
||||
<p class="mb-0 fs-12 text-muted">
|
||||
Quantity: <span>3 x $250</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2">
|
||||
<h5 class="m-0 fw-normal">$<span class="cart-item-price">750</span></h5>
|
||||
</div>
|
||||
<div class="ps-2">
|
||||
<button type="button" class="btn btn-icon btn-sm btn-ghost-secondary remove-item-btn"><i class="ri-close-fill fs-16"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-block dropdown-item dropdown-item-cart text-wrap px-3 py-2">
|
||||
<div class="d-flex align-items-center">
|
||||
<img src="assets/images/products/img-6.png" class="me-3 rounded-circle avatar-sm p-2 bg-light" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="mt-0 mb-1 fs-14">
|
||||
<a href="apps-ecommerce-product-details.html" class="text-reset">Gray
|
||||
Styled T-Shirt</a>
|
||||
</h6>
|
||||
<p class="mb-0 fs-12 text-muted">
|
||||
Quantity: <span>1 x $1250</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2">
|
||||
<h5 class="m-0 fw-normal">$ <span class="cart-item-price">1250</span></h5>
|
||||
</div>
|
||||
<div class="ps-2">
|
||||
<button type="button" class="btn btn-icon btn-sm btn-ghost-secondary remove-item-btn"><i class="ri-close-fill fs-16"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-block dropdown-item dropdown-item-cart text-wrap px-3 py-2">
|
||||
<div class="d-flex align-items-center">
|
||||
<img src="assets/images/products/img-5.png" class="me-3 rounded-circle avatar-sm p-2 bg-light" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="mt-0 mb-1 fs-14">
|
||||
<a href="apps-ecommerce-product-details.html" class="text-reset">Stillbird Helmet</a>
|
||||
</h6>
|
||||
<p class="mb-0 fs-12 text-muted">
|
||||
Quantity: <span>2 x $495</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2">
|
||||
<h5 class="m-0 fw-normal">$<span class="cart-item-price">990</span></h5>
|
||||
</div>
|
||||
<div class="ps-2">
|
||||
<button type="button" class="btn btn-icon btn-sm btn-ghost-secondary remove-item-btn"><i class="ri-close-fill fs-16"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-3 border-bottom-0 border-start-0 border-end-0 border-dashed border" id="checkout-elem">
|
||||
<div class="d-flex justify-content-between align-items-center pb-3">
|
||||
<h5 class="m-0 text-muted">Total:</h5>
|
||||
<div class="px-2">
|
||||
<h5 class="m-0" id="cart-item-total">$1258.58</h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="apps-ecommerce-checkout.html" class="btn btn-success text-center w-100">
|
||||
Checkout
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
754
resources/views/backend/parts/customizer.blade.php
Normal file
754
resources/views/backend/parts/customizer.blade.php
Normal file
@@ -0,0 +1,754 @@
|
||||
<button onclick="topFunction()" class="btn btn-danger btn-icon" id="back-to-top">
|
||||
<i class="ri-arrow-up-line"></i>
|
||||
</button>
|
||||
<!--end back-to-top-->
|
||||
|
||||
<!--preloader-->
|
||||
<div id="preloader">
|
||||
<div id="status">
|
||||
<div class="spinner-border text-primary avatar-sm" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="customizer-setting d-none d-md-block">
|
||||
<div class="btn-info btn-rounded shadow-lg btn btn-icon btn-lg p-2" data-bs-toggle="offcanvas" data-bs-target="#theme-settings-offcanvas" aria-controls="theme-settings-offcanvas">
|
||||
<i class='mdi mdi-spin mdi-cog-outline fs-22'></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Theme Settings -->
|
||||
<div class="offcanvas offcanvas-end border-0" tabindex="-1" id="theme-settings-offcanvas">
|
||||
<div class="d-flex align-items-center bg-primary bg-gradient p-3 offcanvas-header">
|
||||
<h5 class="m-0 me-2 text-white">Layout Customizer</h5>
|
||||
|
||||
<button type="button" class="btn-close btn-close-white ms-auto" id="customizerclose-btn" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body p-0">
|
||||
<div data-simplebar class="h-100">
|
||||
<div class="p-4">
|
||||
<h6 class="mb-0 fw-semibold text-uppercase">Layout</h6>
|
||||
<p class="text-muted">Choose your layout</p>
|
||||
|
||||
<div class="row gy-3">
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input id="customizer-layout01" name="data-layout" type="radio" value="vertical" class="form-check-input">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="customizer-layout01">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Vertical</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input id="customizer-layout02" name="data-layout" type="radio" value="horizontal" class="form-check-input">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="customizer-layout02">
|
||||
<span class="d-flex h-100 flex-column gap-1">
|
||||
<span class="bg-light d-flex p-1 gap-1 align-items-center">
|
||||
<span class="d-block p-1 bg-soft-primary rounded me-1"></span>
|
||||
<span class="d-block p-1 pb-0 px-2 bg-soft-primary ms-auto"></span>
|
||||
<span class="d-block p-1 pb-0 px-2 bg-soft-primary"></span>
|
||||
</span>
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Horizontal</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input id="customizer-layout03" name="data-layout" type="radio" value="twocolumn" class="form-check-input">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="customizer-layout03">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1">
|
||||
<span class="d-block p-1 bg-soft-primary mb-2"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Two Column</h5>
|
||||
</div>
|
||||
<!-- end col -->
|
||||
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input id="customizer-layout04" name="data-layout" type="radio" value="semibox" class="form-check-input">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="customizer-layout04">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0 p-1">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column pt-1 pe-2">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Semi Box</h5>
|
||||
</div>
|
||||
<!-- end col -->
|
||||
</div>
|
||||
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Color Scheme</h6>
|
||||
<p class="text-muted">Choose Light or Dark Scheme.</p>
|
||||
|
||||
<div class="colorscheme-cardradio">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-layout-mode" id="layout-mode-light" value="light">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="layout-mode-light">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Light</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio dark">
|
||||
<input class="form-check-input" type="radio" name="data-layout-mode" id="layout-mode-dark" value="dark">
|
||||
<label class="form-check-label p-0 avatar-md w-100 bg-dark" for="layout-mode-dark">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-soft-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-light rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-soft-light d-block p-1"></span>
|
||||
<span class="bg-soft-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Dark</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar-visibility">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Sidebar Visibility</h6>
|
||||
<p class="text-muted">Choose show or Hidden sidebar.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-visibility" id="sidebar-visibility-show" value="show">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-visibility-show">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0 p-1">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column pt-1 pe-2">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Show</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-visibility" id="sidebar-visibility-hidden" value="hidden">
|
||||
<label class="form-check-label p-0 avatar-md w-100 px-2" for="sidebar-visibility-hidden">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column pt-1 px-2">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Hidden</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="layout-width">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Layout Width</h6>
|
||||
<p class="text-muted">Choose Fluid or Boxed layout.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-layout-width" id="layout-width-fluid" value="fluid">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="layout-width-fluid">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Fluid</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-layout-width" id="layout-width-boxed" value="boxed">
|
||||
<label class="form-check-label p-0 avatar-md w-100 px-2" for="layout-width-boxed">
|
||||
<span class="d-flex gap-1 h-100 border-start border-end">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Boxed</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="layout-position">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Layout Position</h6>
|
||||
<p class="text-muted">Choose Fixed or Scrollable Layout Position.</p>
|
||||
|
||||
<div class="btn-group radio" role="group">
|
||||
<input type="radio" class="btn-check" name="data-layout-position" id="layout-position-fixed" value="fixed">
|
||||
<label class="btn btn-light w-sm" for="layout-position-fixed">Fixed</label>
|
||||
|
||||
<input type="radio" class="btn-check" name="data-layout-position" id="layout-position-scrollable" value="scrollable">
|
||||
<label class="btn btn-light w-sm ms-0" for="layout-position-scrollable">Scrollable</label>
|
||||
</div>
|
||||
</div>
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Topbar Color</h6>
|
||||
<p class="text-muted">Choose Light or Dark Topbar Color.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-topbar" id="topbar-color-light" value="light">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="topbar-color-light">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Light</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-topbar" id="topbar-color-dark" value="dark">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="topbar-color-dark">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-primary d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Dark</h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar-size">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Sidebar Size</h6>
|
||||
<p class="text-muted">Choose a size of Sidebar.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-size" id="sidebar-size-default" value="lg">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-size-default">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Default</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-size" id="sidebar-size-compact" value="md">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-size-compact">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Compact</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-size" id="sidebar-size-small" value="sm">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-size-small">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1">
|
||||
<span class="d-block p-1 bg-soft-primary mb-2"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Small (Icon View)</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-size" id="sidebar-size-small-hover" value="sm-hover">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-size-small-hover">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1">
|
||||
<span class="d-block p-1 bg-soft-primary mb-2"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Small Hover View</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar-view">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Sidebar View</h6>
|
||||
<p class="text-muted">Choose Default or Detached Sidebar view.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-layout-style" id="sidebar-view-default" value="default">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-view-default">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Default</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-layout-style" id="sidebar-view-detached" value="detached">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-view-detached">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-flex p-1 gap-1 align-items-center px-2">
|
||||
<span class="d-block p-1 bg-soft-primary rounded me-1"></span>
|
||||
<span class="d-block p-1 pb-0 px-2 bg-soft-primary ms-auto"></span>
|
||||
<span class="d-block p-1 pb-0 px-2 bg-soft-primary"></span>
|
||||
</span>
|
||||
<span class="d-flex gap-1 h-100 p-1 px-2">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="bg-light d-block p-1 mt-auto px-2"></span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Detached</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="sidebar-color">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Sidebar Color</h6>
|
||||
<p class="text-muted">Choose a color of Sidebar.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio" data-bs-toggle="collapse" data-bs-target="#collapseBgGradient.show">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar" id="sidebar-color-light" value="light">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-color-light">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-white border-end d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Light</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio" data-bs-toggle="collapse" data-bs-target="#collapseBgGradient.show">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar" id="sidebar-color-dark" value="dark">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="sidebar-color-dark">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-primary d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-light rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Dark</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<button class="btn btn-link avatar-md w-100 p-0 overflow-hidden border collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseBgGradient" aria-expanded="false" aria-controls="collapseBgGradient">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-vertical-gradient d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-light rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-light"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
<h5 class="fs-13 text-center mt-2">Gradient</h5>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end row -->
|
||||
|
||||
<div class="collapse" id="collapseBgGradient">
|
||||
<div class="d-flex gap-2 flex-wrap img-switch p-2 px-3 bg-light rounded">
|
||||
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar" id="sidebar-color-gradient" value="gradient">
|
||||
<label class="form-check-label p-0 avatar-xs rounded-circle" for="sidebar-color-gradient">
|
||||
<span class="avatar-title rounded-circle bg-vertical-gradient"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar" id="sidebar-color-gradient-2" value="gradient-2">
|
||||
<label class="form-check-label p-0 avatar-xs rounded-circle" for="sidebar-color-gradient-2">
|
||||
<span class="avatar-title rounded-circle bg-vertical-gradient-2"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar" id="sidebar-color-gradient-3" value="gradient-3">
|
||||
<label class="form-check-label p-0 avatar-xs rounded-circle" for="sidebar-color-gradient-3">
|
||||
<span class="avatar-title rounded-circle bg-vertical-gradient-3"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar" id="sidebar-color-gradient-4" value="gradient-4">
|
||||
<label class="form-check-label p-0 avatar-xs rounded-circle" for="sidebar-color-gradient-4">
|
||||
<span class="avatar-title rounded-circle bg-vertical-gradient-4"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sidebar-img">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Sidebar Images</h6>
|
||||
<p class="text-muted">Choose a image of Sidebar.</p>
|
||||
|
||||
<div class="d-flex gap-2 flex-wrap img-switch">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-image" id="sidebarimg-none" value="none">
|
||||
<label class="form-check-label p-0 avatar-sm h-auto" for="sidebarimg-none">
|
||||
<span class="avatar-md w-auto bg-light d-flex align-items-center justify-content-center">
|
||||
<i class="ri-close-fill fs-20"></i>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-image" id="sidebarimg-01" value="img-1">
|
||||
<label class="form-check-label p-0 avatar-sm h-auto" for="sidebarimg-01">
|
||||
<img src="{{asset('assets/images/sidebar/img-1.jpg')}}" alt="" class="avatar-md w-auto object-cover">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-image" id="sidebarimg-02" value="img-2">
|
||||
<label class="form-check-label p-0 avatar-sm h-auto" for="sidebarimg-02">
|
||||
<img src="{{asset('assets/images/sidebar/img-2.jpg')}}" alt="" class="avatar-md w-auto object-cover">
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-image" id="sidebarimg-03" value="img-3">
|
||||
<label class="form-check-label p-0 avatar-sm h-auto" for="sidebarimg-03">
|
||||
<img src="{{asset('assets/images/sidebar/img-3.jpg')}}" alt="" class="avatar-md w-auto object-cover">
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-sidebar-image" id="sidebarimg-04" value="img-4">
|
||||
<label class="form-check-label p-0 avatar-sm h-auto" for="sidebarimg-04">
|
||||
<img src="{{asset('assets/images/sidebar/img-4.jpg')}}" alt="" class="avatar-md w-auto object-cover">
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="preloader-menu">
|
||||
<h6 class="mt-4 mb-0 fw-semibold text-uppercase">Preloader</h6>
|
||||
<p class="text-muted">Choose a preloader.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-preloader" id="preloader-view-custom" value="enable">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="preloader-view-custom">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<!-- <div id="preloader"> -->
|
||||
<div id="status" class="d-flex align-items-center justify-content-center">
|
||||
<div class="spinner-border text-primary avatar-xxs m-auto" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Enable</h5>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="form-check sidebar-setting card-radio">
|
||||
<input class="form-check-input" type="radio" name="data-preloader" id="preloader-view-none" value="disable">
|
||||
<label class="form-check-label p-0 avatar-md w-100" for="preloader-view-none">
|
||||
<span class="d-flex gap-1 h-100">
|
||||
<span class="flex-shrink-0">
|
||||
<span class="bg-light d-flex h-100 flex-column gap-1 p-1">
|
||||
<span class="d-block p-1 px-2 bg-soft-primary rounded mb-2"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
<span class="d-block p-1 px-2 pb-0 bg-soft-primary"></span>
|
||||
</span>
|
||||
</span>
|
||||
<span class="flex-grow-1">
|
||||
<span class="d-flex h-100 flex-column">
|
||||
<span class="bg-light d-block p-1"></span>
|
||||
<span class="bg-light d-block p-1 mt-auto"></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<h5 class="fs-13 text-center mt-2">Disable</h5>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- end preloader-menu -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="offcanvas-footer border-top p-3 text-center">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<button type="button" class="btn btn-light w-100" id="reset-layout">Reset</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
15
resources/views/backend/parts/ghost.blade.php
Normal file
15
resources/views/backend/parts/ghost.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="dropdown d-md-none topbar-head-dropdown header-item">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle" id="page-header-search-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="bx bx-search fs-22"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0" aria-labelledby="page-header-search-dropdown">
|
||||
<form class="p-3">
|
||||
<div class="form-group m-0">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Search ..." aria-label="Recipient's username">
|
||||
<button class="btn btn-primary" type="submit"><i class="mdi mdi-magnify"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
54
resources/views/backend/parts/lang.blade.php
Normal file
54
resources/views/backend/parts/lang.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<div class="dropdown ms-1 topbar-head-dropdown header-item">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<img id="header-lang-img" src="{{ asset('assets/images/flags/us.svg') }}" alt="Header Language" height="20" class="rounded">
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language py-2" data-lang="en" title="English">
|
||||
<img src="{{ asset('assets/images/flags/us.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">English</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="sp" title="Spanish">
|
||||
<img src="{{ asset('assets/images/flags/spain.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">Española</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="gr" title="German">
|
||||
<img src="{{ asset('assets/images/flags/germany.svg') }}" alt="user-image" class="me-2 rounded" height="18"> <span class="align-middle">Deutsche</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="it" title="Italian">
|
||||
<img src="{{ asset('assets/images/flags/italy.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">Italiana</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="ru" title="Russian">
|
||||
<img src="{{ asset('assets/images/flags/russia.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">русский</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="ch" title="Chinese">
|
||||
<img src="{{ asset('assets/images/flags/china.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">中国人</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="fr" title="French">
|
||||
<img src="{{ asset('assets/images/flags/french.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">français</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item language" data-lang="ar" title="Arabic">
|
||||
<img src="{{ asset('assets/images/flags/ae.svg') }}" alt="user-image" class="me-2 rounded" height="18">
|
||||
<span class="align-middle">Arabic</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
263
resources/views/backend/parts/notifications.blade.php
Normal file
263
resources/views/backend/parts/notifications.blade.php
Normal file
@@ -0,0 +1,263 @@
|
||||
<div class="dropdown topbar-head-dropdown ms-1 header-item" id="notificationDropdown">
|
||||
<button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle" id="page-header-notifications-dropdown" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-haspopup="true" aria-expanded="false">
|
||||
<i class='bx bx-bell fs-22'></i>
|
||||
<span class="position-absolute topbar-badge fs-10 translate-middle badge rounded-pill bg-danger">3<span class="visually-hidden">unread messages</span></span>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0" aria-labelledby="page-header-notifications-dropdown">
|
||||
|
||||
<div class="dropdown-head bg-primary bg-pattern rounded-top">
|
||||
<div class="p-3">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<h6 class="m-0 fs-16 fw-semibold text-white"> Notifications </h6>
|
||||
</div>
|
||||
<div class="col-auto dropdown-tabs">
|
||||
<span class="badge badge-soft-light fs-13"> 4 New</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="px-2 pt-2">
|
||||
<ul class="nav nav-tabs dropdown-tabs nav-tabs-custom" data-dropdown-tabs="true" id="notificationItemsTab" role="tablist">
|
||||
<li class="nav-item waves-effect waves-light">
|
||||
<a class="nav-link active" data-bs-toggle="tab" href="#all-noti-tab" role="tab" aria-selected="true">
|
||||
All (4)
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item waves-effect waves-light">
|
||||
<a class="nav-link" data-bs-toggle="tab" href="#messages-tab" role="tab" aria-selected="false">
|
||||
Messages
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item waves-effect waves-light">
|
||||
<a class="nav-link" data-bs-toggle="tab" href="#alerts-tab" role="tab" aria-selected="false">
|
||||
Alerts
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-content position-relative" id="notificationItemsTabContent">
|
||||
<div class="tab-pane fade show active py-2 ps-2" id="all-noti-tab" role="tabpanel">
|
||||
<div data-simplebar style="max-height: 300px;" class="pe-2">
|
||||
<div class="text-reset notification-item d-block dropdown-item position-relative">
|
||||
<div class="d-flex">
|
||||
<div class="avatar-xs me-3">
|
||||
<span class="avatar-title bg-soft-info text-info rounded-circle fs-16">
|
||||
<i class="bx bx-badge-check"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-2 lh-base">Your <b>Elite</b> author Graphic
|
||||
Optimization <span class="text-secondary">reward</span> is
|
||||
ready!
|
||||
</h6>
|
||||
</a>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> Just 30 sec ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="all-notification-check01">
|
||||
<label class="form-check-label" for="all-notification-check01"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-reset notification-item d-block dropdown-item position-relative">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-2.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-1 fs-13 fw-semibold">Angela Bernier</h6>
|
||||
</a>
|
||||
<div class="fs-13 text-muted">
|
||||
<p class="mb-1">Answered to your comment on the cash flow forecast's
|
||||
graph 🔔.</p>
|
||||
</div>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 48 min ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="all-notification-check02">
|
||||
<label class="form-check-label" for="all-notification-check02"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-reset notification-item d-block dropdown-item position-relative">
|
||||
<div class="d-flex">
|
||||
<div class="avatar-xs me-3">
|
||||
<span class="avatar-title bg-soft-danger text-danger rounded-circle fs-16">
|
||||
<i class='bx bx-message-square-dots'></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-2 fs-13 lh-base">You have received <b class="text-success">20</b> new messages in the conversation
|
||||
</h6>
|
||||
</a>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 2 hrs ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="all-notification-check03">
|
||||
<label class="form-check-label" for="all-notification-check03"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-reset notification-item d-block dropdown-item position-relative">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-8.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-1 fs-13 fw-semibold">Maureen Gibson</h6>
|
||||
</a>
|
||||
<div class="fs-13 text-muted">
|
||||
<p class="mb-1">We talked about a project on linkedin.</p>
|
||||
</div>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 4 hrs ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="all-notification-check04">
|
||||
<label class="form-check-label" for="all-notification-check04"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="my-3 text-center view-all">
|
||||
<button type="button" class="btn btn-soft-success waves-effect waves-light">View
|
||||
All Notifications <i class="ri-arrow-right-line align-middle"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade py-2 ps-2" id="messages-tab" role="tabpanel" aria-labelledby="messages-tab">
|
||||
<div data-simplebar style="max-height: 300px;" class="pe-2">
|
||||
<div class="text-reset notification-item d-block dropdown-item">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-3.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-1 fs-13 fw-semibold">James Lemire</h6>
|
||||
</a>
|
||||
<div class="fs-13 text-muted">
|
||||
<p class="mb-1">We talked about a project on linkedin.</p>
|
||||
</div>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 30 min ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="messages-notification-check01">
|
||||
<label class="form-check-label" for="messages-notification-check01"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-reset notification-item d-block dropdown-item">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-2.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-1 fs-13 fw-semibold">Angela Bernier</h6>
|
||||
</a>
|
||||
<div class="fs-13 text-muted">
|
||||
<p class="mb-1">Answered to your comment on the cash flow forecast's
|
||||
graph 🔔.</p>
|
||||
</div>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 2 hrs ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="messages-notification-check02">
|
||||
<label class="form-check-label" for="messages-notification-check02"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-reset notification-item d-block dropdown-item">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-6.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-1 fs-13 fw-semibold">Kenneth Brown</h6>
|
||||
</a>
|
||||
<div class="fs-13 text-muted">
|
||||
<p class="mb-1">Mentionned you in his comment on 📃 invoice #12501.
|
||||
</p>
|
||||
</div>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 10 hrs ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="messages-notification-check03">
|
||||
<label class="form-check-label" for="messages-notification-check03"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-reset notification-item d-block dropdown-item">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-8.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<a href="#!" class="stretched-link">
|
||||
<h6 class="mt-0 mb-1 fs-13 fw-semibold">Maureen Gibson</h6>
|
||||
</a>
|
||||
<div class="fs-13 text-muted">
|
||||
<p class="mb-1">We talked about a project on linkedin.</p>
|
||||
</div>
|
||||
<p class="mb-0 fs-11 fw-medium text-uppercase text-muted">
|
||||
<span><i class="mdi mdi-clock-outline"></i> 3 days ago</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="px-2 fs-15">
|
||||
<div class="form-check notification-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="messages-notification-check04">
|
||||
<label class="form-check-label" for="messages-notification-check04"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="my-3 text-center view-all">
|
||||
<button type="button" class="btn btn-soft-success waves-effect waves-light">View
|
||||
All Messages <i class="ri-arrow-right-line align-middle"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade p-4" id="alerts-tab" role="tabpanel" aria-labelledby="alerts-tab"></div>
|
||||
|
||||
<div class="notification-actions" id="notification-actions">
|
||||
<div class="d-flex text-muted justify-content-center">
|
||||
Select <div id="select-content" class="text-body fw-semibold px-1">0</div> Result <button type="button" class="btn btn-link link-danger p-0 ms-3" data-bs-toggle="modal" data-bs-target="#removeNotificationModal">Remove</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
17
resources/views/backend/parts/profile.blade.php
Normal file
17
resources/views/backend/parts/profile.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="dropdown ms-sm-3 header-item topbar-user">
|
||||
<button type="button" class="btn" id="page-header-user-dropdown" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="d-flex align-items-center">
|
||||
<img class="rounded-circle header-profile-user" src="{{asset('assets/images/users/avatar-1.jpg')}}" alt="Header Avatar">
|
||||
<span class="text-start ms-xl-2">
|
||||
<span class="d-none d-xl-inline-block ms-1 fw-medium user-name-text">{{auth()->user()->name}}</span>
|
||||
|
||||
</span>
|
||||
</span>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<!-- item-->
|
||||
<h6 class="dropdown-header">Welcome {{auth()->user()->name}}</h6>
|
||||
|
||||
<a class="dropdown-item" href="{{route('auth.logout')}}"><i class="mdi mdi-logout text-muted fs-16 align-middle me-1"></i> <span class="align-middle" data-key="t-logout">Logout</span></a>
|
||||
</div>
|
||||
</div>
|
93
resources/views/backend/parts/search.blade.php
Normal file
93
resources/views/backend/parts/search.blade.php
Normal file
@@ -0,0 +1,93 @@
|
||||
<button type="button" class="btn btn-sm px-3 fs-16 header-item vertical-menu-btn topnav-hamburger" id="topnav-hamburger-icon">
|
||||
<span class="hamburger-icon">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<!-- App Search-->
|
||||
<form class="app-search d-none d-md-block">
|
||||
<div class="position-relative">
|
||||
<input type="text" class="form-control" placeholder="Search..." autocomplete="off" id="search-options" value="">
|
||||
<span class="mdi mdi-magnify search-widget-icon"></span>
|
||||
<span class="mdi mdi-close-circle search-widget-icon search-widget-icon-close d-none" id="search-close-options"></span>
|
||||
</div>
|
||||
<div class="dropdown-menu dropdown-menu-lg" id="search-dropdown">
|
||||
<div data-simplebar style="max-height: 320px;">
|
||||
<!-- item-->
|
||||
<div class="dropdown-header">
|
||||
<h6 class="text-overflow text-muted mb-0 text-uppercase">Recent Searches</h6>
|
||||
</div>
|
||||
|
||||
<div class="dropdown-item bg-transparent text-wrap">
|
||||
<a href="index.html" class="btn btn-soft-secondary btn-sm btn-rounded">how to setup <i class="mdi mdi-magnify ms-1"></i></a>
|
||||
<a href="index.html" class="btn btn-soft-secondary btn-sm btn-rounded">buttons <i class="mdi mdi-magnify ms-1"></i></a>
|
||||
</div>
|
||||
<!-- item-->
|
||||
<div class="dropdown-header mt-2">
|
||||
<h6 class="text-overflow text-muted mb-1 text-uppercase">Pages</h6>
|
||||
</div>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<i class="ri-bubble-chart-line align-middle fs-18 text-muted me-2"></i>
|
||||
<span>Analytics Dashboard</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<i class="ri-lifebuoy-line align-middle fs-18 text-muted me-2"></i>
|
||||
<span>Help Center</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<i class="ri-user-settings-line align-middle fs-18 text-muted me-2"></i>
|
||||
<span>My account settings</span>
|
||||
</a>
|
||||
|
||||
<!-- item-->
|
||||
<div class="dropdown-header mt-2">
|
||||
<h6 class="text-overflow text-muted mb-2 text-uppercase">Members</h6>
|
||||
</div>
|
||||
|
||||
<div class="notification-list">
|
||||
<!-- item -->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item py-2">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-2.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="m-0">Angela Bernier</h6>
|
||||
<span class="fs-11 mb-0 text-muted">Manager</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!-- item -->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item py-2">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-3.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="m-0">David Grasso</h6>
|
||||
<span class="fs-11 mb-0 text-muted">Web Designer</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<!-- item -->
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item py-2">
|
||||
<div class="d-flex">
|
||||
<img src="assets/images/users/avatar-5.jpg" class="me-3 rounded-circle avatar-xs" alt="user-pic">
|
||||
<div class="flex-1">
|
||||
<h6 class="m-0">Mike Bunch</h6>
|
||||
<span class="fs-11 mb-0 text-muted">React Developer</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center pt-3 pb-1">
|
||||
<a href="pages-search-results.html" class="btn btn-primary btn-sm">View All Results <i class="ri-arrow-right-line ms-1"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
77
resources/views/backend/reception-sidebar.blade.php
Normal file
77
resources/views/backend/reception-sidebar.blade.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<div class="app-menu navbar-menu">
|
||||
<!-- LOGO -->
|
||||
<div class="navbar-brand-box">
|
||||
<!-- Dark Logo-->
|
||||
<a href="{{route('reception.dashboard')}}" class="logo logo-dark">
|
||||
<span class="logo-sm">
|
||||
<img src="{{asset('assets/images/logo-sm.png')}}" alt="" height="22">
|
||||
</span>
|
||||
<span class="logo-lg">
|
||||
<img src="{{asset('assets/images/logo-dark.png')}}" alt="" height="57">
|
||||
</span>
|
||||
</a>
|
||||
<!-- Light Logo-->
|
||||
<a href="{{route('reception.dashboard')}}" class="logo logo-light">
|
||||
<span class="logo-sm">
|
||||
<img src="{{asset('assets/images/logo-sm.png')}}" alt="" height="22">
|
||||
</span>
|
||||
<span class="logo-lg">
|
||||
<img src="{{asset('assets/images/logo-light.png')}}" alt="" height="57">
|
||||
</span>
|
||||
</a>
|
||||
<button type="button" class="btn btn-sm p-0 fs-20 header-item float-end btn-vertical-sm-hover" id="vertical-hover">
|
||||
<i class="ri-record-circle-line"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="scrollbar">
|
||||
<div class="container-fluid">
|
||||
|
||||
|
||||
<div id="two-column-menu">
|
||||
</div>
|
||||
<ul class="navbar-nav" id="navbar-nav">
|
||||
<div class="simplebar-content" style="padding: 0px;">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link menu-link" href="{{route('reception.dashboard')}}">
|
||||
<i class="ri-dashboard-2-line"></i> <span data-key="t-dashboards">Dashboard</span>
|
||||
</a>
|
||||
|
||||
</li> <!-- end Dashboard Menu -->
|
||||
|
||||
|
||||
|
||||
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Reports</span></li>
|
||||
|
||||
{{LMS::createMenuLink("Overall Registrations".' ('.LMS::leadsCount().')',route('reception.registrations'))}}
|
||||
|
||||
{{LMS::createMenuLink("Followups",route('reception.followups'))}}
|
||||
{{LMS::createMenuLink("Most Asked Questions",route('reception.faqs'))}}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- Sidebar -->
|
||||
</div>
|
||||
|
||||
<div class="sidebar-background"></div>
|
||||
</div>
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
var menuDropdowns = document.querySelectorAll('div.menu-dropdown');
|
||||
|
||||
menuDropdowns.forEach(function(menuDropdown) {
|
||||
var childLinks = menuDropdown.querySelectorAll('ul > li > a');
|
||||
var hasActiveLink = Array.from(childLinks).some(function(childLink) {
|
||||
return childLink.classList.contains('active');
|
||||
});
|
||||
|
||||
if (hasActiveLink) {
|
||||
menuDropdown.classList.add('show');
|
||||
} else {
|
||||
menuDropdown.classList.remove('show');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@endpush
|
291
resources/views/backend/reception-template.blade.php
Normal file
291
resources/views/backend/reception-template.blade.php
Normal file
@@ -0,0 +1,291 @@
|
||||
<!doctype html>
|
||||
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<title>{{env("APP_NAME")}} </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="{{env('APP_NAME')}} Admin & Dashboard" name="description" />
|
||||
<meta content="Bibhuti" name="author" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<script>
|
||||
window.appUrl = "{{ env('APP_URL') }}";
|
||||
var route_prefix = "{{env('APP_URL')}}/files";
|
||||
</script>
|
||||
|
||||
<!-- App favicon -->
|
||||
<link rel="shortcut icon" href="assets/images/favicon.ico">
|
||||
|
||||
<link rel="shortcut icon" href="{{ asset('assets/images/favicon.ico') }}">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- gridjs css -->
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/gridjs/theme/mermaid.min.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/classic.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/monolith.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/nano.min.css') }}">
|
||||
<!-- Layout config Js -->
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="{{ asset('assets/js/layout.js') }}"></script>
|
||||
<!-- Bootstrap Css -->
|
||||
<link href="{{ asset('assets/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!-- Icons Css -->
|
||||
<link href="{{ asset('assets/css/icons.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!-- App Css-->
|
||||
<link href="{{ asset('assets/css/app.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- jsvectormap css -->
|
||||
<link href="https://cdn.datatables.net/1.13.5/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
<!-- custom Css-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stack("css")
|
||||
<link href="{{ asset('assets/css/custom.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
.auth-one-bg .bg-overlay {
|
||||
background: linear-gradient(to right, #bf2628, #b9070a);
|
||||
opacity: .9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="file-detail-show">
|
||||
|
||||
<!-- Begin page -->
|
||||
<div id="layout-wrapper">
|
||||
|
||||
@include("backend.header")
|
||||
|
||||
@include("backend.reception-sidebar")
|
||||
|
||||
<div class="vertical-overlay"></div>
|
||||
|
||||
<div class="main-content">
|
||||
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
|
||||
@yield("content")
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<script>
|
||||
document.write(new Date().getFullYear())
|
||||
</script> © {{env("APP_NAME")}}.
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="text-sm-end d-none d-sm-block">
|
||||
Developed by <a href="https://www.bibhutisolutions.com/" target="_blank">Bibhuti Solutions Pvt. Ltd.</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<!-- end main content-->
|
||||
|
||||
</div>
|
||||
<!-- END layout-wrapper -->
|
||||
|
||||
|
||||
|
||||
<!--start back-to-top-->
|
||||
<?php /*
|
||||
@include("backend.parts.customizer")
|
||||
*/ ?>
|
||||
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
|
||||
|
||||
<style>
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 38px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
}
|
||||
</style>
|
||||
<script src="{{ asset('assets/libs/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/simplebar/simplebar.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/node-waves/waves.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/feather-icons/feather.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/js/pages/plugins/lord-icon-2.1.0.js') }}"></script>
|
||||
|
||||
|
||||
<!-- Modern colorpicker bundle -->
|
||||
<script src="{{asset('assets/libs/%40simonwep/pickr/pickr.min.js')}}"></script>
|
||||
|
||||
|
||||
<!-- init js -->
|
||||
<script src="{{ asset('assets/js/pages/form-pickers.init.js')}}"></script>
|
||||
|
||||
<!-- App js -->
|
||||
<script src="{{ asset('assets/js/app.js') }}"></script>
|
||||
<script src="{{asset('vendor/laravel-filemanager/js/stand-alone-button.js')}}"></script>
|
||||
|
||||
<!-- Vector map-->
|
||||
<script src="{{ asset('assets/libs/jsvectormap/js/jsvectormap.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/jsvectormap/maps/world-merc.js') }}"></script>
|
||||
|
||||
<!-- gridjs js -->
|
||||
<script src="{{ asset('assets/libs/gridjs/gridjs.umd.js') }}"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.14.0/Sortable.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.10.0/dist/js/bootstrap-datepicker.min.js"></script>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.10.0/dist/css/bootstrap-datepicker3.min.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/classic/ckeditor.js"></script> -->
|
||||
<script src="https://cdn.ckeditor.com/4.16.2/full/ckeditor.js"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var baseUrl = '{{ env("APP_URL") }}'; // Replace with your base URL
|
||||
|
||||
var textareas = document.querySelectorAll('.ckeditor-classic');
|
||||
for (var i = 0; i < textareas.length; i++) {
|
||||
CKEDITOR.replace(textareas[i], {
|
||||
// height: 100,
|
||||
filebrowserImageBrowseUrl: baseUrl + '/files?type=Images',
|
||||
filebrowserImageUploadUrl: baseUrl + '/files/upload?type=Images&_token={{ csrf_token() }}',
|
||||
filebrowserBrowseUrl: baseUrl + '/files?type=Files',
|
||||
filebrowserUploadUrl: baseUrl + '/files/upload?type=Files&_token={{ csrf_token() }}',
|
||||
filebrowserImageUploadPath: '/storage/photos', // Adjust the path as per your requirements
|
||||
filebrowserUploadPath: '/storage/files', // Adjust the path as per your requirements
|
||||
baseHref: baseUrl + '/', // Set the baseHref to the baseUrl
|
||||
filebrowserImageBrowseCallback: function(url) {
|
||||
var relativePath = url.replace(baseUrl + '/', '');
|
||||
alert("COW");
|
||||
onSelectFile(relativePath); // Call your custom function with the relative path
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
function onSelectFile(url) {
|
||||
// Use the relative path as needed
|
||||
console.log(url);
|
||||
}
|
||||
|
||||
jQuery(document).ready(function($) {
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
autoclose: true
|
||||
});
|
||||
$('.select2').select2({});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
// $('#lfm').filemanager('image', {prefix: route_prefix});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var lfm = function(id, type, options) {
|
||||
let button = document.getElementById(id);
|
||||
|
||||
button.addEventListener('click', function() {
|
||||
var route_prefix = (options && options.prefix) ? options.prefix : '/filemanager';
|
||||
var target_input = document.getElementById(button.getAttribute('data-input'));
|
||||
var target_preview = document.getElementById(button.getAttribute('data-preview'));
|
||||
var multiple_selection = (options && options.multi_selection) ? options.multi_selection : false;
|
||||
// alert(multiple_selection);
|
||||
window.open(route_prefix + '?type=' + options.type || 'file', 'FileManager', 'width=900,height=600');
|
||||
window.SetUrl = function(items) {
|
||||
var file_path = items.map(function(item) {
|
||||
return item.url;
|
||||
}).join(',');
|
||||
|
||||
// set the value of the desired input to image url
|
||||
target_input.value = file_path;
|
||||
target_input.dispatchEvent(new Event('change'));
|
||||
|
||||
// clear previous preview
|
||||
target_preview.innerHtml = '';
|
||||
|
||||
// set or change the preview image src
|
||||
items.forEach(function(item) {
|
||||
let img = document.createElement('img')
|
||||
img.setAttribute('style', 'height: 5rem')
|
||||
img.setAttribute('src', item.thumb_url)
|
||||
if (!multiple_selection) target_preview.innerHTML = '';
|
||||
target_preview.appendChild(img);
|
||||
});
|
||||
|
||||
// trigger change event
|
||||
target_preview.dispatchEvent(new Event('change'));
|
||||
};
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script>
|
||||
// When the document is ready
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let success = "{{ Session::pull('success', '') }}";
|
||||
|
||||
// If there is a success message in the session data
|
||||
if (success !== '') {
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Success',
|
||||
text: success
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@if(isset($GLOBALS['scripts']))
|
||||
{!! implode(PHP_EOL, $GLOBALS['scripts']) !!}
|
||||
@endif
|
||||
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
204
resources/views/backend/reception.blade.php
Normal file
204
resources/views/backend/reception.blade.php
Normal file
@@ -0,0 +1,204 @@
|
||||
@extends("backend.reception-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">Welcome to {{env("APP_NAME")}}</h4>
|
||||
|
||||
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboard</a></li>
|
||||
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
<div class="row project-wrapper">
|
||||
<div class="col-xxl-12">
|
||||
<div class="row">
|
||||
<div class="col-xl-4">
|
||||
<div class="card card-animate">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="avatar-sm flex-shrink-0">
|
||||
<span class="avatar-title bg-soft-primary text-primary rounded-2 fs-2">
|
||||
<i data-feather="users" class="text-primary"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-hidden ms-3">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-3">Total Leads</p>
|
||||
<div class="d-flex align-items-center mb-3">
|
||||
<h4 class="fs-4 flex-grow-1 mb-0"><span class="counter-value" data-target="{{LMS::leadsCount()}}">0</span></h4>
|
||||
<a href="{{route('registrations.index')}}">View All</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
|
||||
<div class="col-xl-4">
|
||||
<div class="card card-animate">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="avatar-sm flex-shrink-0">
|
||||
<span class="avatar-title bg-soft-warning text-warning rounded-2 fs-2">
|
||||
<i data-feather="edit" class="text-warning"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-grow-1 ms-3">
|
||||
<p class="text-uppercase fw-medium text-muted mb-3">Countries</p>
|
||||
<div class="d-flex align-items-center mb-3">
|
||||
<h4 class="fs-4 flex-grow-1 mb-0"><span class="counter-value" data-target="{{LMS::countriesCount()}}">0</span></h4>
|
||||
<a href="{{route('countries.index')}}">View All</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
|
||||
<div class="col-xl-4">
|
||||
<div class="card card-animate">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="avatar-sm flex-shrink-0">
|
||||
<span class="avatar-title bg-soft-info text-info rounded-2 fs-2">
|
||||
<i data-feather="calendar" class="text-info"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-grow-1 overflow-hidden ms-3">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-3">Total Campaigns</p>
|
||||
<div class="d-flex align-items-center mb-3">
|
||||
<h4 class="fs-4 flex-grow-1 mb-0"><span class="counter-value" data-target="{{LMS::campaignsCount()}}">0</span></h4>
|
||||
<a href="{{route('campaigns.index')}}">View All</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end card body -->
|
||||
</div>
|
||||
</div><!-- end col -->
|
||||
</div><!-- end row -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-12">
|
||||
<div class="card card-height-100">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<h4 class="card-title flex-grow-1 mb-0">Recent Leads</h4>
|
||||
|
||||
</div><!-- end cardheader -->
|
||||
<div class="card-body">
|
||||
<div class="table-responsive table-card">
|
||||
<table class="table table-nowrap table-centered align-middle dataTable ">
|
||||
<thead class="bg-light text-muted">
|
||||
<tr>
|
||||
<th scope="col" style="width: 10%;">Date</th>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Phone</th>
|
||||
<th scope="col">Qualification</th>
|
||||
<th scope="col">Interested Country</th>
|
||||
|
||||
</tr><!-- end tr -->
|
||||
</thead><!-- thead -->
|
||||
|
||||
<tbody>
|
||||
<?php foreach (LMS::getLeads() as $Lead) : ?>
|
||||
<tr>
|
||||
<td class="text-muted">{{mydate($Lead->created_at)}}</td>
|
||||
<td class="fw-medium">{{$Lead->registration_id}}</td>
|
||||
<td class="fw-medium">{{$Lead->name}}</td>
|
||||
<td><a href="tel:{{$Lead->mobile}}" class="text-reset">{{$Lead->mobile}}</a></td>
|
||||
<td><a href="#" class="text-reset">{{$Lead->highest_qualification}}</a></td>
|
||||
<td><a href="{{route('registrations.bycountry',$Lead->Country->alias)}}" class="text-reset">{{$Lead->intrested_for_country}}</a></td>
|
||||
|
||||
</tr><!-- end tr -->
|
||||
<?php endforeach; ?>
|
||||
|
||||
</tbody><!-- end tbody -->
|
||||
</table><!-- end table -->
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div><!-- end card body -->
|
||||
</div><!-- end card -->
|
||||
|
||||
</div><!-- end col -->
|
||||
</div><!-- end row -->
|
||||
</div><!-- end col -->
|
||||
|
||||
<div class="col-xxl-12">
|
||||
<div class="card">
|
||||
<div class="card-header align-items-center d-flex">
|
||||
<h4 class="card-title mb-0 flex-grow-1">Today's Followup</h4>
|
||||
|
||||
</div><!-- end card header -->
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
<div class="table-responsive table-card">
|
||||
<table class="table table-nowrap table-centered align-middle">
|
||||
<thead class="bg-light text-muted">
|
||||
<tr>
|
||||
<th scope="col" style="width: 10%;">Date</th>
|
||||
<th scope="col">ID</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Phone</th>
|
||||
<th scope="col">Source</th>
|
||||
<th scope="col">Country</th>
|
||||
|
||||
</tr><!-- end tr -->
|
||||
</thead><!-- thead -->
|
||||
|
||||
<tbody>
|
||||
<?php foreach (LMS::getLeads() as $Lead) : ?>
|
||||
<tr>
|
||||
<td class="text-muted">{{mydate($Lead->created_at)}}</td>
|
||||
<td class="fw-medium">{{$Lead->registration_id}}</td>
|
||||
<td class="fw-medium">{{$Lead->name}}</td>
|
||||
<td><a href="tel:{{$Lead->mobile}}" class="text-reset">{{$Lead->mobile}}</a></td>
|
||||
<td><a href="{{route('registrations.bysource',$Lead->Source->alias)}}" class="text-reset">{{$Lead->Source->title}}</a></td>
|
||||
<td><a href="{{route('registrations.bycountry',$Lead->Country->alias)}}" class="text-reset">{{$Lead->Country->title}}</a></td>
|
||||
|
||||
</tr><!-- end tr -->
|
||||
<?php endforeach; ?>
|
||||
|
||||
</tbody><!-- end tbody -->
|
||||
</table><!-- end table -->
|
||||
</div>
|
||||
</div><!-- end cardbody -->
|
||||
</div><!-- end card -->
|
||||
</div><!-- end col -->
|
||||
</div><!-- end row -->
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
@push("js")
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/pdfmake.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/vfs_fonts.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/1.13.5/js/jquery.dataTables.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/2.4.1/js/buttons.html5.min.js"></script>
|
||||
<script src="https://cdn.datatables.net/rowreorder/1.4.0/js/dataTables.rowReorder.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<script>
|
||||
var mytable = $(".dataTable").DataTable({
|
||||
ordering: true,
|
||||
rowReorder: {
|
||||
//selector: 'tr'
|
||||
},
|
||||
});
|
||||
</script>
|
||||
@endpush
|
@@ -0,0 +1 @@
|
||||
@include("crud.generated.registrations.index")
|
55
resources/views/backend/shortcodes.blade.php
Normal file
55
resources/views/backend/shortcodes.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
@extends("backend.template")
|
||||
@section("content")
|
||||
|
||||
<?php
|
||||
$ShortCodes = array(
|
||||
["title"=>"Photo Gallery","description"=>"[gallery alias=\'your_gallery_alias\']"]
|
||||
)
|
||||
?>
|
||||
|
||||
|
||||
<div class="accordion" id="accordionExample">
|
||||
@foreach($ShortCodes as $shortcode)
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
|
||||
Accordion Item #1
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordionExample">
|
||||
<div class="accordion-body">
|
||||
<strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
|
||||
Accordion Item #2
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseTwo" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
|
||||
<div class="accordion-body">
|
||||
<strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-item">
|
||||
<h2 class="accordion-header">
|
||||
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
|
||||
Accordion Item #3
|
||||
</button>
|
||||
</h2>
|
||||
<div id="collapseThree" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
|
||||
<div class="accordion-body">
|
||||
<strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
|
||||
@endpush
|
315
resources/views/backend/sidebar.blade.php
Normal file
315
resources/views/backend/sidebar.blade.php
Normal file
@@ -0,0 +1,315 @@
|
||||
<div class="app-menu navbar-menu">
|
||||
<!-- LOGO -->
|
||||
<div class="navbar-brand-box">
|
||||
<!-- Dark Logo-->
|
||||
<a href="{{route('admin.dashboard')}}" class="logo logo-dark">
|
||||
<span class="logo-sm">
|
||||
<img src="{{asset('assets/images/logo-sm.png')}}" alt="" height="22">
|
||||
</span>
|
||||
<span class="logo-lg">
|
||||
<img src="{{asset('assets/images/logo-dark.png')}}" alt="" height="57">
|
||||
</span>
|
||||
</a>
|
||||
<!-- Light Logo-->
|
||||
<a href="{{route('admin.dashboard')}}" class="logo logo-light">
|
||||
<span class="logo-sm">
|
||||
<img src="{{asset('assets/images/logo-sm.png')}}" alt="" height="22">
|
||||
</span>
|
||||
<span class="logo-lg">
|
||||
<img src="{{asset('assets/images/logo-light.png')}}" alt="" height="57">
|
||||
</span>
|
||||
</a>
|
||||
<button type="button" class="btn btn-sm p-0 fs-20 header-item float-end btn-vertical-sm-hover" id="vertical-hover">
|
||||
<i class="ri-record-circle-line"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="scrollbar">
|
||||
<div class="container-fluid">
|
||||
|
||||
|
||||
<div id="two-column-menu">
|
||||
</div>
|
||||
<ul class="navbar-nav" id="navbar-nav">
|
||||
<div class="simplebar-content" style="padding: 0px;">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link menu-link" href="{{route('admin.dashboard')}}">
|
||||
<i class="ri-dashboard-2-line"></i> <span data-key="t-dashboards">Dashboard</span>
|
||||
</a>
|
||||
|
||||
</li> <!-- end Dashboard Menu -->
|
||||
|
||||
@if(auth()->user()->email=="prajwalbro@hotmail.com")
|
||||
<li class="nav-item">
|
||||
<a class="nav-link menu-link " href="{{route('form.create')}}">
|
||||
<i class="ri-dashboard-2-line"></i> <span data-key="t-dashboards">CRUD</span>
|
||||
</a>
|
||||
|
||||
</li> <!-- end Dashboard Menu -->
|
||||
<!-- end Dashboard Menu -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu0" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu0">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">Settings</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu0">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{LMS::createMenuLink("System Setting",route('settings.edit',1))}}
|
||||
{{LMS::createMenuLink("User Logins",route('users.index'))}}
|
||||
{{LMS::createMenuLink("Provinces",route('provinces.index'))}}
|
||||
{{LMS::createMenuLink("Districts",route('districts.index'))}}
|
||||
{{LMS::createMenuLink("Cities",route('cities.index'))}}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu1leads" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu1leads">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">Leads Setup</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu1leads">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{LMS::createMenuLink("Lead Categories",route('leadcategories.index'))}}
|
||||
<!-- {{LMS::createMenuLink("Lead Sources",route('sources.index'))}} -->
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@endif
|
||||
<li class="nav-item">
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu1" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu1">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">Setup</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu1">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{LMS::createMenuLink("Countries",route('countries.index'))}}
|
||||
{{LMS::createMenuLink("Branches",route('branches.index'))}}
|
||||
{{LMS::createMenuLink("Agents",route('agents.index'))}}
|
||||
{{LMS::createMenuLink("Student Qualifications",route('qualifications.index'))}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="menu-title"><i class="ri-more-fill"></i> <span data-key="t-pages">Reports</span></li>
|
||||
{{LMS::createMenuLink("Campaigns",route('campaigns.index'))}}
|
||||
{{LMS::createMenuLink("Campaign Articles",route('campaignarticles.index'))}}
|
||||
<li class="nav-item" <?php $a = 2; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">Leads / Registrations</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{LMS::createMenuLink("Overall Registrations".' ('.LMS::leadsCount().')',route('registrations.index'))}}
|
||||
<li class="nav-item" <?php $a = 3; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">By Campaigns</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getCampaigns() as $Campaign) : ?>
|
||||
{{LMS::createMenuLink($Campaign->title.' ('.LMS::leadsCount('campaign',$Campaign->campaign_id).')',route("registrations.bycampaign",$Campaign->alias))}}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 4; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">By Categories</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getLeadCategories() as $Category) : ?>
|
||||
{{LMS::createMenuLink($Category->title.' ('.LMS::leadsCount('category',$Category->leadcategory_id).')',route("registrations.bycategory",$Category->alias))}}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 5; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">By Source</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getSources() as $Item) : ?>
|
||||
{{LMS::createMenuLink($Item->title.' ('.LMS::leadsCount('source',$Item->source_id).')',route("registrations.bysource",$Item->alias))}}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 6; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">By Country</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getCountries() as $Item) : ?>
|
||||
{{LMS::createMenuLink($Item->title.' ('.LMS::leadsCount('country',$Item->country_id).')',route("registrations.bycountry",$Item->alias))}}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 7; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>" data-bs-toggle="collapse" role="button" aria-expanded="false" aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-pages-line"></i> <span data-key="t-pages">By Agents</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getAgents() as $Item) : ?>
|
||||
{{LMS::createMenuLink($Item->title.' ('.LMS::leadsCount('agent',$Item->agent_id).')',route("registrations.byagent",$Item->alias))}}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 8; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<i class="ri-user-line"></i> <span data-key="t-pages">Students</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{ LMS::createMenuLink('All Students' . ' (' . LMS::studentsCount() . ')', route('students.index')) }}
|
||||
<li class="nav-item" <?php $a = 9; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<span data-key="t-pages">By Categories</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getLeadCategories() as $Category) : ?>
|
||||
{{ LMS::createMenuLink($Category->title . ' (' . LMS::studentsCount('category', $Category->leadcategory_id) . ')', route('students.bycategory', $Category->alias)) }}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="nav-item" <?php $a = 10; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<span data-key="t-pages">By Source</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getSources() as $Item) : ?>
|
||||
{{ LMS::createMenuLink($Item->title . ' (' . LMS::studentsCount('source', $Item->source_id) . ')', route('students.bysource', $Item->alias)) }}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 11; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<span data-key="t-pages">By Country</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getCountries() as $Item) : ?>
|
||||
{{ LMS::createMenuLink($Item->title . ' (' . LMS::studentsCount('country', $Item->country_id) . ')', route('students.bycountry', $Item->alias)) }}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 12; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<span data-key="t-pages">By Agents</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getAgents() as $Item) : ?>
|
||||
{{ LMS::createMenuLink($Item->title . ' (' . LMS::studentsCount('agent', $Item->agent_id) . ')', route('students.byagent', $Item->alias)) }}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item" <?php $a = 13; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php echo $a; ?>">
|
||||
<span data-key="t-pages">By Campaigns</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
<?php foreach (LMS::getCampaigns() as $Campaign) : ?>
|
||||
{{ LMS::createMenuLink($Campaign->title . ' (' . LMS::studentsCount('campaign', $Campaign->campaign_id) . ')', route('students.bycampaign', $Campaign->alias)) }}
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<!-- <li class="nav-item" <?php //$a = 14; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php // echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php //echo $a; ?>">
|
||||
<i class="ri-bank-line"></i> <span data-key="t-pages">Abroad Study Programs</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php //echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{ LMS::createMenuLink('Uni / College ', route('institutions.index')) }}
|
||||
{{ LMS::createMenuLink('Study Programs ', route('programs.index')) }}
|
||||
{{ LMS::createMenuLink('Programs Options ', route('options.index')) }}
|
||||
{{ LMS::createMenuLink('Offer Applications ', route('offerapplications.index')) }}
|
||||
</ul>
|
||||
</div>
|
||||
</li> -->
|
||||
<!-- <li class="nav-item" <?php //$a = 15; ?>>
|
||||
<a class="nav-link menu-link collapsed" href="#sidebarMenu<?php //echo $a; ?>"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="sidebarMenu<?php //echo $a; ?>">
|
||||
<i class=" ri-chat-new-line"></i> <span data-key="t-pages">Issued</span>
|
||||
</a>
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu<?php //echo $a; ?>">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{ LMS::createMenuLink('Offer Applications ', route('offerapplications.index')) }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li> -->
|
||||
{{LMS::createMenuLink("Followups",route('followups.index'))}}
|
||||
{{LMS::createMenuLink("Most Asked Questions",route('faqs.index'))}}
|
||||
{{LMS::createMenuLink("Inquiries",route('contactus.index'))}}
|
||||
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- Sidebar -->
|
||||
</div>
|
||||
|
||||
<div class="sidebar-background"></div>
|
||||
</div>
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
var menuDropdowns = document.querySelectorAll('div.menu-dropdown');
|
||||
|
||||
menuDropdowns.forEach(function(menuDropdown) {
|
||||
var childLinks = menuDropdown.querySelectorAll('ul > li > a');
|
||||
var hasActiveLink = Array.from(childLinks).some(function(childLink) {
|
||||
return childLink.classList.contains('active');
|
||||
});
|
||||
|
||||
if (hasActiveLink) {
|
||||
menuDropdown.classList.add('show');
|
||||
} else {
|
||||
menuDropdown.classList.remove('show');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@endpush
|
292
resources/views/backend/template.blade.php
Normal file
292
resources/views/backend/template.blade.php
Normal file
@@ -0,0 +1,292 @@
|
||||
<!doctype html>
|
||||
<html lang="en" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<title>{{env("APP_NAME")}} </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="{{env('APP_NAME')}} Admin & Dashboard" name="description" />
|
||||
<meta content="Bibhuti" name="author" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<script>
|
||||
window.appUrl = "{{ env('APP_URL') }}";
|
||||
var route_prefix = "{{env('APP_URL')}}/files";
|
||||
</script>
|
||||
|
||||
<!-- App favicon -->
|
||||
<link rel="shortcut icon" href="assets/images/favicon.ico">
|
||||
|
||||
<link rel="shortcut icon" href="{{ asset('assets/images/favicon.ico') }}">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- gridjs css -->
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/gridjs/theme/mermaid.min.css') }}">
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/classic.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/monolith.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/libs/%40simonwep/pickr/themes/nano.min.css') }}">
|
||||
<!-- Layout config Js -->
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="{{ asset('assets/js/layout.js') }}"></script>
|
||||
<!-- Bootstrap Css -->
|
||||
<link href="{{ asset('assets/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!-- Icons Css -->
|
||||
<link href="{{ asset('assets/css/icons.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<!-- App Css-->
|
||||
<link href="{{ asset('assets/css/app.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- jsvectormap css -->
|
||||
<link href="https://cdn.datatables.net/1.13.5/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
<!-- custom Css-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stack("css")
|
||||
<link href="{{ asset('assets/css/custom.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<style>
|
||||
.auth-one-bg .bg-overlay {
|
||||
background: linear-gradient(to right, #bf2628, #b9070a);
|
||||
opacity: .9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="file-detail-show">
|
||||
|
||||
<!-- Begin page -->
|
||||
<div id="layout-wrapper">
|
||||
|
||||
@include("backend.header")
|
||||
|
||||
|
||||
@include("backend.sidebar")
|
||||
|
||||
<div class="vertical-overlay"></div>
|
||||
|
||||
<div class="main-content">
|
||||
|
||||
<div class="page-content">
|
||||
<div class="container-fluid">
|
||||
|
||||
@yield("content")
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<script>
|
||||
document.write(new Date().getFullYear())
|
||||
</script> © {{env("APP_NAME")}}.
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="text-sm-end d-none d-sm-block">
|
||||
Developed by <a href="https://www.bibhutisolutions.com/" target="_blank">Bibhuti Solutions Pvt. Ltd.</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<!-- end main content-->
|
||||
|
||||
</div>
|
||||
<!-- END layout-wrapper -->
|
||||
|
||||
|
||||
|
||||
<!--start back-to-top-->
|
||||
<?php /*
|
||||
@include("backend.parts.customizer")
|
||||
*/ ?>
|
||||
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
|
||||
|
||||
<style>
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 38px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 35px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
}
|
||||
</style>
|
||||
<script src="{{ asset('assets/libs/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/simplebar/simplebar.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/node-waves/waves.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/feather-icons/feather.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/js/pages/plugins/lord-icon-2.1.0.js') }}"></script>
|
||||
|
||||
|
||||
<!-- Modern colorpicker bundle -->
|
||||
<script src="{{asset('assets/libs/%40simonwep/pickr/pickr.min.js')}}"></script>
|
||||
|
||||
|
||||
<!-- init js -->
|
||||
<script src="{{ asset('assets/js/pages/form-pickers.init.js')}}"></script>
|
||||
|
||||
<!-- App js -->
|
||||
<script src="{{ asset('assets/js/app.js') }}"></script>
|
||||
<script src="{{asset('vendor/laravel-filemanager/js/stand-alone-button.js')}}"></script>
|
||||
|
||||
<!-- Vector map-->
|
||||
<script src="{{ asset('assets/libs/jsvectormap/js/jsvectormap.min.js') }}"></script>
|
||||
<script src="{{ asset('assets/libs/jsvectormap/maps/world-merc.js') }}"></script>
|
||||
|
||||
<!-- gridjs js -->
|
||||
<script src="{{ asset('assets/libs/gridjs/gridjs.umd.js') }}"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.14.0/Sortable.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.10.0/dist/js/bootstrap-datepicker.min.js"></script>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-datepicker@1.10.0/dist/css/bootstrap-datepicker3.min.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/classic/ckeditor.js"></script> -->
|
||||
<script src="https://cdn.ckeditor.com/4.16.2/full/ckeditor.js"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var baseUrl = '{{ env("APP_URL") }}'; // Replace with your base URL
|
||||
|
||||
var textareas = document.querySelectorAll('.ckeditor-classic');
|
||||
for (var i = 0; i < textareas.length; i++) {
|
||||
CKEDITOR.replace(textareas[i], {
|
||||
// height: 100,
|
||||
filebrowserImageBrowseUrl: baseUrl + '/files?type=Images',
|
||||
filebrowserImageUploadUrl: baseUrl + '/files/upload?type=Images&_token={{ csrf_token() }}',
|
||||
filebrowserBrowseUrl: baseUrl + '/files?type=Files',
|
||||
filebrowserUploadUrl: baseUrl + '/files/upload?type=Files&_token={{ csrf_token() }}',
|
||||
filebrowserImageUploadPath: '/storage/photos', // Adjust the path as per your requirements
|
||||
filebrowserUploadPath: '/storage/files', // Adjust the path as per your requirements
|
||||
baseHref: baseUrl + '/', // Set the baseHref to the baseUrl
|
||||
filebrowserImageBrowseCallback: function(url) {
|
||||
var relativePath = url.replace(baseUrl + '/', '');
|
||||
alert("COW");
|
||||
onSelectFile(relativePath); // Call your custom function with the relative path
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
function onSelectFile(url) {
|
||||
// Use the relative path as needed
|
||||
console.log(url);
|
||||
}
|
||||
|
||||
jQuery(document).ready(function($) {
|
||||
$('.datepicker').datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
autoclose: true
|
||||
});
|
||||
$('.select2').select2({});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
// $('#lfm').filemanager('image', {prefix: route_prefix});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var lfm = function(id, type, options) {
|
||||
let button = document.getElementById(id);
|
||||
|
||||
button.addEventListener('click', function() {
|
||||
var route_prefix = (options && options.prefix) ? options.prefix : '/filemanager';
|
||||
var target_input = document.getElementById(button.getAttribute('data-input'));
|
||||
var target_preview = document.getElementById(button.getAttribute('data-preview'));
|
||||
var multiple_selection = (options && options.multi_selection) ? options.multi_selection : false;
|
||||
// alert(multiple_selection);
|
||||
window.open(route_prefix + '?type=' + options.type || 'file', 'FileManager', 'width=900,height=600');
|
||||
window.SetUrl = function(items) {
|
||||
var file_path = items.map(function(item) {
|
||||
return item.url;
|
||||
}).join(',');
|
||||
|
||||
// set the value of the desired input to image url
|
||||
target_input.value = file_path;
|
||||
target_input.dispatchEvent(new Event('change'));
|
||||
|
||||
// clear previous preview
|
||||
target_preview.innerHtml = '';
|
||||
|
||||
// set or change the preview image src
|
||||
items.forEach(function(item) {
|
||||
let img = document.createElement('img')
|
||||
img.setAttribute('style', 'height: 5rem')
|
||||
img.setAttribute('src', item.thumb_url)
|
||||
if (!multiple_selection) target_preview.innerHTML = '';
|
||||
target_preview.appendChild(img);
|
||||
});
|
||||
|
||||
// trigger change event
|
||||
target_preview.dispatchEvent(new Event('change'));
|
||||
};
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<script>
|
||||
// When the document is ready
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let success = "{{ Session::pull('success', '') }}";
|
||||
|
||||
// If there is a success message in the session data
|
||||
if (success !== '') {
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Success',
|
||||
text: success
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@if(isset($GLOBALS['scripts']))
|
||||
{!! implode(PHP_EOL, $GLOBALS['scripts']) !!}
|
||||
@endif
|
||||
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
157
resources/views/bib-front/frontoffice/form.blade.php
Normal file
157
resources/views/bib-front/frontoffice/form.blade.php
Normal file
@@ -0,0 +1,157 @@
|
||||
@extends('frontend.layouts.app')
|
||||
|
||||
@section('title', 'Enquiry Form')
|
||||
|
||||
@section('content')
|
||||
<div class="container login-section py-5">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{{ asset('images/access.png') }}" alt="" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h2 class="login-right-title pt-5">
|
||||
Visit Form
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row gx-5">
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="login-form bg-light mt-4 pb-4">
|
||||
|
||||
@if(Illuminate\Support\Facades\Session::has('success'))
|
||||
<div class="alert alert-success mt-3 mb-3" id="alert_message">
|
||||
{{Illuminate\Support\Facades\Session::get('success')}}
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@endif
|
||||
<h5 class="login_welcome text-center pt-4 pb-1">Register now for Appointments</h5>
|
||||
<form method="POST" id="enquiry_form" name="enq" action="{{ route('visitform.store') }}" class="p-3">
|
||||
@csrf
|
||||
|
||||
<input type="hidden" name="source" id="" value="visit">
|
||||
<div class="row">
|
||||
<div class="form-group col-12">
|
||||
<input required="required" placeholder="Enter Name" id="first-name" class="form-control"
|
||||
name="name" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-8">
|
||||
<input required="required" placeholder="Enter Email" id="email" class="form-control"
|
||||
name="email" type="email">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-4">
|
||||
<input required="required" placeholder="Enter Phone" id="phone" class="form-control"
|
||||
name="phone" type="number">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-4">
|
||||
<select name="highest_qualification" class="form-control">
|
||||
<option value="" disabled selected>Select Qualification</option>
|
||||
@foreach ($qualifications as $qualification)
|
||||
<option value="{{$qualification->name}}">{{$qualification->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-4">
|
||||
<input required="required" placeholder="Grade" class="form-control"
|
||||
name="highest_grade" type="text">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group col-4">
|
||||
<input required="required" placeholder="Stream" class="form-control"
|
||||
name="highest_stream" type="text">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-6">
|
||||
<select name="test_name" class="form-control">
|
||||
<option value="" disabled selected>Select Test Preparation</option>
|
||||
@foreach ($preparations as $preparation)
|
||||
<option value="{{$preparation->name}}">{{$preparation->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="form-group col-6">
|
||||
<input required="required" placeholder="Enter Test Score " class="form-control"
|
||||
name="test_score" type="text">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
|
||||
<select class="form-select form-control" name="preffered_location" aria-label="Default select example">
|
||||
<option selected disabled>Registering For</option>
|
||||
<option value="baneshwor">NZ Admission Day New Baneshor (24 August)</option>
|
||||
<option value="biratnagar">NZ Admission Day Biratnagar (25 August)</option>
|
||||
<option value="pokhara">NZ Admission Day Pokhara (26 August)</option>
|
||||
<option value="chitwan">NZ Admission Day Chitwan (28 August)</option>
|
||||
<option value="butwal">NZ Admission Day Butwal (29 August)</option>
|
||||
<option value="putalisadak">NZ Admission Day Putalisadak (30 August)</option>
|
||||
|
||||
</select>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-12">
|
||||
<select name="campaign_id" class="form-control">
|
||||
<option value="" disabled selected>Select Campaign</option>
|
||||
@foreach ($campaigns as $campaign)
|
||||
<option value="{{$campaign->id}}">{{$campaign->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 justify-content-center align-center">
|
||||
<button type="submit" title="Submit Your Message!" class="btn btn-submit" name="submit"
|
||||
value="Submit">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('page-specific-scripts')
|
||||
<script>
|
||||
$('.offerd_course').select2({
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
$('#alert_message').hide();
|
||||
}, 6000);
|
||||
|
||||
$('#enquiry_form').submit(function(){
|
||||
$(this).find(':input[type=submit]').prop('disabled', true);
|
||||
});
|
||||
</script>
|
||||
@endsection
|
0
resources/views/bib-front/includes/footer.blade.php
Normal file
0
resources/views/bib-front/includes/footer.blade.php
Normal file
0
resources/views/bib-front/includes/header.blade.php
Normal file
0
resources/views/bib-front/includes/header.blade.php
Normal file
142
resources/views/bib-front/includes/layouts.blade.php
Normal file
142
resources/views/bib-front/includes/layouts.blade.php
Normal file
@@ -0,0 +1,142 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>@yield('title')</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta content="Premium Multipurpose Admin & Dashboard Template" name="description" />
|
||||
<meta content="Themesbrand" name="author" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<link rel="shortcut icon" href="assets/images/favicon.ico">
|
||||
|
||||
{{-- <link href="assets/libs/metrojs/release/MetroJs.Full/MetroJs.min.css" rel="stylesheet" type="text/css" /> --}}
|
||||
<link href="{{asset('css/MetroJs.min.css')}}" id="app-style" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- Bootstrap Css -->
|
||||
{{-- <link href="assets/css/bootstrap.min.css" id="bootstrap-style" rel="stylesheet" type="text/css" /> --}}
|
||||
<link href="{{asset('css/bootstrap.min.css')}}" id="app-style" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- Icons Css -->
|
||||
{{-- <link href="assets/css/icons.min.css" rel="stylesheet" type="text/css" /> --}}
|
||||
<link href="{{asset('css/icons.min.css')}}" id="app-style" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- App Css-->
|
||||
{{-- <link href="assets/css/app.min.css" id="app-style" rel="stylesheet" type="text/css" /> --}}
|
||||
<link href="{{asset('css/app.min.css')}}" id="app-style" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- Sweet Alert-->
|
||||
<link href="{{asset('css/sweetalert2.min.css')}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- Select2-->
|
||||
<link href="{{asset('css/select2.min.css')}}" rel="stylesheet" />
|
||||
|
||||
<!-- style-->
|
||||
<link href="{{asset('css/style.css')}}" rel="stylesheet" />
|
||||
<link href="{{asset('css/frontend.css')}}" rel="stylesheet" />
|
||||
|
||||
<link href="{{ asset('css/dropify.min.css') }}" rel="styleshet">
|
||||
|
||||
<!-- Toastr-->
|
||||
<link rel="stylesheet" href="{{ asset('css/toastr.min.css') }}">
|
||||
|
||||
@yield('page-specific-styles')
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
@include('frontend.layouts.partials.header')
|
||||
|
||||
@yield('content')
|
||||
|
||||
@include('frontend.layouts.partials.footer')
|
||||
|
||||
<a href="#" class="scrollup" style="display: none;"><i class="ion-ios-arrow-up"></i></a>
|
||||
|
||||
<!-- JAVASCRIPT -->
|
||||
{{-- <script src="assets/libs/jquery/jquery.min.js"></script> --}}
|
||||
<script src="{{ asset('js/jquery.min.js') }} "></script>
|
||||
|
||||
|
||||
{{-- <script src="assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script> --}}
|
||||
<script src="{{ asset('js/bootstrap.bundle.min.js') }} "></script>
|
||||
|
||||
{{-- <script src="assets/libs/metismenu/metisMenu.min.js"></script> --}}
|
||||
<script src="{{ asset('js/metisMenu.min.js') }} "></script>
|
||||
|
||||
{{-- <script src="assets/libs/simplebar/simplebar.min.js"></script> --}}
|
||||
<script src="{{ asset('js/simplebar.min.js') }} "></script>
|
||||
|
||||
|
||||
{{-- <script src="assets/libs/node-waves/waves.min.js"></script> --}}
|
||||
{{-- <script src="{{asset('js/waves.min.js')}} "></script> --}}
|
||||
|
||||
{{-- <script src="assets/js/pages/dashboard.init.js"></script> --}}
|
||||
{{-- <script src="{{asset('js/dashboard.init.js')}}"></script> --}}
|
||||
|
||||
<!-- Sweet alert init js-->
|
||||
<script src="{{ asset('js/sweetalert2.min.js') }}"></script>
|
||||
|
||||
{{-- <script src="assets/js/app.js"></script> --}}
|
||||
<script src="{{ asset('js/app.js') }}"></script>
|
||||
|
||||
{{-- Select2 --}}
|
||||
<script src="{{ asset('js/select2.min.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('js/scripts.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('js/toastr/toastr.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('js/jquery.repeater.min.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('js/form-repeater.init.js') }}"></script>
|
||||
|
||||
{{-- <script>
|
||||
$(function () {
|
||||
$('.my-ckeditor').each(function (e) {
|
||||
CKEDITOR.replace(this.id, {
|
||||
filebrowserUploadUrl: "{{route('ckeditor.upload', ['_token' => csrf_token() ])}}",
|
||||
filebrowserUploadMethod: 'form'
|
||||
});
|
||||
});
|
||||
});
|
||||
</script> --}}
|
||||
|
||||
<script>
|
||||
function deleteThis(obj) {
|
||||
let data = obj.getAttribute("link");
|
||||
Swal.fire({
|
||||
title: 'Are you sure?',
|
||||
text: "You won't be able to revert this!",
|
||||
icon: 'warning',
|
||||
showCancelButton: true,
|
||||
confirmButtonColor: '#3085d6',
|
||||
cancelButtonColor: '#d33',
|
||||
confirmButtonText: 'Yes, delete it!'
|
||||
}).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
window.location = data;
|
||||
Swal.fire(
|
||||
'Deleted!',
|
||||
'Your file has been deleted.',
|
||||
'success'
|
||||
)
|
||||
} else {
|
||||
Swal.fire(
|
||||
'Cancelled!',
|
||||
'Your file has been Cancelled.',
|
||||
'error'
|
||||
)
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
@yield('page-specific-scripts')
|
||||
{!! Toastr::message() !!}
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
171
resources/views/bib-front/landing/welcome.blade.php
Normal file
171
resources/views/bib-front/landing/welcome.blade.php
Normal file
@@ -0,0 +1,171 @@
|
||||
@extends('frontend.layouts.app')
|
||||
|
||||
@section('title', 'Enquiry Form')
|
||||
|
||||
@section('content')
|
||||
<div class="container login-section py-5">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{{ asset('images/access.png') }}" alt="" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<!--h2 class="login-right-title pt-5">
|
||||
@if(isset($campaign))
|
||||
{{$campaign->name}}
|
||||
@endif
|
||||
</h2-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="row gx-5">
|
||||
<div class="col-lg-7 col-md-8">
|
||||
<div class="login-form bg-light mt-4 pb-4">
|
||||
@if(isset($campaign) && $campaign->banner)
|
||||
<img class="img-fluid" src="{{ asset($campaign->banner_path)}}"/>
|
||||
@endif
|
||||
@if(Illuminate\Support\Facades\Session::has('success'))
|
||||
<div class="alert alert-success mt-3 mb-3" id="alert_message">
|
||||
{{Illuminate\Support\Facades\Session::get('success')}}
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
@endif
|
||||
<h5 class="login_welcome text-center pt-4 pb-1">Register now for Appointments</h5>
|
||||
<form method="GET" id="enquiry_form" name="enq" action="{{ route('customerform.store',['headers'=> $campaign->name, 'user_agent'=> $campaign->id]) }}" class="p-3">
|
||||
@csrf
|
||||
@if(isset($campaign))
|
||||
<input type="hidden" name="campaign_id" id="" value="{{$campaign->id}}">
|
||||
@endif
|
||||
<input type="hidden" name="source" id="" value="registration">
|
||||
<div class="row">
|
||||
<div class="form-group col-12">
|
||||
<input required="required" placeholder="Enter Name" id="first-name" class="form-control"
|
||||
name="name" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-8">
|
||||
<input required="required" placeholder="Enter Email" id="email" class="form-control"
|
||||
name="email" type="email">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-4">
|
||||
<input required="required" placeholder="Enter Phone" id="phone" class="form-control"
|
||||
name="phone" type="number">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-4">
|
||||
<select name="highest_qualification" class="form-control">
|
||||
<option value="" disabled selected>Select Qualification</option>
|
||||
@foreach ($qualifications as $qualification)
|
||||
<option value="{{$qualification->name}}">{{$qualification->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-4">
|
||||
<input placeholder="Grade" class="form-control"
|
||||
name="highest_grade" type="text">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group col-4">
|
||||
<input placeholder="Stream" class="form-control"
|
||||
name="highest_stream" type="text">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-6">
|
||||
<select name="test_name" class="form-control">
|
||||
<option value="" disabled selected>Select Test Preparation</option>
|
||||
@foreach ($preparations as $preparation)
|
||||
<option value="{{$preparation->name}}">{{$preparation->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group col-6">
|
||||
<input placeholder="Enter Test Score " class="form-control"
|
||||
name="test_score" type="text">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- <div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<select class="form-select form-control" name="preffered_location" aria-label="Default select example">
|
||||
<option selected disabled>Registering For</option>
|
||||
<option value="baneshwor">NZ Admission Day New Baneshor (24 August)</option>
|
||||
<option value="biratnagar">NZ Admission Day Biratnagar (25 August)</option>
|
||||
<option value="pokhara">NZ Admission Day Pokhara (26 August)</option>
|
||||
<option value="chitwan">NZ Admission Day Chitwan (28 August)</option>
|
||||
<option value="butwal">NZ Admission Day Butwal (29 August)</option>
|
||||
<option value="putalisadak">NZ Admission Day Putalisadak (30 August)</option>
|
||||
</select>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
@if(!empty($campaign_course[0]))
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-6">
|
||||
<select name="intrested_course[]" data-placeholder="Please Select Intrested Course" class="form-control offerd_course mt-1 mt-2" multiple>
|
||||
@foreach ($campaign_course as $course)
|
||||
<option value="{{$course}}">{{$course}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 justify-content-center align-center">
|
||||
<button type="submit" title="Submit Your Message!" class="btn btn-submit" name="submit"
|
||||
value="Submit">Submit</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-5 col-md-4 d-flex align-items-center pl-5">
|
||||
<div class="login-right">
|
||||
|
||||
|
||||
<div class="login-right-list pt-4 ">
|
||||
@if(isset($campaign))
|
||||
|
||||
{!! $campaign->description !!}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('page-specific-scripts')
|
||||
<script>
|
||||
$('.offerd_course').select2({
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
$('#alert_message').hide();
|
||||
}, 6000);
|
||||
|
||||
$('#enquiry_form').submit(function(){
|
||||
$(this).find(':input[type=submit]').prop('disabled', true);
|
||||
});
|
||||
</script>
|
||||
@endsection
|
203
resources/views/bib/confirmation.blade.php
Normal file
203
resources/views/bib/confirmation.blade.php
Normal file
@@ -0,0 +1,203 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
|
||||
<div class="infotext">
|
||||
<h1> Visitor Confirmation</h1>
|
||||
<h5>Welcome <?php echo $data->name; ?></h5>
|
||||
</div>
|
||||
<form>
|
||||
@csrf
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="" disabled value="<?php echo $data->name; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" value="<?php echo $data->email; ?>" id="from-email" name="email" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->mobile; ?>" id="from-phone" name="mobile" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_qualification; ?>" id="from-qualifications" name="from-qualifications" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_college; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->intrested_for_country; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" value="<?php echo $data->remarks; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><a class="btn btn-success btn-block" href="<?php echo route("home"); ?>">Visitor Confirmed <i class="fa fa-chevron-circle-right"></i></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@push("css")
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
background-image: url(<?php echo site_url("lms/assets/images/bg.jpg"); ?>);
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #083079;
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-family: sans-serif;
|
||||
background: #1951b8;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.8em;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: .8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
@@ -0,0 +1,6 @@
|
||||
<p>A new registration has been created:</p>
|
||||
<ul>
|
||||
<li>Name: {{ $registration->name }}</li>
|
||||
<li>Email: {{ $registration->email }}</li>
|
||||
<li>Mobile: {{ $registration->mobile }}</li>
|
||||
</ul>
|
0
resources/views/bib/form.blade.php
Normal file
0
resources/views/bib/form.blade.php
Normal file
210
resources/views/bib/home.blade.php
Normal file
210
resources/views/bib/home.blade.php
Normal file
@@ -0,0 +1,210 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
|
||||
|
||||
<div class="image-holder"> <img src="{{template('images/form-wizard.png')}}" alt>
|
||||
</div>
|
||||
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="3" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-header">
|
||||
<a href="#">#CANANDA BONANZA 2.0</a>
|
||||
<h3>Register for the ABROAD STUDY</h3>
|
||||
</div>
|
||||
<div id="wizard">
|
||||
|
||||
<h4></h4>
|
||||
<section>
|
||||
<div class="form-row" style="margin-bottom: 26px;">
|
||||
<label for>
|
||||
Full Name
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for>
|
||||
Email Address
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for>
|
||||
Mobile Number
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<h4></h4>
|
||||
<section>
|
||||
<div class="form-row">
|
||||
<label for>
|
||||
Highest Qualification
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC" class="option">SEE/SLC</option>
|
||||
<option value="A levels" class="option">A levels</option>
|
||||
<option value="10+2/PCL" class="option">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)" class="option">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)" class="option">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above" class="option">Master's and Above</option>
|
||||
</select>
|
||||
|
||||
<i class="zmdi zmdi-caret-down"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for>
|
||||
University / Board
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label for>
|
||||
Preferred Study Destination
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia" class="option">Study in Australia</option>
|
||||
<option value="study-in-usa" class="option">Study in USA</option>
|
||||
<option value="study-in-canada" class="option">Study in Canada</option>
|
||||
<option value="other" class="option">Others</option>
|
||||
</select>
|
||||
|
||||
<i class="zmdi zmdi-caret-down"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<h4></h4>
|
||||
<section>
|
||||
|
||||
<div class="form-row">
|
||||
<label for>
|
||||
Message / Enquiry
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row" style="margin-bottom: 50px;">
|
||||
<label for>
|
||||
Gender:
|
||||
</label>
|
||||
<div class="form-holder">
|
||||
<div class="checkbox-circle">
|
||||
<label class="male">
|
||||
<input type="radio" name="gender" value="male" checked> Male<br>
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="female">
|
||||
<input type="radio" name="gender" value="female"> Female<br>
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="gender" value="transgender">Transgender<br>
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="checkbox-circle" style="margin-bottom: 48px;">
|
||||
<label>
|
||||
<input type="checkbox" checked>I agree all statement in Terms & Conditions
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#enquiry-form').submit(function (e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function (response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
// fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this Nirvana Australian Education Fest PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'nirvana_australian_edcation_fest_qrcode.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'nirvana_australian_edcation_fest_qrcode.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function (field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function () {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function () {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'nirvana_australian_edcation_fest_qrcode.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
320
resources/views/bib/office-reception.blade.php
Normal file
320
resources/views/bib/office-reception.blade.php
Normal file
@@ -0,0 +1,320 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-new-zealand">Study in New Zealand</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
<option value="study-in-uk">Study in UK</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Get Admit Pass <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]); ?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
|
||||
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #083079;
|
||||
}
|
||||
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
319
resources/views/bib/office-visits.blade.php
Normal file
319
resources/views/bib/office-visits.blade.php
Normal file
@@ -0,0 +1,319 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
|
||||
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group ">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-primary btn-block" type="submit" id="submitButton">Submit <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]); ?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
background: #3e2c75;
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #9c1e5b;
|
||||
}
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
@endpush
|
13
resources/views/bib/partials/footer.blade.php
Normal file
13
resources/views/bib/partials/footer.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<script src="{!! template('js/jquery-3.3.1.min.js')!!}"></script>
|
||||
<script src="{!! template('js/jquery.steps.js')!!}"></script>
|
||||
<script src="{!! template('vendor/date-picker/js/datepicker.js')!!}"></script>
|
||||
<script src="{!! template('vendor/date-picker/js/datepicker.en.js')!!}"></script>
|
||||
<script src="{!! template('js/main.js')!!}"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-23581568-13"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-23581568-13');
|
||||
</script>
|
0
resources/views/bib/partials/header.blade.php
Normal file
0
resources/views/bib/partials/header.blade.php
Normal file
57
resources/views/bib/partials/seo.blade.php
Normal file
57
resources/views/bib/partials/seo.blade.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php // dd($data); ?>
|
||||
<title>
|
||||
<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>
|
||||
</title>
|
||||
<meta name="description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
?>">
|
||||
<meta name="keywords" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_keywords != "") ? $data->seo_keywords : SITEVARS->seo_keywords;
|
||||
} else {
|
||||
echo SITEVARS->seo_keywords;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta name="author" content="Bibhuti Solution Pvt. Ltd.">
|
||||
<meta name="subject" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:title" content="<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>">
|
||||
<meta property="og:description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:image" content="<?php echo site_url(SITEVARS->og_image); ?>">
|
||||
<meta property="og:url" content="<?php echo site_url(); ?>">
|
||||
<meta property="og:site_name" content="<?php echo SITEVARS->title; ?>">
|
||||
<?php if(isset($data))
|
||||
{
|
||||
echo $data->og_tags;
|
||||
}
|
||||
?>
|
51
resources/views/bib/welcome.blade.php
Normal file
51
resources/views/bib/welcome.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo SITEVARS->Campaigns[0]->seo_title;?> : {{env("APP_NAME")}}</title>
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo SITEVARS->icon; ?>">
|
||||
@if (!View::hasSection('seo'))
|
||||
@include(env("CLIENT_PATH").'.partials.seo')
|
||||
@endif
|
||||
@yield("seo")
|
||||
<!-- Stylesheets -->
|
||||
|
||||
<!-- Responsive -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
|
||||
<link rel="stylesheet" href="{!! template ('fonts/material-design-iconic-font/css/material-design-iconic-font.css')!!}">
|
||||
<link rel="stylesheet" href="{!! template ('vendor/date-picker/css/datepicker.min.css')!!}">
|
||||
<link rel="stylesheet" href="{!! template ('css/style.css')!!}">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stack("css")
|
||||
<?php echo SITEVARS->meta_pixel_code; ?>
|
||||
</head>
|
||||
|
||||
|
||||
<body class="hidden-bar-wrapper">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Main Header-->
|
||||
@include(env("CLIENT_PATH").".partials.header")
|
||||
<div class="wrapper">
|
||||
|
||||
@yield("content")
|
||||
</div>
|
||||
<!-- End News Section -->
|
||||
@include(env("CLIENT_PATH").".partials.footer")
|
||||
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
203
resources/views/bibform/confirmation.blade.php
Normal file
203
resources/views/bibform/confirmation.blade.php
Normal file
@@ -0,0 +1,203 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
|
||||
<div class="infotext">
|
||||
<h1> Visitor Confirmation</h1>
|
||||
<h5>Welcome <?php echo $data->name; ?></h5>
|
||||
</div>
|
||||
<form>
|
||||
@csrf
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="" disabled value="<?php echo $data->name; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" value="<?php echo $data->email; ?>" id="from-email" name="email" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->mobile; ?>" id="from-phone" name="mobile" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_qualification; ?>" id="from-qualifications" name="from-qualifications" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->highest_college; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<input class="form-control" type="text" value="<?php echo $data->intrested_for_country; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" value="<?php echo $data->remarks; ?>" required="" disabled>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><a class="btn btn-success btn-block" href="<?php echo route("home"); ?>">Visitor Confirmed <i class="fa fa-chevron-circle-right"></i></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@push("css")
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
background-image: url(<?php echo site_url("lms/assets/images/bg.jpg"); ?>);
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
|
||||
}
|
||||
|
||||
.form-box {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #083079;
|
||||
}
|
||||
|
||||
.boximage {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-family: sans-serif;
|
||||
background: #1951b8;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.8em;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p {
|
||||
line-height: 1.5em;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
form {
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
|
||||
.required-input {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: .8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing: 0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type=submit]:hover {
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
@@ -0,0 +1,6 @@
|
||||
<p>A new registration has been created:</p>
|
||||
<ul>
|
||||
<li>Name: {{ $registration->name }}</li>
|
||||
<li>Email: {{ $registration->email }}</li>
|
||||
<li>Mobile: {{ $registration->mobile }}</li>
|
||||
</ul>
|
0
resources/views/bibform/form.blade.php
Normal file
0
resources/views/bibform/form.blade.php
Normal file
272
resources/views/bibform/home.blade.php
Normal file
272
resources/views/bibform/home.blade.php
Normal file
@@ -0,0 +1,272 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 offset-lg-2 col-md-10 offset-md-1">
|
||||
<div class="from-section-full">
|
||||
<div class="top-section">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<div id="wizard_container">
|
||||
<div id="top-wizard">
|
||||
<div id="progressbar"></div>
|
||||
</div>
|
||||
<!-- /top-wizard -->
|
||||
<form method="POST">
|
||||
<input id="website" name="website" type="text" value="">
|
||||
<!-- Leave for security protection, read docs for details -->
|
||||
<div id="middle-wizard">
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>1/4</strong>Please fill with your details</h3>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="firstname" class="form-control required" placeholder="First Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="lastname" class="form-control required" placeholder="Last Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="email" name="email" class="form-control required" placeholder="Your Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="mobile" class="form-control " placeholder="Mobile Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="country">
|
||||
<option value="">Your Country</option>
|
||||
<option value="Europe">Europe</option>
|
||||
<option value="Asia">Asia</option>
|
||||
<option value="North America">North America</option>
|
||||
<option value="South America">South America</option>
|
||||
<option value="Oceania">Oceania</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="city">
|
||||
<option value="">Your City</option>
|
||||
<option value="city_1">City 1</option>
|
||||
<option value="city_2">City 2</option>
|
||||
<option value="city_3">City 3</option>
|
||||
<option value="city_4">City 4</option>
|
||||
<option value="city_5">City 5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="address" class="form-control required" placeholder="Your Address">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group">
|
||||
<input type="text" name="age" class="form-control" placeholder="Age">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group radio_input">
|
||||
<label class="container_radio">Male
|
||||
<input type="radio" name="gender" value="Male" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="container_radio">Female
|
||||
<input type="radio" name="gender" value="Female" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /row -->
|
||||
<div class="form-group terms">
|
||||
<label class="container_check">Please accept our <a href="#" data-bs-toggle="modal" data-bs-target="#terms-txt">Terms and conditions</a>
|
||||
<input type="checkbox" name="terms" value="Yes" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>2/4</strong>Make a Multiple Choice Test Template Using Excel</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Activate Developer Tab
|
||||
<input type="radio" name="question_1" value="Activate Developer Tab" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Providing a Lecturer
|
||||
<input type="radio" name="question_1" value="Providing a Lecturer" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Personally Quizzes
|
||||
<input type="radio" name="question_1" value="Personally Quizzes" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Massive Batches
|
||||
<input type="radio" name="question_1" value="Massive Batches" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Extremely Satisfied
|
||||
<input type="radio" name="question_1" value="Extremely Satisfied" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>3/4</strong>Select What Suits you Best and Help us Improve Our Services.</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Fronted Developer
|
||||
<input type="checkbox" name="question_2[]" value="Fronted Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Web Designer
|
||||
<input type="checkbox" name="question_2[]" value="Web Designer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Full Stack Developer
|
||||
<input type="checkbox" name="question_2[]" value="Full Stack Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Backend Developer
|
||||
<input type="checkbox" name="question_2[]" value="Backend Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Other
|
||||
<input type="checkbox" name="question_2[]" value="Other" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>In no, please describe with few words why</label>
|
||||
<textarea name="additional_message" class="form-control" style="height:100px;" placeholder="Type here additional info..." onkeyup="getVals(this, 'additional_message');"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /step-->
|
||||
<div class="submit step result-before-submit">
|
||||
<h3 class="main_question"><strong>4/4</strong>Summary</h3>
|
||||
<div class="summary">
|
||||
<ul>
|
||||
<li><strong>1</strong>
|
||||
<h5>Make a Multiple Choice Test Template Using Excel</h5>
|
||||
<p id="question_1"></p>
|
||||
</li>
|
||||
<li><strong>2</strong>
|
||||
<h5>Select What Suits you Best and Help us Improve Our Services.</h5>
|
||||
<p id="question_2"></p>
|
||||
<p id="additional_message"></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
</div>
|
||||
<!-- /middle-wizard -->
|
||||
<div id="bottom-wizard">
|
||||
<button type="button" name="backward" class="backward">Prev</button>
|
||||
<button type="button" name="forward" class="forward">Next</button>
|
||||
<button type="submit" name="process" class="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#enquiry-form').submit(function (e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function (response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
// fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this Nirvana Australian Education Fest PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'nirvana_australian_edcation_fest_qrcode.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'nirvana_australian_edcation_fest_qrcode.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function (field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function () {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function () {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'nirvana_australian_edcation_fest_qrcode.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
249
resources/views/bibform/index2.html
Normal file
249
resources/views/bibform/index2.html
Normal file
@@ -0,0 +1,249 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="no-js" lang="en">
|
||||
|
||||
<!-- Mirrored from preetheme.com/html/multitier/demo/index2.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 13 Oct 2023 03:12:08 GMT -->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>MultiTier - MultiStep Multipurpose HTML5 Form</title>
|
||||
<link rel="icon" href="img/icon.png" type="image/gif" sizes="16x16">
|
||||
<link rel="icon" href="img/icon.png" type="image/gif" sizes="18x18">
|
||||
<link rel="icon" href="img/icon.png" type="image/gif" sizes="20x20">
|
||||
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="css/bootstrap-icons.css">
|
||||
<link rel="stylesheet" href="css/normalize.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<main class="main-section style-2">
|
||||
<!-- Left Area -->
|
||||
<div class="left-sidebar-area" style="background-image: url('img/left-bg.jpg');">
|
||||
<div class="left-sidebar-area-full">
|
||||
<div class="logo">
|
||||
<a href="index2.html">
|
||||
<img src="img/logo-w.png" alt="logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Easy-to-use ready HTML forms for every business.</h2>
|
||||
<p>Lorem ipsum, dolor sit, amet consectetur adipisicing elit. Quia quisquam nobis at dolorem fugiat minima veniam amet dolores iusto illum non in molestiae necessitatibus doloribus voluptate aliquam praesentium corrupti, magnam.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Right Area -->
|
||||
<div class="right-wrapper-area">
|
||||
<div class="right-wrapper-area-full">
|
||||
<div class="from-section-full">
|
||||
<div id="wizard_container">
|
||||
<div id="top-wizard">
|
||||
<div id="progressbar"></div>
|
||||
</div>
|
||||
<!-- /top-wizard -->
|
||||
<form method="POST">
|
||||
<input id="website" name="website" type="text" value="">
|
||||
<!-- Leave for security protection, read docs for details -->
|
||||
<div id="middle-wizard">
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>1/4</strong>Please fill with your details</h3>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="firstname" class="form-control required" placeholder="First Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="lastname" class="form-control required" placeholder="Last Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="email" name="email" class="form-control required" placeholder="Your Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="mobile" class="form-control " placeholder="Mobile Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="country">
|
||||
<option value="">Your Country</option>
|
||||
<option value="Europe">Europe</option>
|
||||
<option value="Asia">Asia</option>
|
||||
<option value="North America">North America</option>
|
||||
<option value="South America">South America</option>
|
||||
<option value="Oceania">Oceania</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="city">
|
||||
<option value="">Your City</option>
|
||||
<option value="city_1">City 1</option>
|
||||
<option value="city_2">City 2</option>
|
||||
<option value="city_3">City 3</option>
|
||||
<option value="city_4">City 4</option>
|
||||
<option value="city_5">City 5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="address" class="form-control required" placeholder="Your Address">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group">
|
||||
<input type="text" name="age" class="form-control" placeholder="Age">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group radio_input">
|
||||
<label class="container_radio">Male
|
||||
<input type="radio" name="gender" value="Male" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="container_radio">Female
|
||||
<input type="radio" name="gender" value="Female" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /row -->
|
||||
<div class="form-group terms">
|
||||
<label class="container_check">Please accept our <a href="#" data-bs-toggle="modal" data-bs-target="#terms-txt">Terms and conditions</a>
|
||||
<input type="checkbox" name="terms" value="Yes" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>2/4</strong>Make a Multiple Choice Test Template Using Excel</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Activate Developer Tab
|
||||
<input type="radio" name="question_1" value="Activate Developer Tab" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Providing a Lecturer
|
||||
<input type="radio" name="question_1" value="Providing a Lecturer" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Personally Quizzes
|
||||
<input type="radio" name="question_1" value="Personally Quizzes" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Massive Batches
|
||||
<input type="radio" name="question_1" value="Massive Batches" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Extremely Satisfied
|
||||
<input type="radio" name="question_1" value="Extremely Satisfied" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>3/4</strong>Select What Suits you Best and Help us Improve Our Services.</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Fronted Developer
|
||||
<input type="checkbox" name="question_2[]" value="Fronted Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Web Designer
|
||||
<input type="checkbox" name="question_2[]" value="Web Designer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Full Stack Developer
|
||||
<input type="checkbox" name="question_2[]" value="Full Stack Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Backend Developer
|
||||
<input type="checkbox" name="question_2[]" value="Backend Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Other
|
||||
<input type="checkbox" name="question_2[]" value="Other" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>In no, please describe with few words why</label>
|
||||
<textarea name="additional_message" class="form-control" style="height:100px;" placeholder="Type here additional info..." onkeyup="getVals(this, 'additional_message');"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /step-->
|
||||
<div class="submit step result-before-submit">
|
||||
<h3 class="main_question"><strong>4/4</strong>Summary</h3>
|
||||
<div class="summary">
|
||||
<ul>
|
||||
<li><strong>1</strong>
|
||||
<h5>Make a Multiple Choice Test Template Using Excel</h5>
|
||||
<p id="question_1"></p>
|
||||
</li>
|
||||
<li><strong>2</strong>
|
||||
<h5>Select What Suits you Best and Help us Improve Our Services.</h5>
|
||||
<p id="question_2"></p>
|
||||
<p id="additional_message"></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
</div>
|
||||
<!-- /middle-wizard -->
|
||||
<div id="bottom-wizard">
|
||||
<button type="button" name="backward" class="backward">Prev</button>
|
||||
<button type="button" name="forward" class="forward">Next</button>
|
||||
<button type="submit" name="process" class="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
<!-- Js File -->
|
||||
<script src="js/jquery-3.6.3.min.js"></script>
|
||||
<script src="js/all.scripts.js"></script>
|
||||
<script src="js/survey.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from preetheme.com/html/multitier/demo/index2.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 13 Oct 2023 03:12:12 GMT -->
|
||||
</html>
|
320
resources/views/bibform/office-reception.blade.php
Normal file
320
resources/views/bibform/office-reception.blade.php
Normal file
@@ -0,0 +1,320 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-new-zealand">Study in New Zealand</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
<option value="study-in-uk">Study in UK</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Get Admit Pass <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]); ?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
|
||||
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #083079;
|
||||
}
|
||||
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
319
resources/views/bibform/office-visits.blade.php
Normal file
319
resources/views/bibform/office-visits.blade.php
Normal file
@@ -0,0 +1,319 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
<div class="form-box">
|
||||
<div class="boximage">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<!-- <div class="infotext">
|
||||
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
|
||||
</div> -->
|
||||
<form method="post" action="#" id="enquiry-form">
|
||||
@csrf
|
||||
<input type="hidden" name="sources_id" value="2" />
|
||||
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
|
||||
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
|
||||
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
|
||||
<option value="">Select Qualification</option>
|
||||
<option value="SEE/SLC">SEE/SLC</option>
|
||||
<option value="A levels">A levels</option>
|
||||
<option value="10+2/PCL">10+2/PCL</option>
|
||||
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
|
||||
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
|
||||
<option value="Master's and Above">Master's and Above</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
|
||||
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
|
||||
<div class="input-group">
|
||||
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
|
||||
<div class="select-group">
|
||||
<select name="preferred_destination" class="form-control field-info" required="">
|
||||
<option value="" selected="" disabled="">Preferred Study Destination *</option>
|
||||
<option value="study-in-australia">Study in Australia</option>
|
||||
<option value="study-in-usa">Study in USA</option>
|
||||
<option value="study-in-canada">Study in Canada</option>
|
||||
|
||||
|
||||
<option value="other">Others</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="form-group"><label for="from-calltime">Message / Enquiry</label><span class="required-input">*</span>
|
||||
<textarea name="message" class="form-control" rows="5" re></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group ">
|
||||
<div class="form-row">
|
||||
<input type="hidden" name="g-recaptcha-response" value="">
|
||||
|
||||
<div class="col"><button class="btn btn-primary btn-block" type="submit" id="submitButton">Submit <i class="fa fa-chevron-circle-right"></i></button></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<?php //pre(SITEVARS->Campaigns[0]); ?>
|
||||
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" style="display: none;">
|
||||
<h5 class="modal-title" id="success-modal-label">Success</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="modal-text-area">
|
||||
</div>
|
||||
<div id="success-modal-qr">
|
||||
</div>
|
||||
<div id="canvas-area">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Error messages will be displayed here -->
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@endsection
|
||||
|
||||
@push("js")
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#enquiry-form').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var formData = $(this).serialize();
|
||||
var response = "";
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '<?php echo route("registration.submit"); ?>',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
|
||||
fbq('track', 'PageView');
|
||||
if (response.status) {
|
||||
$('#registration-id').text(response.registration_id);
|
||||
$('#success-modal-label').text("Registration is successful");
|
||||
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
// downloadLink.click();
|
||||
$('#success-modal').modal('show');
|
||||
$form[0].reset();
|
||||
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
|
||||
var existingRegistrationData = response.registration;
|
||||
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = response.qr_code;
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
|
||||
//downloadLink.click();
|
||||
$('#success-modal-label').text(response.message);
|
||||
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
|
||||
$('#success-modal').modal('show');
|
||||
} else {
|
||||
var errorMessages = '';
|
||||
$.each(response.errors, function(field, errors) {
|
||||
errorMessages += errors.join('<br>');
|
||||
});
|
||||
$('#error-modal .modal-body').html(errorMessages);
|
||||
$('#error-modal').modal('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#success-modal').on('hidden.bs.modal', function() {
|
||||
$('#enquiry-form')[0].reset(); // Reset the form
|
||||
});
|
||||
$('#downloadButton').on('click', function() {
|
||||
// Trigger the download when the button is clicked
|
||||
var downloadLink = document.createElement('a');
|
||||
downloadLink.href = $('#success-modal-qr img').attr('src');
|
||||
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@push("css")
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body{
|
||||
background: #3e2c75;
|
||||
}
|
||||
|
||||
.form-box{
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
width: 98%;
|
||||
border-radius: 5px;
|
||||
box-shadow: 10px 10px 0 0 #9c1e5b;
|
||||
}
|
||||
.boximage{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
background-size: cover;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.infotext {
|
||||
width: 100%;
|
||||
padding: 3%;
|
||||
text-align: center;
|
||||
color: #162c38;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: 'Roboto Slab', serif;
|
||||
font-size: 1.1em;
|
||||
color: #162c38;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.infotext p{
|
||||
line-height: 1.5em;
|
||||
letter-spacing:0.05em;
|
||||
}
|
||||
|
||||
form{
|
||||
width: 100%;
|
||||
padding: 5%;
|
||||
}
|
||||
.required-input{
|
||||
color: #f00;
|
||||
}
|
||||
input{
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: solid 1px #bbb7b7;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
padding: 2%;
|
||||
font-size: 0.8em;
|
||||
font-family: sans-serif;
|
||||
letter-spacing:0.1em;
|
||||
color: #888;
|
||||
text-align: left;
|
||||
}
|
||||
input[type=submit]{
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: #a82d2d;
|
||||
color:#fff;
|
||||
text-align: center;
|
||||
}
|
||||
input[type=submit]:hover{
|
||||
background-color: #711616;
|
||||
cursor: pointer;
|
||||
}
|
||||
.form-control{
|
||||
height: 50px;
|
||||
background: #ecf0f4;
|
||||
border-color: transparent;
|
||||
padding: 0 15px;
|
||||
font-size: 16px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
-moz-transition: all 0.3s ease-in-out;
|
||||
-o-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
.form-control:focus{
|
||||
border-color: #00bcd9;
|
||||
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||||
}
|
||||
textarea.form-control{
|
||||
height: 160px;
|
||||
padding-top: 15px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
.content-column ul li {
|
||||
|
||||
list-style-type: disc;
|
||||
|
||||
margin-left: 20px;
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
@endpush
|
4
resources/views/bibform/partials/footer.blade.php
Normal file
4
resources/views/bibform/partials/footer.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<!-- Js File -->
|
||||
<script src="{!! template('js/jquery-3.6.3.min.js')!!}"></script>
|
||||
<script src="{!! template('js/all.scripts.js')!!}"></script>
|
||||
<script src="{!! template('js/survey.js')!!}"></script>
|
0
resources/views/bibform/partials/header.blade.php
Normal file
0
resources/views/bibform/partials/header.blade.php
Normal file
57
resources/views/bibform/partials/seo.blade.php
Normal file
57
resources/views/bibform/partials/seo.blade.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php // dd($data); ?>
|
||||
<title>
|
||||
<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>
|
||||
</title>
|
||||
<meta name="description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
?>">
|
||||
<meta name="keywords" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_keywords != "") ? $data->seo_keywords : SITEVARS->seo_keywords;
|
||||
} else {
|
||||
echo SITEVARS->seo_keywords;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta name="author" content="Bibhuti Solution Pvt. Ltd.">
|
||||
<meta name="subject" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:title" content="<?php if (isset($data)) {
|
||||
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
|
||||
echo " | " . SITEVARS->title;
|
||||
} else {
|
||||
echo SITEVARS->seo_title;
|
||||
}
|
||||
?>">
|
||||
<meta property="og:description" content="<?php
|
||||
if (isset($data)) {
|
||||
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
|
||||
} else {
|
||||
echo SITEVARS->seo_description;
|
||||
}
|
||||
|
||||
?>">
|
||||
<meta property="og:image" content="<?php echo site_url(SITEVARS->og_image); ?>">
|
||||
<meta property="og:url" content="<?php echo site_url(); ?>">
|
||||
<meta property="og:site_name" content="<?php echo SITEVARS->title; ?>">
|
||||
<?php if(isset($data))
|
||||
{
|
||||
echo $data->og_tags;
|
||||
}
|
||||
?>
|
54
resources/views/bibform/welcome.blade.php
Normal file
54
resources/views/bibform/welcome.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo SITEVARS->Campaigns[0]->seo_title;?> : {{env("APP_NAME")}}</title>
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo SITEVARS->icon; ?>">
|
||||
@if (!View::hasSection('seo'))
|
||||
@include(env("CLIENT_PATH").'.partials.seo')
|
||||
@endif
|
||||
@yield("seo")
|
||||
<!-- Stylesheets -->
|
||||
|
||||
<!-- Responsive -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="{!! template('css/bootstrap.min.css')!!}">
|
||||
<link rel="stylesheet" href="{!! template('css/bootstrap-icons.css')!!}">
|
||||
<link rel="stylesheet" href="css/normalize.css')!!}">
|
||||
<link rel="stylesheet" href="{!! template('style.css')!!}">
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stack("css")
|
||||
<?php echo SITEVARS->meta_pixel_code; ?>
|
||||
</head>
|
||||
|
||||
|
||||
<body class="hidden-bar-wrapper">
|
||||
|
||||
|
||||
|
||||
<!-- Main Header-->
|
||||
@include(env("CLIENT_PATH").".partials.header")
|
||||
<main class="main-section" style="background-image: url('{{template('img/bg.jpg')}}');">
|
||||
|
||||
@yield("content")
|
||||
</main>
|
||||
<!-- End News Section -->
|
||||
@include(env("CLIENT_PATH").".partials.footer")
|
||||
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
18
resources/views/campaign/create.blade.php
Normal file
18
resources/views/campaign/create.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('layouts.admin.admin')
|
||||
@section('title', 'Campaign')
|
||||
|
||||
@section('content')
|
||||
|
||||
<section>
|
||||
<div class="section-body">
|
||||
<form class="form form-validate floating-label" action="{{route('campaign.store')}}" method="POST" enctype="multipart/form-data" novalidate>
|
||||
@include('campaign.partials.form',['header' => 'Create a Campaign'])
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
@stop
|
||||
|
||||
|
||||
|
||||
|
||||
|
26
resources/views/campaign/edit.blade.php
Normal file
26
resources/views/campaign/edit.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
@extends('layouts.admin.admin')
|
||||
|
||||
@section('title', 'Campaign')
|
||||
|
||||
@section('content')
|
||||
<section>
|
||||
<div class="section-body">
|
||||
<form class="form form-validate floating-label" action="{{route('campaign.update',$campaign->id)}}"
|
||||
method="POST" enctype="multipart/form-data" novalidate>
|
||||
@method('PUT')
|
||||
@include('campaign.partials.form', ['header' => 'Edit campaign <span class="text-primary">('.($campaign->name).')</span>'])
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
@stop
|
||||
|
||||
@push('styles')
|
||||
<link href="{{ asset('backend/assets/css/libs/dropify/dropify.min.css') }}" rel="stylesheet">
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('backend/assets/js/libs/jquery-validation/dist/jquery.validate.min.js') }}"></script>
|
||||
<script src="{{ asset('backend/assets/js/libs/jquery-validation/dist/additional-methods.min.js') }}"></script>
|
||||
<script src="{{ asset('backend/assets/js/libs/dropify/dropify.min.js') }}"></script>
|
||||
@endpush
|
||||
|
131
resources/views/campaign/index.blade.php
Normal file
131
resources/views/campaign/index.blade.php
Normal file
@@ -0,0 +1,131 @@
|
||||
@extends('layouts.admin.admin')
|
||||
|
||||
@section('page-specific-styles')
|
||||
<link rel="stylesheet" href="{{ asset('css/jquery.dataTables.min.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('css/TableTools.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('css/lightbox.css') }}" />
|
||||
@endsection
|
||||
|
||||
@section('title', 'Campaign')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="nk-block-head">
|
||||
<div class="nk-block-head-between flex-wrap gap g-2">
|
||||
<div class="nk-block-head-content">
|
||||
<h2 class="nk-block-title">Campaign Lists </h1>
|
||||
<nav>
|
||||
<ol class="breadcrumb breadcrumb-arrow mb-0">
|
||||
<li class="breadcrumb-item"><a href="#">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="#">Campaign Lists</a></li>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="nk-block-head-content">
|
||||
<ul class="d-flex">
|
||||
<li><a href="{{ route('campaign.create') }}" class="btn btn-primary d-none d-md-inline-flex"><em
|
||||
class="icon ni ni-plus"></em><span>Add Campaign</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="nk-block">
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card mt-3 mb-2">
|
||||
<div class="card-body">
|
||||
<div class="dataTable-wrapper dataTable-loading fixed-columns">
|
||||
<table class="datatable-init table table-border" data-nk-container="table-responsive" id="CustomTable">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-sortable="" style="width: 2%;"><span class="overline-title">SN</span></th>
|
||||
<th data-sortable="" style="width: 25%;"><span class="overline-title">Name</th>
|
||||
<th data-sortable="" style="width: 15%;"><span class="overline-title">Banner</th>
|
||||
{{-- <th data-sortable="" style="width: 15%;"><span class="overline-title">Detail</th> --}}
|
||||
<th data-sortable="" style="width: 8%;"><span class="overline-title">Starts</th>
|
||||
<th data-sortable="" style="width: 8%;"><span class="overline-title">End</th>
|
||||
<th data-sortable="" style="width: 20%;"><span class="overline-title">Alias</th>
|
||||
<th data-sortable="" style="width: 10%;"><span class="overline-title">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@each('campaign.partials.table', $campaigns, 'campaign')
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{{-- User Registration Found --}}
|
||||
<div class="modal fade alias_modal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title align-self-center mt-0 text-center" id="exampleModalLabel">Update Alias <span
|
||||
class="student_name"></span></h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form action="{{ route('campaign.aliasEdit') }}" method="GET"
|
||||
class="form form-validate floating-label">
|
||||
<input type="hidden" class="campaign_id" value="" name="campaign_id" id="">
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane p-3 active" id="personal" role="tabpanel">
|
||||
<h5 class="pt-1">Alias: </h5>
|
||||
<div class="row">
|
||||
<div class="col-md-3 mt-2">
|
||||
<input type="text" name="alias" class="form-control campaign_alias"
|
||||
value="" required>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Tab panes -->
|
||||
|
||||
<hr>
|
||||
<div class="row mt-2 justify-content-center">
|
||||
<div class="form-group mr-1">
|
||||
<div>
|
||||
<input type="submit" name="pageSubmit"
|
||||
class="btn btn-danger waves-effect waves-light" value="Save Changes">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div>
|
||||
|
||||
@stop
|
||||
|
||||
@section('page-specific-scripts')
|
||||
<script src="{{ asset('js/datatables.min.js') }}"></script>
|
||||
<script src="{{ asset('js/lightbox.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).on('click', '.btn-alias-edit', function(e) {
|
||||
|
||||
var campaign_id = $(this).data('campaign_id');
|
||||
var alias = $(this).data('alias');
|
||||
let campaign_update = $('.campaign_id').val(campaign_id);
|
||||
let alias_update = $('.campaign_alias').val(alias);
|
||||
$('.alias_modal').modal('show');
|
||||
|
||||
});
|
||||
</script>
|
||||
@endsection
|
286
resources/views/campaign/partials/form.blade.php
Normal file
286
resources/views/campaign/partials/form.blade.php
Normal file
@@ -0,0 +1,286 @@
|
||||
@section('page-specific-styles')
|
||||
<link href="{{ asset('css/dropify.min.css') }}" rel="stylesheet">
|
||||
@endsection
|
||||
@csrf
|
||||
<div class="row">
|
||||
<div class="col-sm-9">
|
||||
<div class="nk-block">
|
||||
<div class="nk-block-head">
|
||||
<div class="card">
|
||||
<div class="card-header"> {!! $header !!} </div>
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<div class="form-group ">
|
||||
<label for="name" class="col-form-label pt-0">Campaign Name</label>
|
||||
<div class="">
|
||||
<input class="form-control" type="text" required name="name"
|
||||
value="{{ old('name', isset($campaign->name) ? $campaign->name : '') }}"
|
||||
placeholder="Enter Your Name">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<div class="form-group">
|
||||
<strong>Description</strong>
|
||||
<textarea name="description" id="" class="ckeditor">{{ old('description', isset($campaign->description) ? $campaign->description : '') }}</textarea>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="form-group">
|
||||
<label for="details">Details</label>
|
||||
<textarea name="details" class="form-control">{{ old('details', isset($campaign->details) ? $campaign->details : '') }}
|
||||
</textarea>
|
||||
<span id="textarea1-error"
|
||||
class="text-danger">{{ $errors->first('details') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="col-md-12">
|
||||
<label for="to">Offerd Course, Use (enter) for multiple</label>
|
||||
<select name="offered_course[]" class="form-control offerd_course" id="to"
|
||||
multiple>
|
||||
@if (isset($campaign_course))
|
||||
@foreach ($campaign_course as $course)
|
||||
<option value="{{ $course }}" selected>{{ $course }}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
<span
|
||||
class="text-danger">{{ $errors->has('offered_course') ? $errors->first('offered_course') : '' }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row pt-3">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="starts">Starts</label>
|
||||
<input type="date" name="starts" class="form-control" required
|
||||
value="{{ old('starts', isset($campaign->starts) ? $campaign->starts : '') }}" />
|
||||
|
||||
<span id="textarea1-error" class="text-danger">{{ $errors->first('starts') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="ends">Ends</label>
|
||||
<input type="date" name="ends" class="form-control" required
|
||||
value="{{ old('ends', isset($campaign->ends) ? $campaign->ends : '') }}" />
|
||||
|
||||
<span id="textarea1-error" class="text-danger">{{ $errors->first('ends') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="nk-block">
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header"> Message </div>
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<div class="row">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="Name">Success Message, Please use '< name>' to display name in success
|
||||
message</label>
|
||||
<textarea name="success_message" class="form-control" rows="4">{{ old('success_message', isset($campaign->success_message) ? $campaign->success_message : '') }}
|
||||
</textarea>
|
||||
|
||||
|
||||
<span id="textarea1-error"
|
||||
class="text-danger">{{ $errors->first('success_message') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="Name">SMS Message, Please use '< name>' to display name in sms
|
||||
message</label>
|
||||
<textarea name="sms_message" class="form-control" rows="4">{{ old('sms_message', isset($campaign->sms_message) ? $campaign->sms_message : '') }}
|
||||
</textarea>
|
||||
|
||||
|
||||
<span id="textarea1-error"
|
||||
class="text-danger">{{ $errors->first('sms_message') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<label for="Name">Email Success Message.Please use '< name>' to display name in
|
||||
email.</label>
|
||||
<span id="textarea1-error" class="text-danger">{{ $errors->first('email_success') }}</span>
|
||||
<div class="form-group">
|
||||
<textarea name="email_success" class="form-control" rows="4">{{ old('email_success', isset($campaign->email_success) ? $campaign->email_success : '') }}
|
||||
</textarea>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="nk-block">
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header"> SEO </div>
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<strong>Coupen Codes</strong>
|
||||
<textarea name="coupon_codes" id="coupon_codes" class="form-control" rows="4">{{ old('coupon_codes', isset($campaign->coupon_codes) ? $campaign->coupon_codes : '') }}</textarea>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<strong>OG Tags</strong>
|
||||
<textarea name="ogtags" id="ogtags" class="form-control" rows="4">{{ old('ogtags', isset($campaign->ogtags) ? $campaign->ogtags : '') }}</textarea>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<strong>Headers</strong>
|
||||
<textarea name="headers" class="form-control" rows="4">{{ old('headers', isset($campaign->headers) ? $campaign->headers : '') }}</textarea>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-12">
|
||||
<label for="Name">Keywords - Use (enter) for multiple</label>
|
||||
<select name="keywords[]" class="form-control offerd_course" multiple>
|
||||
@if (isset($keywords))
|
||||
@foreach ($keywords as $keyword)
|
||||
<option value="{{ $keyword }}" selected>{{ $keyword }}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
<span class="text-danger">{{ $errors->has('keywords') ? $errors->first('keywords') : '' }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="form-group d-flex">
|
||||
<span class="pl-1">Status</span>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" name="status" role="switch"
|
||||
id="directMessage"
|
||||
{{ old('status', isset($campaign->status) ? $campaign->status : '') == 'active' ? 'checked' : '' }}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<div id="imageupload">
|
||||
<label class="text-default-light">Banner Image</label>
|
||||
@if (isset($campaign) && $campaign->banner)
|
||||
<input type="file" name="banner" class="dropify"
|
||||
data-default-file="{{ asset($campaign->banner_path) }}" />
|
||||
@else
|
||||
<input type="file" name="banner" class="dropify" />
|
||||
@endif
|
||||
</div>
|
||||
<div id="imageupload2">
|
||||
|
||||
<label class="text-default-light">OG Image</label>
|
||||
@if (isset($campaign) && $campaign->ogImage)
|
||||
<input type="file" name="ogImage" class="dropify"
|
||||
data-default-file="{{ asset($campaign->ogImage_thumbnail_path) }}" />
|
||||
@else
|
||||
<input type="file" name="ogImage" class="dropify" />
|
||||
@endif
|
||||
</div>
|
||||
<div class="row mt-2 justify-content-center">
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<a class="btn btn-light waves-effect ml-1" href="{{ route('campaign.index') }}">
|
||||
<i class="md md-arrow-back"></i>
|
||||
Back
|
||||
</a>
|
||||
<input type="submit" name="pageSubmit" class="btn btn-danger waves-effect waves-light"
|
||||
value="Submit">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('page-specific-scripts')
|
||||
<script src="{{ asset('js/dropify.min.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.dropify').dropify();
|
||||
});
|
||||
</script>
|
||||
<script src="//cdn.ckeditor.com/4.14.1/full/ckeditor.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$('.ckeditor').each(function(e) {});
|
||||
});
|
||||
|
||||
$('.offerd_course').select2({
|
||||
tags: true
|
||||
});
|
||||
</script>
|
||||
@endsection
|
26
resources/views/campaign/partials/table.blade.php
Normal file
26
resources/views/campaign/partials/table.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<tr>
|
||||
<td>{{++$key}}</td>
|
||||
<td>{{ Str::limit($campaign->name, 47) }}</td>
|
||||
<td>
|
||||
<img src="{{asset($campaign->thumbnail_path)}}" class="img-circle width-1" alt="{{$campaign->name}}" width="50" height="50">
|
||||
</td>
|
||||
{{-- <td>{{ Str::limit($campaign->details, 47) }}</td> --}}
|
||||
<td>{{ Str::limit($campaign->starts, 47) }}</td>
|
||||
<td>{{ Str::limit($campaign->ends, 47) }}</td>
|
||||
<td>
|
||||
{{ $campaign->alias }}
|
||||
<button type="button" class="btn btn-sm btn-color-primary btn-hover-primary btn-icon btn-soft btn-editCanvas btn-alias-edit" data-alias="{{$campaign->alias}}" data-campaign_id={{$campaign->id}} data-original-title="Edit"><em class="icon ni ni-edit"></em></button>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<ul class="d-flex flex-wrap ">
|
||||
|
||||
<li><a class="btn btn-sm btn-color-primary btn-hover-primary btn-icon btn-soft btn-editCanvas" name="" href="{{route('campaign.edit', $campaign->id)}}"> <em class="icon ni ni-edit"></em></a></li>
|
||||
<li><a href="#">
|
||||
<button type="button" onclick="deleteThis(this); return false;" link="{{ route('campaign.destroy', $campaign->id) }}" class="btn btn-sm btn-color-danger btn-hover-danger btn-delete btn-icon btn-soft" data-toggle="tooltip" id="sa-warning" data-placement="top" data-original-title="Delete"><em class="icon ni ni-trash"></em></button>
|
||||
</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
0
resources/views/client/access/welcome.blade.php
Normal file
0
resources/views/client/access/welcome.blade.php
Normal file
3
resources/views/components/application-logo.blade.php
Normal file
3
resources/views/components/application-logo.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg viewBox="0 0 316 316" xmlns="http://www.w3.org/2000/svg" {{ $attributes }}>
|
||||
<path d="M305.8 81.125C305.77 80.995 305.69 80.885 305.65 80.755C305.56 80.525 305.49 80.285 305.37 80.075C305.29 79.935 305.17 79.815 305.07 79.685C304.94 79.515 304.83 79.325 304.68 79.175C304.55 79.045 304.39 78.955 304.25 78.845C304.09 78.715 303.95 78.575 303.77 78.475L251.32 48.275C249.97 47.495 248.31 47.495 246.96 48.275L194.51 78.475C194.33 78.575 194.19 78.725 194.03 78.845C193.89 78.955 193.73 79.045 193.6 79.175C193.45 79.325 193.34 79.515 193.21 79.685C193.11 79.815 192.99 79.935 192.91 80.075C192.79 80.285 192.71 80.525 192.63 80.755C192.58 80.875 192.51 80.995 192.48 81.125C192.38 81.495 192.33 81.875 192.33 82.265V139.625L148.62 164.795V52.575C148.62 52.185 148.57 51.805 148.47 51.435C148.44 51.305 148.36 51.195 148.32 51.065C148.23 50.835 148.16 50.595 148.04 50.385C147.96 50.245 147.84 50.125 147.74 49.995C147.61 49.825 147.5 49.635 147.35 49.485C147.22 49.355 147.06 49.265 146.92 49.155C146.76 49.025 146.62 48.885 146.44 48.785L93.99 18.585C92.64 17.805 90.98 17.805 89.63 18.585L37.18 48.785C37 48.885 36.86 49.035 36.7 49.155C36.56 49.265 36.4 49.355 36.27 49.485C36.12 49.635 36.01 49.825 35.88 49.995C35.78 50.125 35.66 50.245 35.58 50.385C35.46 50.595 35.38 50.835 35.3 51.065C35.25 51.185 35.18 51.305 35.15 51.435C35.05 51.805 35 52.185 35 52.575V232.235C35 233.795 35.84 235.245 37.19 236.025L142.1 296.425C142.33 296.555 142.58 296.635 142.82 296.725C142.93 296.765 143.04 296.835 143.16 296.865C143.53 296.965 143.9 297.015 144.28 297.015C144.66 297.015 145.03 296.965 145.4 296.865C145.5 296.835 145.59 296.775 145.69 296.745C145.95 296.655 146.21 296.565 146.45 296.435L251.36 236.035C252.72 235.255 253.55 233.815 253.55 232.245V174.885L303.81 145.945C305.17 145.165 306 143.725 306 142.155V82.265C305.95 81.875 305.89 81.495 305.8 81.125ZM144.2 227.205L100.57 202.515L146.39 176.135L196.66 147.195L240.33 172.335L208.29 190.625L144.2 227.205ZM244.75 114.995V164.795L226.39 154.225L201.03 139.625V89.825L219.39 100.395L244.75 114.995ZM249.12 57.105L292.81 82.265L249.12 107.425L205.43 82.265L249.12 57.105ZM114.49 184.425L96.13 194.995V85.305L121.49 70.705L139.85 60.135V169.815L114.49 184.425ZM91.76 27.425L135.45 52.585L91.76 77.745L48.07 52.585L91.76 27.425ZM43.67 60.135L62.03 70.705L87.39 85.305V202.545V202.555V202.565C87.39 202.735 87.44 202.895 87.46 203.055C87.49 203.265 87.49 203.485 87.55 203.695V203.705C87.6 203.875 87.69 204.035 87.76 204.195C87.84 204.375 87.89 204.575 87.99 204.745C87.99 204.745 87.99 204.755 88 204.755C88.09 204.905 88.22 205.035 88.33 205.175C88.45 205.335 88.55 205.495 88.69 205.635L88.7 205.645C88.82 205.765 88.98 205.855 89.12 205.965C89.28 206.085 89.42 206.225 89.59 206.325C89.6 206.325 89.6 206.325 89.61 206.335C89.62 206.335 89.62 206.345 89.63 206.345L139.87 234.775V285.065L43.67 229.705V60.135ZM244.75 229.705L148.58 285.075V234.775L219.8 194.115L244.75 179.875V229.705ZM297.2 139.625L253.49 164.795V114.995L278.85 100.395L297.21 89.825V139.625H297.2Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user