|
@@ -52,7 +52,7 @@
|
|
|
<link href="{{ asset('css/noty/lib/noty.css') }}" rel="stylesheet" type="text/css">
|
|
<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/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/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>
|
|
</head>
|
|
|
<style>
|
|
<style>
|
|
|
|
|
|
|
@@ -329,10 +329,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
<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">
|
|
<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>
|
|
</a>
|
|
|
</li>
|
|
</li>
|
|
|
- </ul>
|
|
|
|
|
|
|
+ </ul>
|
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
|
<a href="">
|
|
<a href="">
|
|
@@ -389,7 +389,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
</div>
|
|
|
</a><!--end nav link-->
|
|
</a><!--end nav link-->
|
|
|
</li><!--end nav item-->
|
|
</li><!--end nav item-->
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<li class="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">
|
|
<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;">
|
|
<div class="text-start py-1 px-2" style="display:flex;">
|
|
@@ -445,16 +445,16 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div><!--end col-->
|
|
</div><!--end col-->
|
|
|
|
|
|
|
|
<div class="col-md-10 col-12 mt-5" style="padding:1rem; padding-top: 2.5rem!important;">
|
|
<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="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="card p-2 rounded border-0" style="background-color: #16183f1c; color: #141639c4;">
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<div class="row p-2">
|
|
<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>
|
|
</div>
|
|
|
</div><!--end teb pane-->
|
|
</div><!--end teb pane-->
|
|
@@ -555,13 +555,13 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span style="color: black;">{{cn($row,'scores.overall_score','')}}</span>
|
|
<span style="color: black;">{{cn($row,'scores.overall_score','')}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</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();
|
|
$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);
|
|
$diff_in_days =diff_in_days($work_history_first->start_date,$work_history_last->end_date);
|
|
|
|
|
|
|
@@ -569,23 +569,23 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
$diff_in_days =diff_in_days($work_history_first->start_date, now());
|
|
$diff_in_days =diff_in_days($work_history_first->start_date, now());
|
|
|
}else{
|
|
}else{
|
|
|
$diff_in_days =0;
|
|
$diff_in_days =0;
|
|
|
- }
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
$years = ($diff_in_days / 365) ;
|
|
$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
|
|
@endphp
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <div style="font-size: 11px; display:block;">
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <div style="font-size: 11px; display:block;">
|
|
|
<span class="label_badge_work">{{$years}} years</span>
|
|
<span class="label_badge_work">{{$years}} years</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div style="font-size: 11px; display:block;">
|
|
<div style="font-size: 11px; display:block;">
|
|
|
|
|
|
|
|
- ({{ dDate($work_history_first->start_date) }} - {{dDate($work_history_last->end_date, 'd M Y', 'Continue')}})
|
|
|
|
|
-
|
|
|
|
|
|
|
+ ({{ dDate($work_history_first->start_date) }} - {{dDate($work_history_last->end_date, 'd M Y', 'Continue')}})
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
<td style="font-size: 11px;">
|
|
<td style="font-size: 11px;">
|
|
@@ -599,7 +599,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
<td style="font-size: 11px; text-align:center;">
|
|
<td style="font-size: 11px; text-align:center;">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<div class="top_part_status">
|
|
<div class="top_part_status">
|
|
|
{{-- @if($row->proposal_status ==1)
|
|
{{-- @if($row->proposal_status ==1)
|
|
|
<button class="btn btn2" style="padding: 1px 10px !important; font-size: 11px;">In Review</button>
|
|
<button class="btn btn2" style="padding: 1px 10px !important; font-size: 11px;">In Review</button>
|
|
@@ -614,7 +614,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button class="btn btn2" style="padding: 1px 10px !important; font-size: 11px;">In Review</button>
|
|
<button class="btn btn2" style="padding: 1px 10px !important; font-size: 11px;">In Review</button>
|
|
|
@else
|
|
@else
|
|
|
<button class="btn btn2 accept_status_update" data-id="{{$row->id}}" style="padding: 1px 10px !important; font-size: 11px;">Accept</button>
|
|
<button class="btn btn2 accept_status_update" data-id="{{$row->id}}" style="padding: 1px 10px !important; font-size: 11px;">Accept</button>
|
|
|
- @endif
|
|
|
|
|
|
|
+ @endif
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|
|
@@ -674,7 +674,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
<div class="col-md-8 bg-white rounded p-2 ms-2">
|
|
<div class="col-md-8 bg-white rounded p-2 ms-2">
|
|
|
<h6 style="padding: 8px 4px 0px;">Application Summary</h6>
|
|
<h6 style="padding: 8px 4px 0px;">Application Summary</h6>
|
|
|
- <div class="col-md-12">
|
|
|
|
|
|
|
+ <div class="col-md-12">
|
|
|
<div class="table-responsive">
|
|
<div class="table-responsive">
|
|
|
<table class="table table-bordered list_table">
|
|
<table class="table table-bordered list_table">
|
|
|
<thead>
|
|
<thead>
|
|
@@ -796,9 +796,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<span class="label_badge_radius mb-1 ms-2" style="background: #d8fdd8; color: green;">
|
|
<span class="label_badge_radius mb-1 ms-2" style="background: #d8fdd8; color: green;">
|
|
|
Premium
|
|
Premium
|
|
|
</span>
|
|
</span>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div><!--end col-->
|
|
</div><!--end col-->
|
|
@@ -841,8 +841,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;">
|
|
<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>
|
|
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
|
<label class="form-label config">University Name</label>
|
|
<label class="form-label config">University Name</label>
|
|
@@ -855,10 +855,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
@endforeach
|
|
@endforeach
|
|
|
|
|
|
|
|
</select>
|
|
</select>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
|
<label class="form-label config">Department</label>
|
|
<label class="form-label config">Department</label>
|
|
@@ -872,26 +872,26 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</select>
|
|
</select>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
<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>
|
|
|
|
|
+ </div>
|
|
|
<div class="left mb-2 mt-2">
|
|
<div class="left mb-2 mt-2">
|
|
|
- <div id="load_profile_info">
|
|
|
|
|
|
|
+ <div id="load_profile_info">
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </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="col-md-4 bg-white rounded p-2 ms-4" style="width: 32.4%;">
|
|
|
<div class="row">
|
|
<div class="row">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<h6 style="padding: 13px 10px 0px;">Change password</h6>
|
|
<h6 style="padding: 13px 10px 0px;">Change password</h6>
|
|
|
<div class="form-icon position-relative p-2 mt-2">
|
|
<div class="form-icon position-relative p-2 mt-2">
|
|
@@ -907,7 +907,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button class="btn btn2 mt-3 change_password">Changed</button>
|
|
<button class="btn btn2 mt-3 change_password">Changed</button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div><!--end col-->
|
|
</div><!--end col-->
|
|
|
<div class="col-md-2 bg-white rounded p-2 ms-4" style="width:25%;">
|
|
<div class="col-md-2 bg-white rounded p-2 ms-4" style="width:25%;">
|
|
@@ -949,19 +949,19 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
|
|
<input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
<div class="text-end">
|
|
<div class="text-end">
|
|
|
- <button class="btn btn2">Update</button>
|
|
|
|
|
|
|
+ <button class="btn btn2">Update</button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
</form>
|
|
</form>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
</div> -->
|
|
</div> -->
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -997,12 +997,12 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
{{-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> --}}
|
|
{{-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> --}}
|
|
|
|
|
|
|
|
{{-- Ajax Form Submit --}}
|
|
{{-- Ajax Form Submit --}}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<script src="{{ asset('css/jquery.min.js') }}"></script>
|
|
<script src="{{ asset('css/jquery.min.js') }}"></script>
|
|
|
<script src="{{ asset('css/jquery-form/dist/jquery.form.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/noty/lib/noty.min.js') }}"></script>
|
|
|
<script src="{{ asset('css/flatpickr/dist/flatpickr.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')
|
|
@include('web.layouts.modal')
|
|
|
<script>
|
|
<script>
|
|
@@ -1038,17 +1038,17 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
|
|
selector.waitMe(config);
|
|
selector.waitMe(config);
|
|
|
|
|
|
|
|
- }else{
|
|
|
|
|
|
|
+ }else{
|
|
|
|
|
|
|
|
selector.waitMe({
|
|
selector.waitMe({
|
|
|
effect: 'facebook',
|
|
effect: 'facebook',
|
|
|
//color: '#000',
|
|
//color: '#000',
|
|
|
text: 'Please! Wait ...'
|
|
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({
|
|
new Noty({
|
|
|
theme:'sunset',
|
|
theme:'sunset',
|
|
|
text: msg,
|
|
text: msg,
|
|
@@ -1057,7 +1057,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
callbacks:{
|
|
callbacks:{
|
|
|
afterClose: callback
|
|
afterClose: callback
|
|
|
}
|
|
}
|
|
|
- }).show();
|
|
|
|
|
|
|
+ }).show();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function err_msg(err){
|
|
function err_msg(err){
|
|
@@ -1085,41 +1085,41 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
"{{ route('sub-content', ['name'=>'load_research_interest']) }}"
|
|
"{{ 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={
|
|
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);
|
|
pop_up_msg(res.msg);
|
|
|
|
|
|
|
|
fetch_sub_content(
|
|
fetch_sub_content(
|
|
|
'#load_profile_info',
|
|
'#load_profile_info',
|
|
|
"{{ route('sub-content', ['name'=>'load_profile_info']) }}"
|
|
"{{ route('sub-content', ['name'=>'load_profile_info']) }}"
|
|
|
- );
|
|
|
|
|
|
|
+ );
|
|
|
|
|
|
|
|
}).fail(function(err){
|
|
}).fail(function(err){
|
|
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
$('.change_password').on('click', function(){
|
|
$('.change_password').on('click', function(){
|
|
|
var id =$('#user_id').val();
|
|
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 =$('#new_password').val();
|
|
|
var new_password_confirmation =$('#new_password_confirmation').val();
|
|
var new_password_confirmation =$('#new_password_confirmation').val();
|
|
|
|
|
|
|
@@ -1131,27 +1131,27 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
new_password_confirmation: new_password_confirmation,
|
|
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);
|
|
pop_up_msg(res.msg);
|
|
|
|
|
|
|
|
}).fail(function(err){
|
|
}).fail(function(err){
|
|
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
$('.research_interest').on('click', function(){
|
|
$('.research_interest').on('click', function(){
|
|
|
var id =$('#res_user_id').val();
|
|
var id =$('#res_user_id').val();
|
|
|
- var research =$('#research').val();
|
|
|
|
|
|
|
+ var research =$('#research').val();
|
|
|
|
|
|
|
|
var form_data={
|
|
var form_data={
|
|
|
_token: "{{ csrf_token() }}",
|
|
_token: "{{ csrf_token() }}",
|
|
|
id: id,
|
|
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);
|
|
pop_up_msg(res.msg);
|
|
|
fetch_sub_content(
|
|
fetch_sub_content(
|
|
|
'#load_research_interest',
|
|
'#load_research_interest',
|
|
@@ -1162,18 +1162,18 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.accept_status_update').on('click', function(){
|
|
$('.accept_status_update').on('click', function(){
|
|
|
var self =$(this);
|
|
var self =$(this);
|
|
|
- var id =self.data('id');
|
|
|
|
|
|
|
+ var id =self.data('id');
|
|
|
|
|
|
|
|
var form_data={
|
|
var form_data={
|
|
|
_token :"{{csrf_token()}}",
|
|
_token :"{{csrf_token()}}",
|
|
|
- 'id':id,
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ 'id':id,
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
swal({
|
|
swal({
|
|
|
title: "Are you sure you want to change status?",
|
|
title: "Are you sure you want to change status?",
|
|
@@ -1188,9 +1188,9 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
closeOnCancel: true
|
|
closeOnCancel: true
|
|
|
}, function(isConfirm){
|
|
}, 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();
|
|
window.location.reload();
|
|
|
|
|
|
|
|
}).fail(function(err){
|
|
}).fail(function(err){
|
|
@@ -1198,10 +1198,10 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
pop_up_msg(err_msg(err), 'error');
|
|
pop_up_msg(err_msg(err), 'error');
|
|
|
|
|
|
|
|
});
|
|
});
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|
|