|
@@ -71,6 +71,11 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
background-color: #141639c4 !important;
|
|
|
color: white!important;
|
|
|
/* border-radius:0px !important; */
|
|
|
+ border-color: #141639c4 !important;
|
|
|
+}
|
|
|
+.form-check-input:focus {
|
|
|
+ border-color: #141639c4 !important;
|
|
|
+ background-image:#141639c4 !important;
|
|
|
}
|
|
|
.nav-pills .nav-link{
|
|
|
color: white !important;
|
|
@@ -312,7 +317,7 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<div class="col-lg-12">
|
|
|
<nav class="mt-2 header-navbar navbar-expand-lg navbar-fixed align-items-center navbar-brand-center">
|
|
|
<div class="navbar-container d-flex content">
|
|
|
- <div class="col-md-10" >
|
|
|
+ <div class="col-md-9" >
|
|
|
<div class="d-flex align-items-center">
|
|
|
<ul class="nav navbar-nav mr-auto header_left">
|
|
|
<li class="nav-item d-flex">
|
|
@@ -325,36 +330,37 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="col-md-2" style="display: flex; justify-content: end;">
|
|
|
- <div class="form-check form-switch mt-3 pt-1" id="">
|
|
|
- <input class="form-check-input teacher_is_available" type="checkbox" name="is_available" value="" @if(\Auth::guard('teacher')->user()->is_available==0) checked @endif>
|
|
|
- <label class="form-check-label" for=""></label>
|
|
|
+ <div class="col-md-3" style="display: flex; justify-content: end;">
|
|
|
+ <p class="form-check-label mt-3 pt-1" style="font-size: 11px;">I'm not available</p>
|
|
|
+ <div class="form-check form-switch mt-3 ms-2" id="">
|
|
|
+ <input class="form-check-input" type="checkbox" name="" value="">
|
|
|
+ <label class="form-check-label" for="" style="font-size: 11px; margin-top: -1px;">I'm available</label>
|
|
|
</div>
|
|
|
<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" style="padding: 3px 10px !important;">New lead</button>
|
|
|
+ <button class="btn btn2" style="padding: 6px 10px !important;">New lead</button>
|
|
|
</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
|
<a href="">
|
|
|
- <i class="fa fa-bell change_pass_btn"></i>
|
|
|
+ <i class="fa fa-bell change_pass_btn" style="padding: 8px 9px;"></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
</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">
|
|
|
<a href="">
|
|
|
|
|
|
</a>
|
|
|
</li>
|
|
|
- </ul>
|
|
|
- <ul class="nav navbar-nav align-items-center ml-auto header_right">
|
|
|
+ </ul> -->
|
|
|
+ <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
|
|
|
<li class="nav-item dropdown dropdown-notification">
|
|
|
<a href="">
|
|
|
- <h5 class="change_pass_btn" style="height: 33px; margin-top: 7px; padding: 5px 8px;">IZ</h5>
|
|
|
+ <h5 class="change_pass_btn" style="height: 33px; margin-top: 7px; padding: 4px 9px;">IZ</h5>
|
|
|
</a>
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -1238,42 +1244,6 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
- $('.teacher_is_available').on('click', function(){
|
|
|
- var self =$(this);
|
|
|
- var checked =self.prop("checked");
|
|
|
-
|
|
|
- var form_data={
|
|
|
- _token :"{{csrf_token()}}",
|
|
|
- 'checked':checked,
|
|
|
- }
|
|
|
-
|
|
|
- swal({
|
|
|
- title: "Are you sure you want to change status?",
|
|
|
- text: "Please check before submitting!",
|
|
|
- type: "warning",
|
|
|
- showCancelButton: true,
|
|
|
- confirmButtonClass: "btn-danger",
|
|
|
- cancelButtonClass: "btn-info",
|
|
|
- confirmButtonText: "Yes",
|
|
|
- cancelButtonText: "No",
|
|
|
- closeOnConfirm: true,
|
|
|
- closeOnCancel: true
|
|
|
- }, function(isConfirm){
|
|
|
-
|
|
|
- if(isConfirm){
|
|
|
- $.post("{{ route('ajax-post', ['name'=>'teacher_is_available']) }}", form_data, function(res){
|
|
|
- pop_up_msg(res.msg);
|
|
|
- window.location.reload();
|
|
|
-
|
|
|
- }).fail(function(err){
|
|
|
-
|
|
|
- pop_up_msg(err_msg(err), 'error');
|
|
|
-
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- });
|
|
|
-
|
|
|
|
|
|
});
|
|
|
|