Compare commits

..

No commits in common. '401c4064441430bcad1bbdda91f9bcfc37fbf32a' and 'f2d67186be7006293f2059fa06877d71e36f74d2' have entirely different histories.

  1. 34
      public/admin/css/custom-admin.css
  2. 3
      public/frontend/css/style.css
  3. 15
      resources/views/admin/enquiry/show.blade.php
  4. 2
      resources/views/admin/index.blade.php
  5. 45
      resources/views/admin/layouts/app.blade.php
  6. 71
      resources/views/appointment.blade.php
  7. 14
      resources/views/enquiry-form.blade.php

@ -1,5 +1,5 @@
.sb{
background: #326cbf;
background: #13a64f;
padding-bottom: 50px;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active{
@ -28,7 +28,7 @@
margin-top: 10px;
}
.main-header{
background: #326cbf;
background: #13a64f;
}
.nav-link i{
color:#fff;
@ -206,7 +206,10 @@ svg{
.create-button{
margin-top:10px;
}
.create-button .col-md-12{
/* display:flex;
justify-content:center; */
}
.create-button .col-md-12 button{
padding:10px 50px;
}
@ -262,6 +265,11 @@ svg{
background: none;
}
.table-search{
/* width: fit-content; */
}
.search-form .table-search input{
/* margin-right: 10px; */
border-radius: 5px!important;
@ -269,6 +277,7 @@ svg{
.ds-input:focus{
border-color: #1850b7;
}
/* new edit */
.table td{
@ -311,6 +320,9 @@ svg{
background: none;
border:none;
color:#fff;
}
.dropdown-menubar .dropdown-menu[data-bs-popper]{
}
.dropdown-menubar button:active{
background-color: none;
@ -350,13 +362,13 @@ svg{
}
.btn-green{
color:#fff;
background: #326cbf;
border-color:#326cbf;
background: #13a64f;
border-color:#13a64f;
}
.btn-green:hover{
color:#fff;
background: #D933A2;
border-color:#D933A2;
background: #ea8937;
border-color:#ea8937;
}
.card-header{
padding: 1rem 1rem!important;
@ -441,7 +453,7 @@ p .font-medium{
font-weight: 700;
font-size: 16px;
color: #000;
width: 300px;
width: 400px;
}
.contact-info{
display: inline-block;
@ -473,9 +485,3 @@ p .font-medium{
font-size: 1rem;
padding: 0.6rem 1rem;
}
.contact-info h2{
font-weight: bold;
font-size: 28px;
color: #326CBF;
margin-bottom: 1rem;
}

@ -2000,9 +2000,6 @@ table.lightgrey-weekends tbody td:nth-child(n+6) {
.displayBtn{
display: block;
}
.displayEnqBtn{
display: inline-block;
}
/* Footer Css */
/* mobile view css */
@media only screen and (min-width: 320px) and (max-width: 480px) {

@ -24,10 +24,8 @@
<div class="card-body">
@include('success.success')
@include('errors.error')
<div class="row">
<div class="col-md-6">
<ul class="contact-info">
<h2>Personal Details</h2>
<ul class="contact-info">
<li class="d-flex">
<span>Full Name:</span>
<span>{{$enquiry->first_name . ' ' .(!is_null($enquiry->middle_name) ? $enquiry->middle_name .' ' :''). $enquiry->last_name}}</span>
@ -58,6 +56,9 @@
<span>Country of Birth:</span>
<span>{{$enquiry->cob}} </span>
</li>
</ul>
<h2>Additional Details</h2>
<ul class="contact-info">
<li class="d-flex">
<span>Highest Qualification:</span>
<span>{{$enquiry->highest_qualification}}</span>
@ -72,11 +73,7 @@
<span>% or GPA:</span>
<span>{{$enquiry->gpa}} </span>
</li>
</ul>
</div>
<div class="col-md-6">
<ul class="contact-info">
<h2>Additional Details</h2>
<li class="d-flex">
<span>Graduate Year:</span>
<span>{{$enquiry->graduate_year}}</span>
@ -151,8 +148,6 @@
</li>
</ul>
</div>
</div>
{!! Form::close() !!}
</div>

@ -12,7 +12,7 @@
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active">ET Education | Visas Dashboard</li>
<li class="breadcrumb-item active">Agility Homecare Dashboard</li>
</ol>
</div><!-- /.col -->
</div><!-- /.row -->

@ -6,33 +6,32 @@
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>ET-Education | Admin Dashboard</title>
<link rel="icon" href="{{url('frontend/icons/favicon.ico')}}">
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
{!! Html::style('admin/plugins/fontawesome-free/css/all.min.css') !!}
<!-- Ionicons -->
{!! Html::style('admin/plugins/fontawesome-free/css/all.min.css') !!}
<!-- Ionicons -->
{!! Html::style('admin/css/ionicons/2.0.1/css/ionicons.min.css') !!}
<!-- Tempusdominus Bootstrap 4 -->
{{-- <link rel="stylesheet" href="plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css">--}}
{!! Html::style('admin/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css') !!}
<!-- iCheck -->
{{-- <link rel="stylesheet" href="plugins/icheck-bootstrap/icheck-bootstrap.min.css">--}}
{!! Html::style('admin/plugins/icheck-bootstrap/icheck-bootstrap.min.css') !!}
<!-- JQVMap -->
{{-- <link rel="stylesheet" href="plugins/jqvmap/jqvmap.min.css">--}}
{!! Html::style('admin/plugins/jqvmap/jqvmap.min.css') !!}
<!-- Theme style -->
{{-- <link rel="stylesheet" href="dist/css/adminlte.min.css">--}}
{!! Html::style('admin/dist/css/adminlte.min.css') !!}
<!-- overlayScrollbars -->
{{-- <link rel="stylesheet" href="plugins/overlayScrollbars/css/OverlayScrollbars.min.css">--}}
{!! Html::style('admin/plugins/overlayScrollbars/css/OverlayScrollbars.min.css') !!}
<!-- Daterange picker -->
{{-- <link rel="stylesheet" href="plugins/daterangepicker/daterangepicker.css">--}}
{!! Html::style('admin/plugins/daterangepicker/daterangepicker.css') !!}
<!-- summernote -->
{{-- <link rel="stylesheet" href="plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css">--}}
{!! Html::style('admin/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css') !!}
<!-- iCheck -->
{{-- <link rel="stylesheet" href="plugins/icheck-bootstrap/icheck-bootstrap.min.css">--}}
{!! Html::style('admin/plugins/icheck-bootstrap/icheck-bootstrap.min.css') !!}
<!-- JQVMap -->
{{-- <link rel="stylesheet" href="plugins/jqvmap/jqvmap.min.css">--}}
{!! Html::style('admin/plugins/jqvmap/jqvmap.min.css') !!}
<!-- Theme style -->
{{-- <link rel="stylesheet" href="dist/css/adminlte.min.css">--}}
{!! Html::style('admin/dist/css/adminlte.min.css') !!}
<!-- overlayScrollbars -->
{{-- <link rel="stylesheet" href="plugins/overlayScrollbars/css/OverlayScrollbars.min.css">--}}
{!! Html::style('admin/plugins/overlayScrollbars/css/OverlayScrollbars.min.css') !!}
<!-- Daterange picker -->
{{-- <link rel="stylesheet" href="plugins/daterangepicker/daterangepicker.css">--}}
{!! Html::style('admin/plugins/daterangepicker/daterangepicker.css') !!}
<!-- summernote -->
{{-- <link rel="stylesheet" href="plugins/summernote/summernote-bs4.min.css">--}}
{!! Html::style('admin/plugins/summernote/summernote-bs4.min.css') !!}
{!! Html::style('admin/flatpickr/dist/flatpickr.min.css') !!}

@ -81,18 +81,15 @@
<input type="hidden" name="appointment_id" id="appointment_id">
<div class="form-group mb-2">
<label for="name">Name</label>
<input type="text" class="form-control mt-1" id="app-name" name="name" onkeyup="validateAppName()">
<span class="error" id="app-name-error"></span>
<input type="text" class="form-control mt-1" id="name" name="name" required>
</div>
<div class="form-group mb-2">
<label for="email">Email</label>
<input type="email" class="form-control mt-1" id="app-email" name="email" onkeyup="validateAppEmail()">
<span class="error" id="app-email-error"></span>
<input type="email" class="form-control mt-1" id="email" name="email" required>
</div>
<div class="form-group mb-2">
<label for="phone">Phone</label>
<input type="tel" class="form-control mt-1" id="app-phone" name="phone" onkeyup="validateAppPhone()">
<span class="error" id="app-phone-error"></span>
<input type="tel" class="form-control mt-1" id="phone" name="phone" required>
</div>
<div class="form-group mb-2">
<label for="notes">Notes</label>
@ -102,10 +99,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" onclick = "submitAppointment()" class="btn btn-primary" id="appointmentbtn">Book Appointment</button>
<button class="buttonload btn btn-primary" id="buttonenqload" disabled>
<i class="fas fa-spinner fa-pulse"></i> Submiting
</button>
<button type="button" onclick = "submitAppointment(event)" class="btn btn-primary">Book Appointment</button>
</div>
</div>
</div>
@ -247,58 +241,8 @@
}
appNameError = document.getElementById('app-name-error');
appEmailError = document.getElementById('app-email-error');
appPhoneError = document.getElementById('app-phone-error');
loaderenqBtn = document.getElementById('buttonenqload');
appointmentBtn = document.getElementById('appointmentbtn');
function validateAppName(){
var appName = document.getElementById('app-name').value;
if(appName.length == 0){
$('#name-email').focus();
appNameError.innerHTML = "Name Field is required !";
return false;
}
appNameError.innerHTML = '';
return true;
}
function validateAppEmail(){
var appEmail = document.getElementById('app-email').value;
if(appEmail.length == 0){
$('#name-email').focus();
appEmailError.innerHTML = "Email Field is required !";
return false;
}
if(!appEmail.match(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(.\w{2,3})+$/)){
appEmailError.innerHTML = "Invalid email address";
return false;
}
appEmailError.innerHTML = '';
return true;
}
function validateAppPhone(){
var appPhone = document.getElementById('app-phone').value;
if(appPhone.length == 0){
$('#app-phone').focus();
appPhoneError.innerHTML = "Phone Field is required !";
return false;
}
if(!appPhone.match(/^\d{10}$/)){
appPhoneError.innerHTML = "Invalid mobile number";
return false;
}
appPhoneError.innerHTML = '';
return true;
}
function submitAppointment(){
if(!validateAppName() || !validateAppEmail() || !validateAppPhone()){
return false;
}else{
loaderenqBtn.classList.add('displayBtn')
appointmentBtn.classList.add('buttonload')
function submitAppointment(event){
event.preventDefault();
$.ajax({
url: "/appointment_submit",
type: "post",
@ -308,7 +252,6 @@
// var isAmStart = response.appointment.start_time < '12:00:00';
// var isAmEnd = response.appointment.end_time < '12:00:00';
loaderenqBtn.classList.remove('displayBtn');
Swal.fire({
title: 'Booked!!',
text: 'Appointment Successfully Booked for '+response.appointment_detail['name']+' at '+response.formated_date +'('+response.appointment['start_time']+' - ' + response.appointment['end_time']+' )',
@ -319,7 +262,7 @@
)
}
});
}
}
</script>

@ -256,10 +256,7 @@
</div>
</div>
<div class="col-md-12 text-center">
<button type="submit" class="enquiry-from-btn" id="enquirybtn">Submit</button>
<button type="submit" class="enquiry-from-btn buttonload" id="enquirybutnload" disabled>
<i class="fas fa-spinner fa-pulse"></i> Submiting
</button>
<button type="submit" class="enquiry-from-btn">Submit</button>
</div>
</div>
</form>
@ -273,13 +270,13 @@
var status = "<?php echo $status; ?>";
if(php_var.length !== 0){
if(php_var.length !== 0){
Swal.fire({
title: 'Submitted!!',
text: php_var,
icon: status ? 'success' : 'error'
})
}
}
fnameError = document.getElementById('error-fname');
lnameError = document.getElementById('error-lname');
dobError = document.getElementById('error-dob');
@ -536,8 +533,6 @@
return true;
}
var enqloaderBtn = document.getElementById('enquirybutnload');
var enquirybtn = document.getElementById('enquirybtn');
function submitEnquiry(){
if(!validatefName() || !validatelName() || !validateDob() || !eCob() || !eGender() ||
!validateAddress() || !validateEmail() || !validatePhone() || !validateQualification() ||
@ -545,8 +540,7 @@
!wExperience() || !validateImmigrationHistory() || !validateStudyField()){
return false;
}else{
enqloaderBtn.classList.add('displayEnqBtn');
enquirybtn.classList.add('buttonload')
}
}
</script>

Loading…
Cancel
Save