PageSourceSearch

https://eduall-vue.netlify.app/assets/InstructorMyQuizAttempts-CJynC7E4.js

js eduall-vue.netlify.app collected 2026-10-03 10:41:53 UTC 7,586 bytes, 1 lines download raw bytes

1import{F as b,H as P}from"./Footer4-DHe5vSKf.js";import{I as y,B as v}from"./InstructorSidebar-D81KUxx3.js";import{_ as g,c as l,b as t,F as m,f as x,s as C,v as k,t as o,o as i,n as F,d,r as u}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)},paginatedCourses(){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"}},prevPage(){this.currentPage>1&&this.currentPage--},nextPage(){this.currentPage<this.totalPages&&this.currentPage++},editCourse(a){console.log("Editing course:",a)},deleteCourse(a){console.log("Deleting course:",a)}}},S={class:"w-100"},D={class:"px-24 py-24 bg-white rounded-10"},M={class:"mb-24"},B={class:""},A={id:"example-five",class:"display min-w-max w-100 overflow-x-auto"},E={class:"py-28 px-20 shadow-none"},I={class:"fw-medium text-14 text-neutral-500 mb-5"},z={class:"fw-normal text-12 text-neutral-500"},H={class:"text-14 fw-normal text-neutral-500 py-28 px-20 shadow-none"},Q={class:"py-28 px-20 shadow-none text-14 fw-normal text-neutral-500"},W={class:"py-28 px-20 shadow-none text-14 fw-normal text-neutral-500"},j={class:"py-28 px-20 shadow-none text-14 fw-normal text-neutral-500"},R={class:"py-22 px-16 shadow-none"},V={class:"py-28 px-20 shadow-none"},L={class:"d-flex align-items-center gap-12"},N=["onClick"],O=["onClick"],K={class:"d-flex align-items-center gap-24 justify-content-between flex-wrap"},T={class:"d-flex align-items-center gap-40 flex-wrap"},U={class:"d-flex align-items-center gap-16"},q=["value"],G={class:"d-flex align-items-center gap-16"},X={class:"fw-normal text-14 text-neutral-500"},Y={class:"d-flex align-items-center gap-8"},Z=["disabled"],$=["disabled"];function tt(a,e,h,f,n,r){return i(),l("div",S,[t("div",D,[e[10]||(e[10]=t("div",{class:"d-flex align-items-center gap-8 justify-content-between"},[t("h6",{class:"mb-0 fw-medium"},"Quiz Attempts"),t("button",{type:"button",class:"toggle-student-dashbord-button text-neutral-900 text-24 d-xl-none d-block"},[t("i",{class:"ph-bold ph-list"}
1)])],-1)),t("div",M,[t("div",B,[t("table",A,[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"},"Quiz"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20"},"Date"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20"},"Qus"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20"},"TM"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20"},"CA"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20"},"Result"),t("th",{class:"text-12 fw-medium text-neutral-500 py-16 px-20"},"Action")])],-1)),t("tbody",null,[(i(!0),l(m,null,x(r.paginatedCourses,(s,c)=>(i(),l("tr",{key:c,class:"hover-bg-neutral-20 transition-03"},[t("td",E,[t("div",null,[t("h6",I,o(s.title),1),t("span",z,o(s.instructor),1)])]),t("td",H,o(s.date),1),t("td",Q,o(s.lessons),1),t("td",W,o(s.students),1),t("td",j,o(s.enrolled),1),t("td",R,[t("span",{class:F([r.statusClass(s.status),"text-12 fw-normal border-neutral-30 border rounded-pill px-16 py-8"])},o(s.status),3)]),t("td",V,[t("div",L,[t("button",{type:"button",class:"text-neutral-500 text-24 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,N),t("button",{type:"button",class:"text-neutral-500 text-24 hover-text-main-600 transition-03",onClick:p=>r.deleteCourse(s)},e[4]||(e[4]=[t("i",{class:"ph ph-trash"},null,-1)]),8,O)])])]))),128))])])])]),t("div",K,[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",for:"flexSwitchCheckDefault"},"Dense")],-1)),t("div",T,[t("div",U,[e[6]||(e[6]=t("span",{class:"fw-normal text-14 text-neutral-500"},"Rows per page:",-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"},[(i(!0),l(m,null,x(n.rowsPerPageOptions,s=>(i(),l("option",{key:s,value:s},o(s),9,q))),128))],512),[[k,n.rowsPerPage,void 0,{number:!0}]])]),t("div",G,[t("span",X,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",Y,[t("button",{class:"text-20 text-neutral-500",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,Z),t("button",{class:"text-20 text-neutral-500",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,$)])])])])])])}const et=g(J,[["render",tt]]),st={name:"InstructorMyQuizAttempts",components:{Header4:P,Banner:v,InstructorSidebar:y,DashbordSection:et,Footer4:b}},nt={class:"bg-main-25 pb-80 w-100 h-100"},at={class:"container container--lg"},ot={class:"d-flex gap-24 mt--120 z-2 position-relative"};function rt(a,e,h,f,n,r){const s=u("Header4"),c=u("Banner"),p=u("InstructorSidebar"),w=u("DashbordSection"),_=u("Footer4");return i(),l("div",null,[d(s),d(c),t("div",null,[t("section",nt,[t("div",at,[t("div",ot,[e[0]||(e[0]=t("div",{class:"student-overlay-sidebar"},null,-1)),d(p),d(w)])])])]),d(_)])}const ft=g(st,[["render",rt]]);export{ft 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.