|
@@ -52,7 +52,7 @@
|
|
|
<link href="{{ asset('css/noty/lib/noty.css') }}" rel="stylesheet" type="text/css">
|
|
|
<link href="{{ asset('css/noty/lib/themes/sunset.css') }}" rel="stylesheet" type="text/css">
|
|
|
<link href="{{ asset('css/flatpickr/dist/flatpickr.min.css') }}" rel="stylesheet" type="text/css">
|
|
|
- <link href="{{ asset('css/wait-me/waitMe.min.css')}}" rel="stylesheet" type="text/css">
|
|
|
+ <link href="{{ asset('css/wait-me/waitMe.min.css')}}" rel="stylesheet" type="text/css">
|
|
|
</head>
|
|
|
<style>
|
|
|
|
|
@@ -333,10 +333,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
|
<a href="javascript:void(0)" class="open_modal_page" data-url="{{route('modal-get',['name'=>'add_wishlist'])}}" data-title="Wishlist">
|
|
|
- <button class="btn btn2">New lead</button>
|
|
|
+ <button class="btn btn2">New lead</button>
|
|
|
</a>
|
|
|
</li>
|
|
|
- </ul>
|
|
|
+ </ul>
|
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
|
<a href="">
|
|
@@ -393,7 +393,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</a><!--end nav link-->
|
|
|
</li><!--end nav item-->
|
|
|
-
|
|
|
+
|
|
|
<li class="nav-item">
|
|
|
<a class="nav-link" id="application" data-bs-toggle="pill" href="#applicate" role="tab" aria-controls="dental" aria-selected="false">
|
|
|
<div class="text-start py-1 px-2" style="display:flex;">
|
|
@@ -449,16 +449,16 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div><!--end col-->
|
|
|
|
|
|
<div class="col-md-10 col-12 mt-5" style="padding:1rem; padding-top: 2.5rem!important;">
|
|
|
- <div class="tab-content" id="pills-tabContent">
|
|
|
+ <div class="tab-content" id="pills-tabContent">
|
|
|
<div class="tab-pane fade show p-2 rounded active" id="dash" role="tabpanel" aria-labelledby="dashboard">
|
|
|
<div class="card p-2 rounded border-0" style="background-color: #16183f1c; color: #141639c4;">
|
|
|
<div class="col-md-12">
|
|
|
<div class="row p-2">
|
|
|
- <h6 style="font-weight:bold !important;">There are three available methods for doctoral applicants to submit their proposals :</h6>
|
|
|
- <p style="font-size: 13px;"><strong>Method 1:</strong> You can give your ARN to the student and request them to submit their proposal using your reference.</p>
|
|
|
- <p style="font-size: 13px;"><strong>Method 2:</strong> You can log in to your account, include the student's name and email address in Q Apply, and send them an invitation. This way, their application will be automatically tagged with your reference.</p>
|
|
|
- <p style="font-size: 13px; margin-bottom: 0px;"><strong>Method 3:</strong> You can share the Q Apply link with the student and ask them to fill out the form using their name and email. An invitation email will be sent to them, and then they can proceed with method 2.</p>
|
|
|
- </div>
|
|
|
+ <h6 style="font-weight:bold !important;">There are three available methods for doctoral applicants to submit their proposals :</h6>
|
|
|
+ <p style="font-size: 13px;"><strong>Method 1:</strong> You can give your ARN to the student and request them to submit their proposal using your reference.</p>
|
|
|
+ <p style="font-size: 13px;"><strong>Method 2:</strong> You can log in to your account, include the student's name and email address in Q Apply, and send them an invitation. This way, their application will be automatically tagged with your reference.</p>
|
|
|
+ <p style="font-size: 13px; margin-bottom: 0px;"><strong>Method 3:</strong> You can share the Q Apply link with the student and ask them to fill out the form using their name and email. An invitation email will be sent to them, and then they can proceed with method 2.</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!--end teb pane-->
|
|
@@ -559,13 +559,13 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span style="color: black;">{{cn($row,'scores.overall_score','')}}</span>
|
|
|
</div>
|
|
|
</td>
|
|
|
- <td style="font-size: 11px; text-align:center;">
|
|
|
- @php
|
|
|
+ <td style="font-size: 11px; text-align:center;">
|
|
|
+ @php
|
|
|
|
|
|
- $work_history_first =$row->work_experience_date()->whereNotNull('start_date')->oldest()->first();
|
|
|
+ $work_history_first =$row->work_experience_date()->whereNotNull('start_date')->oldest()->first();
|
|
|
|
|
|
$work_history_last =$row->work_experience_date()->latest()->first();
|
|
|
- if($work_history_first && $work_history_last && $work_history_last->end_date){
|
|
|
+ if($work_history_first && $work_history_last && $work_history_last->end_date){
|
|
|
|
|
|
$diff_in_days =diff_in_days($work_history_first->start_date,$work_history_last->end_date);
|
|
|
|
|
@@ -573,23 +573,24 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
$diff_in_days =diff_in_days($work_history_first->start_date, now());
|
|
|
}else{
|
|
|
$diff_in_days =0;
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
$years = ($diff_in_days / 365) ;
|
|
|
- $years = floor($years);
|
|
|
- $month = ($diff_in_days % 365) / 30.5;
|
|
|
- $month = floor($month);
|
|
|
- $days = ($diff_in_days % 365) % 30.5;
|
|
|
+ $years = floor($years);
|
|
|
+ $month = ($diff_in_days % 365) / 30.5;
|
|
|
+ $month = floor($month);
|
|
|
+ $days = ($diff_in_days % 365) % 30.5;
|
|
|
@endphp
|
|
|
-
|
|
|
-
|
|
|
- <div style="font-size: 11px; display:block;">
|
|
|
+
|
|
|
+
|
|
|
+ <div style="font-size: 11px; display:block;">
|
|
|
<span class="label_badge_work">{{$years}} years</span>
|
|
|
</div>
|
|
|
<div style="font-size: 11px; display:block;">
|
|
|
|
|
|
+
|
|
|
{{-- ({{ dDate($work_history_first->start_date) }} - {{dDate($work_history_last->end_date, 'd M Y', 'Continue')}}) --}}
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
@@ -603,7 +604,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="font-size: 11px; text-align:center;">
|
|
|
-
|
|
|
+
|
|
|
<div class="top_part_status">
|
|
|
{{-- @if($row->proposal_status ==1)
|
|
|
<button class="btn btn2" style="padding: 1px 10px !important; font-size: 11px;">In Review</button>
|
|
@@ -618,7 +619,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button class="btn btn2" style="padding: 1px 10px !important; font-size: 11px;">In Review</button>
|
|
|
@else
|
|
|
<button class="btn btn2 accept_status_update" data-id="{{$row->id}}" style="padding: 1px 10px !important; font-size: 11px;">Accept</button>
|
|
|
- @endif
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -678,7 +679,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="row">
|
|
|
<div class="col-md-8 bg-white rounded p-2 ms-2">
|
|
|
<h6 style="padding: 8px 4px 0px;">Application Summary</h6>
|
|
|
- <div class="col-md-12">
|
|
|
+ <div class="col-md-12">
|
|
|
<div class="table-responsive">
|
|
|
<table class="table table-bordered list_table">
|
|
|
<thead>
|
|
@@ -800,9 +801,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span class="label_badge_radius mb-1 ms-2" style="background: #d8fdd8; color: green;">
|
|
|
Premium
|
|
|
</span>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div><!--end col-->
|
|
@@ -845,8 +846,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<input type="text" class="form-control" placeholder="Last Name" id="last_name" name="last_name" value="{{$user->last_name}}" required="" style="font-size: 13px;">
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="mb-2">
|
|
|
<label class="form-label config">University Name</label>
|
|
@@ -859,10 +860,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@endforeach
|
|
|
|
|
|
</select>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="mb-2">
|
|
|
<label class="form-label config">Department</label>
|
|
@@ -876,26 +877,26 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
|
- <button class="btn btn2 update_profile">Update</button>
|
|
|
+ <button class="btn btn2 update_profile">Update</button>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="left mb-2 mt-2">
|
|
|
- <div id="load_profile_info">
|
|
|
+ <div id="load_profile_info">
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div><!--end col-->
|
|
|
+ </div><!--end col-->
|
|
|
<div class="col-md-4 bg-white rounded p-2 ms-4" style="width: 32.4%;">
|
|
|
<div class="row">
|
|
|
-
|
|
|
+
|
|
|
<div class="col-md-12">
|
|
|
<h6 style="padding: 13px 10px 0px;">Change password</h6>
|
|
|
<div class="form-icon position-relative p-2 mt-2">
|
|
@@ -911,7 +912,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button class="btn btn2 mt-3 change_password">Changed</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div><!--end col-->
|
|
|
<div class="col-md-2 bg-white rounded p-2 ms-4" style="width:25%;">
|
|
@@ -953,19 +954,19 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
|
- <button class="btn btn2">Update</button>
|
|
|
+ <button class="btn btn2">Update</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</form>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1001,12 +1002,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
{{-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> --}}
|
|
|
|
|
|
{{-- Ajax Form Submit --}}
|
|
|
-
|
|
|
+
|
|
|
<script src="{{ asset('css/jquery.min.js') }}"></script>
|
|
|
<script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
|
|
|
<script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
|
|
|
<script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
|
|
|
- <script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
|
|
|
+ <script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
|
|
|
|
|
|
@include('web.layouts.modal')
|
|
|
<script>
|
|
@@ -1042,17 +1043,17 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
selector.waitMe(config);
|
|
|
|
|
|
- }else{
|
|
|
+ }else{
|
|
|
|
|
|
selector.waitMe({
|
|
|
effect: 'facebook',
|
|
|
//color: '#000',
|
|
|
text: 'Please! Wait ...'
|
|
|
- });
|
|
|
- }
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
|
+ function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
|
new Noty({
|
|
|
theme:'sunset',
|
|
|
text: msg,
|
|
@@ -1061,7 +1062,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
callbacks:{
|
|
|
afterClose: callback
|
|
|
}
|
|
|
- }).show();
|
|
|
+ }).show();
|
|
|
}
|
|
|
|
|
|
function err_msg(err){
|
|
@@ -1089,41 +1090,41 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
"{{ route('sub-content', ['name'=>'load_research_interest']) }}"
|
|
|
);
|
|
|
|
|
|
- $('.update_profile').on('click', function(){
|
|
|
+ $('.update_profile').on('click', function(){
|
|
|
|
|
|
- var id =$('#u_id').val();
|
|
|
- var first_name =$('#first_name').val();
|
|
|
- var last_name =$('#last_name').val();
|
|
|
- var university_name =$('#university_name').val();
|
|
|
- var department =$('#department_id option:selected').val();
|
|
|
+ var id =$('#u_id').val();
|
|
|
+ var first_name =$('#first_name').val();
|
|
|
+ var last_name =$('#last_name').val();
|
|
|
+ var university_name =$('#university_name').val();
|
|
|
+ var department =$('#department_id option:selected').val();
|
|
|
|
|
|
var form_data={
|
|
|
- _token: "{{ csrf_token() }}",
|
|
|
- id: id,
|
|
|
- first_name: first_name,
|
|
|
- last_name: last_name,
|
|
|
- university_name: university_name,
|
|
|
- department: department,
|
|
|
+ _token: "{{ csrf_token() }}",
|
|
|
+ id: id,
|
|
|
+ first_name: first_name,
|
|
|
+ last_name: last_name,
|
|
|
+ university_name: university_name,
|
|
|
+ department: department,
|
|
|
}
|
|
|
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'update_profile']) }}", form_data, function(res){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'update_profile']) }}", form_data, function(res){
|
|
|
pop_up_msg(res.msg);
|
|
|
|
|
|
fetch_sub_content(
|
|
|
'#load_profile_info',
|
|
|
"{{ route('sub-content', ['name'=>'load_profile_info']) }}"
|
|
|
- );
|
|
|
+ );
|
|
|
|
|
|
}).fail(function(err){
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
$('.change_password').on('click', function(){
|
|
|
var id =$('#user_id').val();
|
|
|
- var old_password =$('#old_password').val();
|
|
|
+ var old_password =$('#old_password').val();
|
|
|
var new_password =$('#new_password').val();
|
|
|
var new_password_confirmation =$('#new_password_confirmation').val();
|
|
|
|
|
@@ -1135,27 +1136,27 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
new_password_confirmation: new_password_confirmation,
|
|
|
}
|
|
|
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'teacher_change_password']) }}", form_data, function(res){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'teacher_change_password']) }}", form_data, function(res){
|
|
|
pop_up_msg(res.msg);
|
|
|
|
|
|
}).fail(function(err){
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
$('.research_interest').on('click', function(){
|
|
|
var id =$('#res_user_id').val();
|
|
|
- var research =$('#research').val();
|
|
|
+ var research =$('#research').val();
|
|
|
|
|
|
var form_data={
|
|
|
_token: "{{ csrf_token() }}",
|
|
|
id: id,
|
|
|
- research: research,
|
|
|
+ research: research,
|
|
|
}
|
|
|
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'research_interest']) }}", form_data, function(res){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'research_interest']) }}", form_data, function(res){
|
|
|
pop_up_msg(res.msg);
|
|
|
fetch_sub_content(
|
|
|
'#load_research_interest',
|
|
@@ -1166,18 +1167,18 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
- });
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
|
|
|
$('.accept_status_update').on('click', function(){
|
|
|
var self =$(this);
|
|
|
- var id =self.data('id');
|
|
|
+ var id =self.data('id');
|
|
|
|
|
|
var form_data={
|
|
|
_token :"{{csrf_token()}}",
|
|
|
- 'id':id,
|
|
|
- }
|
|
|
+ 'id':id,
|
|
|
+ }
|
|
|
|
|
|
swal({
|
|
|
title: "Are you sure you want to change status?",
|
|
@@ -1192,9 +1193,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
closeOnCancel: true
|
|
|
}, function(isConfirm){
|
|
|
|
|
|
- if(isConfirm){
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'accept_status_update']) }}", form_data, function(res){
|
|
|
- pop_up_msg(res.msg);
|
|
|
+ if(isConfirm){
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'accept_status_update']) }}", form_data, function(res){
|
|
|
+ pop_up_msg(res.msg);
|
|
|
window.location.reload();
|
|
|
|
|
|
}).fail(function(err){
|
|
@@ -1202,10 +1203,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
});
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
|
|
|
});
|
|
|
|