Your IP : 18.118.184.36
<nav class="navbar navbar-expand-md navbar-light shadow-sm mb-4 mb-lg-0 sidenav">
<a class="d-xl-none d-lg-none d-md-none text-inherit fw-bold" href="#">Menu</a>
<button class="navbar-toggler d-md-none icon-shape icon-sm rounded bg-primary text-light" type="button"
data-bs-toggle="collapse" data-bs-target="#sidenav" aria-controls="sidenav" aria-expanded="false"
aria-label="Toggle navigation">
<span class="fe fe-menu"></span>
</button>
<div class="collapse navbar-collapse" id="sidenav">
<div class="navbar-nav flex-column">
<span class="navbar-header">Course Basic Info</span>
<li class="nav-item <?php if(request()->routeIs('instructor.course')): ?> active <?php endif; ?>">
<a class="nav-link" href="/instructor/course/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="fe fe-home nav-icon"></i>Course Information</a>
</li>
<ul class="list-unstyled ms-n2 mb-4">
<li class="nav-item <?php if(request()->routeIs('instructor.learners')): ?> active <?php endif; ?>">
<a class="nav-link" href="/instructor/goals/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="fe fe-users nav-icon"></i>Intended
learners</a>
</li>
</ul>
<span class="navbar-header">Create your content</span>
<ul class="list-unstyled ms-n2 mb-0">
<li class="nav-item <?php if(request()->routeIs('instructor.curriculum')): ?> active <?php endif; ?>">
<a class="nav-link"
href="/instructor/curriculum/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="fe fe-book-open nav-icon"></i>Curriculum</a>
</li>
</ul>
<span class="navbar-header">Publish your course</span>
<ul class="list-unstyled ms-n2 mb-0">
<li class="nav-item <?php if(request()->routeIs('instructor.course_review')): ?> active <?php endif; ?>">
<a class="nav-link" target="_blank"
href="/instructor/course_review/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="fe fe-video nav-icon"></i>Course Review</a>
</li>
<li class="nav-item <?php if(request()->routeIs('instructor.pricing')): ?> active <?php endif; ?>">
<a class="nav-link" href="/instructor/pricing/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="fe fe-dollar-sign nav-icon"></i>Pricing</a>
</li>
<li class="nav-item <?php if(request()->routeIs('instructor.course_message')): ?> active <?php endif; ?>">
<a class="nav-link"
href="/instructor/course_message/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="fe fe-message-circle nav-icon"></i>Course messages </a>
</li>
</ul>
<span class="navbar-header">Guide</span>
<ul class="list-unstyled ms-n2 mb-4">
<li class="nav-item <?php if(request()->routeIs('instructor.faq')): ?> active <?php endif; ?>">
<a class="nav-link" href="/instructor/faq/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="bi bi-question nav-icon"></i>FAQ</a>
</li>
</ul>
<?php if(app('request')->input('type')==1): ?>
<span class="navbar-header">Classroom</span>
<ul class="list-unstyled ms-n2 mb-4">
<li class="nav-item <?php if(request()->routeIs('instructor.classroom')): ?> active <?php endif; ?>">
<a class="nav-link" target="_blank"
href="/instructor/classroom/<?php echo e($slug); ?>?type=<?php echo e(app('request')->input('type')); ?>"><i
class="mdi mdi-google-classroom nav-icon"></i>Classroom</a>
</li>
</ul>
<?php endif; ?>
<div class="d-none publish-div">
<span class="navbar-header">Submit for review</span>
<ul class="list-unstyled ms-n2 mb-4">
<li class="nav-item d-flex justify-content-lg-center justify-content-sm-start">
<button class="pub-btn review-btn btn btn-xs btn-primary me-lg-4 w-100">Submit</button>
</li>
</ul>
</div>
</div>
</div>
</nav>
<script>
$(function() {
$(".pub-btn").click(function(e) {
e.preventDefault();
let but = $(this);
let slug = <?php echo \Illuminate\Support\Js::from($slug)->toHtml() ?>;
$.ajax({
url: api_url + `admin/publish_course`,
method: "post",
data: {
slug: slug,
},
beforeSend: () => {
btn(but, '', 'before');
}
}).done(res => {
console.log(res);
salat(res.message);
btn(but, 'Submit', 'after');
$('.publish-div').remove();
}).fail(res => {
console.log(res);
err = res.responseJSON
delete err.message;
concatError2(err);
btn(but, 'Submit', 'after');
})
})
})
</script>
<?php /**PATH C:\xampp\htdocs\lentoria-frontend\resources\views/instructor/side.blade.php ENDPATH**/ ?>