PageSourceSearch

https://eduall-vue.netlify.app/assets/InstructorEnrollCourses-CjbgC0CH.js

js eduall-vue.netlify.app collected 2026-10-03 10:41:48 UTC 9,714 bytes, 1 lines download raw bytes

1import{F as S,H as B}from"./Footer4-DHe5vSKf.js";import{I as D,B as F}from"./InstructorSidebar-D81KUxx3.js";import{d as A,c as v,b as x,e as H,a as N}from"./dashbord-courses-img6-BbIgZGFu.js";import{i as $,a as j}from"./savannah-nguyen-DEE-Jl2o.js";import{_ as w}from"./enroll-student-img4-BbAS696D.js";import{i as y}from"./testimonial-five-img2-DFgG7ebv.js";import{i as E}from"./dashbord-courses-img4-A7gz7Mxi.js";import{_ as z}from"./reviewer-img2-BQ0iBYH3.js";import{i as V}from"./user-two-img5-0U0hpPFY.js";import{_ as k,c as r,b as t,a as M,F as h,f as b,r as g,o as a,n as u,t as o,d,w as P,l as L,e as T,j as C}from"./index-BnxObZXq.js";import"./shape6-H-JIteTK.js";import"./logo-white-GPMyqlIo.js";import"./testimonials-three-img1-CZ8x9ZwE.js";import"./reviewer-img1-DzKN___C.js";import"./instructor-details-thumb-DmUWUlcZ.js";import"./shape5-CVN100N7.js";import"./shape4-q8UrSedO.js";const U={data(){return{tabs:[{id:"categories",label:"All Courses"},{id:"design",label:"Active Courses"},{id:"programming",label:"Enrolled Courses"},{id:"webDesign",label:"Completed Courses"}],courses:[{image:A,category:"Business",lessons:25,students:"2.6K",title:"Cybersecurity Essentials",hasProgress:!0,progress:100,rating:4.8,reviews:"1.5K",instructorImage:$,instructor:"Eleanor Pena"},{image:v,category:"Finance",lessons:25,students:"2.6K",title:"Financial Accounting",hasProgress:!0,progress:85,rating:4.8,reviews:"1.5K",instructorImage:w,instructor:"Annette Black"},{image:x,category:"Data & Tech",lessons:25,students:"2.6K",title:"Graphic Design",hasProgress:!0,progress:85,rating:4.8,reviews:"1.5K",instructorImage:y,instructor:"Courtney Henry"},{image:E,category:"Creative Arts",lessons:25,students:"2.6K",title:"UI/UX Design Principles",hasProgress:!0,progress:80,rating:4.8,reviews:"1.5K",instructorImage:j,instructor:"Savannah Nguyen"},{image:H,category:"Health",lessons:25,students:"2.6K",title:"Nutrition and Healthy",hasProgress:!0,progress:100,rating:4.8,reviews:"1.5K",instructorImage:z,instructor:"Arlene McCoy"},{image:N,category:"Design",lessons:25,students:"2.6K",title:"Introduction to Animation",hasProgress:!0,progress:60,rating:4.8,reviews:"1.5K",instructorImage:V,instructor:"Jenny Wilson"},{image:v,category:"Finance",lessons:25,students:"2.6K",title:"Financial Accounting",hasProgress:!0,progress:85,rating:4.8,reviews:"1.5K",instructorImage:w,instructor:"Annette Black"},{image:x,category:"Data & Tech",lessons:25,students:"2.6K",title:"Graphic Design",hasProgress:!0,progress:100,rating:4.8,reviews:"1.5K",instructorImage:y,instructor:"Courtney Henry"}],currentPage:1,coursesPerPage:6,pagination:[{icon:"caret-left"},{label:"1"},{label:"2"},{label:"3"},{icon:"dots-three"},{icon:"caret-right"}]}},computed:{totalPages(){return Math.ceil(this.courses.length/this.coursesPerPage)},paginatedCourses(){const c=(this.currentPage-1)*this.coursesPerPage;return this.courses.slice(c,c+this.coursesPerPage)}},methods:{getStarClass(c,s){return c<=Math.floor(s)?"ph-fill ph-star":c-.5<=s?"ph-fill ph-star-half":"ph ph-star"},prevPage(){this.currentPage>1&&this.currentPage--},nextPage(){this.currentPage<this.totalPages&&this.currentPage++}}},G={class:"w-100"},J={class:"nav-tab-wrapper mb-16","data-aos":"zoom-out"},R={class:"tab-scroll-wrapper overflow-x-auto custom-scrollbar pb-4"},W={class:"nav nav-pills common-tab gap-8 flex-nowrap",id:"pills-tab",role:"tablist"},X=["id","data-bs-target","aria-controls","aria-selected"],q={class:"tab-content",id:"pills-tabContent"},O=["id","aria-labelledby"],Q={class:"row gy-4"},Y=["data-aos-duration"],Z={class:"course-item__thumb rounded-12 overflow-hidden"},tt=["src"],et={class:"course-item__content"},st={class:""},rt={class:"px-12 py-6 text-success-600 fw-medium text-16 bg-success-50 border-success-100 border rounded-10 mb-16 hover-bg-success-600 hover-text-white transition-03"},at={class:"flex-between gap-8 flex-wrap mb-16"},ot={class:"flex-align gap-8 flex-wrap"},nt={class:"text-neutral-700 text-16 fw-medium"},it={class:"flex-align gap-8 flex-wrap"},lt={class:"text-neutral-700 text-16 fw-medium"},ct={class:"mb-24"},dt={key:0,class:"mb-24"},ut={class:"progress-wrapper d-flex align-items-center flex-column gap-4","data-perc":"85%"},gt={class:"h-50-px position-relative w-100 d-flex"},mt=["aria-valuenow"],pt={class:"d-flex align-items-center gap-6 mb-8"},ht={class:"fw-normal text-14 text-neutral-300"},bt={class:"d-flex align-items-center gap-8"},_t=["src"],ft={class:"fw-normal text-14 text-neutral-400"},vt={class:"d-flex align-items-center gap-12 justify-content-center mt-32"},xt=["onClick"];function wt(c,s,I,K,m,i){const _=g("router-link");
1return a(),r("div",G,[t("div",null,[s[7]||(s[7]=M('<div class="d-flex align-items-center justify-content-between mb-4" data-v-27a20f2d><div class="d-flex align-items-center gap-16" data-v-27a20f2d><h6 class="text-white mb-0 text-nowrap" data-v-27a20f2d>My Courses</h6></div><button type="button" class="toggle-dashbord-button text-white text-24 d-xl-none d-block" data-v-27a20f2d><i class="ph-bold ph-list" data-v-27a20f2d></i></button></div>',1)),t("div",J,[t("div",R,[t("ul",W,[(a(!0),r(h,null,b(m.tabs,(n,l)=>(a(),r("li",{key:l,class:"nav-item",role:"presentation"},[t("button",{class:u(["nav-link rounded-pill bg-main-25 m-1 text-md fw-medium text-neutral-500 flex-center text-nowrap",{active:l===0}]),id:`pills-${n.id}-tab`,"data-bs-toggle":"pill","data-bs-target":`#pills-${n.id}`,type:"button",role:"tab","aria-controls":`pills-${n.id}`,"aria-selected":l===0},o(n.label),11,X)]))),128))])])]),t("div",q,[(a(!0),r(h,null,b(m.tabs,(n,l)=>(a(),r("div",{key:l,class:u(["tab-pane fade",{"show active":l===0}]),id:`pills-${n.id}`,role:"tabpanel","aria-labelledby":`pills-${n.id}-tab`,tabindex:"0"},[t("div",Q,[(a(!0),r(h,null,b(i.paginatedCourses,(e,p)=>(a(),r("div",{key:p,class:"col-xl-4 col-md-6 col-sm-6 wow fadeInUp","data-aos":"fade-up","data-aos-duration":600+p*100},[t("div",{class:u(["course-item bg-white rounded-16 p-12",{"h-100":e.hasProgress}]),"box-shadow-md":""},[t("div",Z,[d(_,{to:"/course-details",class:"w-100 h-100"},{default:P(()=>[t("img",{src:e.image,alt:"Course Image",class:"course-item__img rounded-12 cover-img transition-2"},null,8,tt)]),_:2},1024)]),t("div",et,[t("div",st,[t("span",rt,o(e.category),1),t("div",at,[t("div",ot,[s[2]||(s[2]=t("span",{class:"text-neutral-700 text-2xl d-flex"},[t("i",{class:"ph-bold ph-video-camera"})],-1)),t("span",nt,o(e.lessons)+" Lessons",1)]),t("div",it,[s[3]||(s[3]=t("span",{class:"text-neutral-700 text-2xl d-flex"},[t("i",{class:"ph ph-user-circle"})],-1)),t("span",lt,o(e.students)+" Students",1)])]),t("h4",ct,[d(_,{to:"/course-details",class:"link text-line-2 fw-semibold"},{default:P(()=>
1[T(o(e.title),1)]),_:2},1024)])]),e.hasProgress?(a(),r("div",dt,[s[4]||(s[4]=t("div",{class:""},[t("span",{class:"text-neutral-700 text-20 fw-medium"},"Complete")],-1)),t("div",ut,[t("div",gt,[t("span",{class:"floating-label position-absolute text-14 text-main-600 fw-normal radius-8 w-50-px h-32-px z-1 d-flex justify-content-center align-items-center",style:C({"--left-percentage":e.progress+"%",animationName:"animateFloatingLabel",left:e.progress+"%",bottom:"30px"})},o(e.progress)+"% ",5),t("div",{class:"progress mt-auto h-6px w-100 bg-primary-50 rounded-pill",role:"progressbar","aria-label":"Basic example","aria-valuenow":e.progress,"aria-valuemin":"0","aria-valuemax":"50"},[t("div",{class:"progress-bar animated-bar rounded-pill bg-primary-gradien overflow-visible",style:C("width: "+e.progress+"%; height: 6px;")},null,4)],8,mt)])])])):L("",!0),t("div",{class:u(["flex-between gap-8 mt-28 flex-wrap",{"border-neutral-30 border-top pt-24":!e.hasProgress}])},[t("div",null,[t("ul",pt,[(a(),r(h,null,b(5,f=>t("li",{key:f,class:"text-16 text-warning-400"},[t("i",{class:u(i.getStarClass(f,e.rating))},null,2)])),64))]),t("span",ht,o(e.rating)+"/5 ("+o(e.reviews)+" Reviews)",1)]),t("div",bt,[t("img",{src:e.instructorImage,alt:"",class:"w-28 h-28"},null,8,_t),t("span",ft,o(e.instructor),1)])],2)])],2)],8,Y))),128))]),t("div",vt,[t("button",{type:"button",class:"text-24 w-40 h-40 border-neutral-30 border rounded-circle d-flex align-items-center justify-content-center transition-03 hover-bg-main-600 hover-text-white",onClick:s[0]||(s[0]=(...e)=>i.prevPage&&i.prevPage(...e))},s[5]||(s[5]=[t("i",{class:"ph-bold ph-caret-left"},null,-1)])),(a(!0),r(h,null,b(i.totalPages,e=>(a(),r("button",{key:e,type:"button",class:u(["text-24 w-40 h-40 border-neutral-30 border rounded-circle d-flex align-items-center justify-content-center transition-03",e===m.currentPage?"bg-main-600 text-white border-main-600":"bg-white text-neutral-900 hover-bg-main-600 hover-text-white"]),onClick:p=>m.currentPage=e},o(e),11,xt))),128)),t("button",{type:"button",class:"text-24 w-40 h-40 border-neutral-30 border rounded-circle d-flex align-items-center justify-content-center transition-03 hover-bg-main-600 hover-text-white",onClick:s[1]||(s[1]=(...e)=>i.nextPage&&i.nextPage(...e))},s[6]||(s[6]=[t("i",{class:"ph-bold ph-caret-right"},null,-1)]))])],10,O))),128))])])])}const yt=k(U,[["render",wt],["__scopeId","data-v-27a20f2d"]]),Pt={name:"InstructorEnrollCourses",components:{Header4:B,Banner:F,InstructorSidebar:D,DashbordSection:yt,Footer4:S}},Ct={class:"bg-main-25 pb-80 w-100 h-100"},kt={class:"container container--lg"},It={class:"d-flex gap-24 mt--120 z-2 position-relative"};function Kt(c,s,I,K,m,i){const _=g("Header4"),n=g("Banner"),l=g("InstructorSidebar"),e=g("DashbordSection"),p=g("Footer4");return a(),r("div",null,[d(_),d(n),t("div",null,[t("section",Ct,[t("div",kt,[t("div",It,[s[0]||(s[0]=t("div",{class:"student-overlay-sidebar"},null,-1)),d(l),d(e)])])])]),d(p)])}const Jt=k(Pt,[["render",Kt]]);export{Jt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.