PageSourceSearch

https://eduall-vue.netlify.app/assets/InstructorQuizAttempts-B7212FFv.js

js eduall-vue.netlify.app collected 2026-10-03 10:41:55 UTC 8,722 bytes, 1 lines download raw bytes

1import{F as _,H as y}from"./Footer4-DHe5vSKf.js";import{I as P,B as v}from"./InstructorSidebar-D81KUxx3.js";import{_ as h,c as l,b as t,a as k,F as x,f as m,s as C,v as F,t as o,o as i,n as S,d,r 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 J={data(){return{courses:[{title:"Financial Planning for Millennials",instructor:"Brooklyn Simmons",date:"January 20, 2025",lessons:4,students:7,enrolled:1,status:"Pass"},{title:"Photography for Beginners",instructor:"Ralph Edwards",date:"January 20, 2025",lessons:4,students:4,enrolled:8,status:"Pass"},{title:"Adobe Photoshop Essentials",instructor:"Cameron Williamson",date:"January 20, 2025",lessons:9,students:3,enrolled:1,status:"Fail"},{title:"Leadership and Management Essentials",instructor:"Kristin Watson",date:"January 20, 2025",lessons:6,students:1,enrolled:2,status:"Pass"},{title:"Web Development Bootcamp",instructor:"Annette Black",date:"January 20, 2025",lessons:4,students:1,enrolled:6,status:"Pass"},{title:"Digital Marketing Fundamentals",instructor:"Courtney Henry",date:"January 20, 2025",lessons:4,students:3,enrolled:2,status:"Fail"},{title:"Digital Marketing 101",instructor:"Bessie Cooper",date:"January 20, 2025",lessons:2,students:3,enrolled:5,status:"Pass"},{title:"Introduction to Python Programming",instructor:"Albert Flores",date:"January 20, 2025",lessons:6,students:3,enrolled:8,status:"Fail"},{title:"Social Media Strategy",instructor:"Esther Howard",date:"January 20, 2025",lessons:8,students:6,enrolled:9,status:"Fail"},{title:"Project Management Fundamentals",instructor:"Jane Cooper",date:"January 20, 2025",lessons:2,students:5,enrolled:7,status:"Pass"},{title:"Social Media Strategy",instructor:"Jacob Jones",date:"January 20, 2025",lessons:9,students:8,enrolled:6,status:"Fail"},{title:"Creative Writing Essentials",instructor:"Cody Fisher",date:"January 20, 2025",lessons:1,students:6,enrolled:5,status:"Fail"}],currentPage:1,rowsPerPage:10,rowsPerPageOptions:[5,10,15,20]}},computed:{totalPages(){return Math.ceil(this.courses.length/this.rowsPerPage)},paginatedCourse(){const a=(this.currentPage-1)*this.rowsPerPage;return this.courses.slice(a,a+this.rowsPerPage)}},methods:{statusClass(a){return{"text-success-500 bg-main-05":a==="Pass","text-warning-600 bg-warning-5":a==="Fail"}},editCourse(a){console.log("Editing course:",a)},deleteCourse(a){console.log("Deleting course:",a)},prevPage(){this.currentPage>1&&this.currentPage--},nextPage(){this.currentPage<this.totalPages&&this.currentPage++}}},D={class:"w-100"},B={class:"px-24 py-24 bg-white rounded-10"},M={class:"mb-24"},A={class:"table-scroll-wrapper overflow-x-auto custom-scrollbar pb-12 w-100",style:{display:"block !important"}},I={id:"quiz-attempts-table",class:"display w-100",style:{"min-width":"900px !important","table-layout":"fixed"}},z={class:"py-20 px-20 shadow-none"},E={class:"text-nowrap overflow-hidden text-overflow-ellipsis",style:{"max-width":"230px"}},H={class:"fw-medium text-14 text-neutral-500 mb-4 text-nowrap"},Q={class:"fw-normal text-12 text-neutral-500 text-nowrap"},j={class:"text-14 fw-normal text-neutral-500 py-20 px-20 shadow-none text-center text-nowrap"},V={class:"py-20 px-20 shadow-none text-14 fw-normal text-neutral-500 text-center"},W={class:"py-20 px-20 shadow-none text-14 fw-normal text-neutral-500 text-center"},N={class:"py-20 px-20 shadow-none text-14 fw-normal text-neutral-500 text-center"},R={class:"py-20 px-16 shadow-none text-center"},L={class:"py-20 px-20 shadow-none text-center"},O={class:"d-flex align-items-center justify-content-center gap-12"},q=["onClick"],K=["onClick"],T={class:"d-flex align-items-center gap-24 justify-content-between flex-wrap pt-12"},U={class:"d-flex align-items-center gap-40 flex-wrap"},G={class:"d-flex align-items-center gap-16"},X=["value"],Y={class:"d-flex align-items-center gap-16"},Z={class:"fw-normal text-14 text-neutral-500"},$={class:"d-flex align-items-center gap-8"},tt=["disabled"],et=["disabled"];function st(a,e,g,f,n,r){return i(),l("div",D,[t("div",B,[e[10]||(e[10]=k('<div class="d-flex align-items-center justify-content-between flex-nowrap gap-24 mb-24 header-row-block overflow-x-auto custom-scrollbar pb-8" data-v-d505f6ff><div class="d-flex align-items-center gap-16 flex-shrink-0 w-100" data-v-d505f6ff><h6 class="mb-0 fw-medium text-neutral-900 text-nowrap" data-v-d505f6ff>Quiz Attempts</h6><button type="button" class="toggle-dashbord-button text-neutral-900 text-24 d-xl-none d-block ms-auto" data-v-d505f6ff><i class="ph-bold ph-list" data-v-d505f6ff></i></button></div></div>',1)),t("div",M,[t("div",A,[t("table",I,[e[5]||(e[5]=t("thead",null,[t("tr",{class:"bg-main-25"},[t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20",style:{width:"250px"}},"Quiz"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20 text-center",style:{width:"150px"}},"Date"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20 text-center",style:{width:"80px"}},"Qus"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20 text-center",style:{width:"80px"}},"TM"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20 text-center",style:{width:"80px"}},"CA"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20 text-center",style:{width:"120px"}},"Result"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20 text-center",style:{width:"120px"}},"Action")])],-1)),t("tbody",null,[(i(!0),l(x,null,m(r.paginatedCourse,(s,u)=>(i(),l("tr",{key:u,class:"hover-bg-neutral-20 transition-03 border-bottom-neutral-20 border-bottom"},[t("td",z,[t("div",E,[t("h6",H,o(s.title),1),t("span",Q,o(s.instructor),1)])]),t("td",j,o(s.date),1),t("td",V,o(s.lessons),1),t("td",W,o(s.students),1),t("td",N,o(s.enrolled),1
1),t("td",R,[t("span",{class:S([{"text-success-600 bg-success-50 border-success-100":s.status==="Pass","text-danger-600 bg-danger-50 border-danger-100":s.status==="Fail"},"text-12 fw-medium border rounded-pill px-16 py-6 d-inline-block text-nowrap"])},o(s.status),3)]),t("td",L,[t("div",O,[t("button",{type:"button",class:"text-neutral-500 text-22 hover-text-main-600 transition-03",onClick:p=>r.editCourse(s)},e[3]||(e[3]=[t("i",{class:"ph ph-pencil-simple-line"},null,-1)]),8,q),t("button",{type:"button",class:"text-neutral-500 text-22 hover-text-danger-600 transition-03",onClick:p=>r.deleteCourse(s)},e[4]||(e[4]=[t("i",{class:"ph ph-trash"},null,-1)]),8,K)])])]))),128))])])])]),t("div",T,[e[9]||(e[9]=t("div",{class:"form-check form-switch d-flex align-items-center gap-8"},[t("input",{class:"form-check-input focus-box-shadow w-60 h-32",type:"checkbox",role:"switch",id:"flexSwitchCheckDefault"}),t("label",{class:"form-check-label text-14 fw-normal text-neutral-500 cursor-pointer",for:"flexSwitchCheckDefault"},"Dense")],-1)),t("div",U,[t("div",G,[e[6]||(e[6]=t("span",{class:"fw-normal text-14 text-neutral-500"},"Rows:",-1)),C(t("select",{"onUpdate:modelValue":e[0]||(e[0]=s=>n.rowsPerPage=s),class:"form-select w-auto pe-32 text-14 fw-normal text-neutral-500 bg-transparent border-0 cursor-pointer"},[(i(!0),l(x,null,m(n.rowsPerPageOptions,s=>(i(),l("option",{key:s,value:s},o(s),9,X))),128))],512),[[F,n.rowsPerPage,void 0,{number:!0}]])]),t("div",Y,[t("span",Z,o((n.currentPage-1)*n.rowsPerPage+1)+"-"+o(Math.min(n.currentPage*n.rowsPerPage,n.courses.length))+" of "+o(n.courses.length),1),t("div",$,[t("button",{class:"text-20 text-neutral-500 hover-text-main-600 transition-03",disabled:n.currentPage===1,onClick:e[1]||(e[1]=(...s)=>r.prevPage&&r.prevPage(...s))},e[7]||(e[7]=[t("i",{class:"ph-bold ph-caret-left"},null,-1)]),8,tt),t("button",{class:"text-20 text-neutral-500 hover-text-main-600 transition-03",disabled:n.currentPage===r.totalPages,onClick:e[2]||(e[2]=(...s)=>r.nextPage&&r.nextPage(...s))},e[8]||(e[8]=[t("i",{class:"ph-bold ph-caret-right"},null,-1)]),8,et)])])])])])])}const nt=h(J,[["render",st],["__scopeId","data-v-d505f6ff"]]),at={name:"InstructorQuizAttempts",components:{Header4:y,Banner:v,InstructorSidebar:P,DashbordSection:nt,Footer4:_}},ot={class:"bg-main-25 pb-80 w-100 h-100"},rt={class:"container container--lg"},lt={class:"d-flex gap-24 mt--120 z-2 position-relative"};function it(a,e,g,f,n,r){const s=c("Header4"),u=c("Banner"),p=c("InstructorSidebar"),w=c("DashbordSection"),b=c("Footer4");return i(),l("div",null,[d(s),d(u),t("div",null,[t("section",ot,[t("div",rt,[t("div",lt,[e[0]||(e[0]=t("div",{class:"student-overlay-sidebar"},null,-1)),d(p),d(w)])])])]),d(b)])}const bt=h(at,[["render",it]]);export{bt 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.