This commit is contained in:
louiscklaw
2025-04-19 03:25:12 +08:00
parent fe3835e7d3
commit ba2138275b
38 changed files with 7510 additions and 73 deletions

View File

@@ -62,90 +62,94 @@ export const layoutConfig = {
],
},
{
key: 'quiz_listenings',
title: 'listenings',
key: 'quiz_lp',
title: 'listening-practice',
icon: 'users',
items: [
{
key: 'quiz_listening_categories',
title: 'question_category',
icon: 'align-left',
items: [
{ key: 'quiz_listenings', title: 'List', href: paths.dashboard.customers.list },
{ key: 'quiz_listenings:create', title: 'Create', href: paths.dashboard.customers.create },
],
},
{
key: 'quiz_listening_questions',
title: 'question_list',
icon: 'align-left',
items: [
{ key: 'quiz_listenings', title: 'List', href: paths.dashboard.customers.list },
{ key: 'quiz_listenings:create', title: 'Create', href: paths.dashboard.customers.create },
],
},
],
},
{
key: 'quiz_matching_frenzy',
title: 'Matching Frenzy',
icon: 'users',
items: [
{
key: 'quiz_mf_categories',
key: 'quiz_lp',
title: 'categories',
icon: 'align-left',
items: [
{ key: 'quiz_matching_frenzy', title: 'List', href: paths.dashboard.customers.list },
{ key: 'quiz_matching_frenzy:create', title: 'Create', href: paths.dashboard.customers.create },
],
href: paths.dashboard.lp_categories.list,
//
},
{
key: 'quiz_mf_questions',
key: 'quiz_lp',
title: 'questions',
icon: 'align-left',
items: [
{ key: 'quiz_matching_frenzy', title: 'List', href: paths.dashboard.customers.list },
{ key: 'quiz_matching_frenzy:create', title: 'Create', href: paths.dashboard.customers.create },
],
href: paths.dashboard.lp_questions.list,
//
},
],
},
{
key: 'quiz_Connective_revision',
title: 'Connective revision',
key: 'quiz_mf',
title: 'matching-frenzy',
icon: 'users',
items: [
{
key: 'quiz_cr_categories',
key: 'quiz_mf',
title: 'categories',
icon: 'align-left',
items: [
{ key: 'quiz_Connective_revision', title: 'List', href: paths.dashboard.customers.list },
{ key: 'quiz_Connective_revision:create', title: 'Create', href: paths.dashboard.customers.create },
],
href: paths.dashboard.mf_categories.list,
//
},
{
key: 'quiz_cr_questions',
key: 'quiz_mf',
title: 'questions',
icon: 'align-left',
items: [
{ key: 'quiz_Connective_revision', title: 'List', href: paths.dashboard.customers.list },
{ key: 'quiz_Connective_revision:create', title: 'Create', href: paths.dashboard.customers.create },
],
href: paths.dashboard.mf_questions.list,
//
},
],
},
{
key: 'customers',
title: 'Customers',
key: 'quiz_cr',
title: 'connective-revision',
icon: 'users',
items: [
{ key: 'customers', title: 'List customers', href: paths.dashboard.customers.list },
{ key: 'customers:create', title: 'Create customer', href: paths.dashboard.customers.create },
{ key: 'customers:details', title: 'Customer details', href: paths.dashboard.customers.details('1') },
{
key: 'quiz_cr',
title: 'categories',
href: paths.dashboard.cr_categories.list,
//
},
{
key: 'quiz_cr',
title: 'questions',
href: paths.dashboard.cr_questions.list,
//
},
],
},
{
key: 'teachers',
title: 'Teachers',
icon: 'users',
items: [
{ key: 'teachers', title: 'List teachers', href: paths.dashboard.teachers.list },
{ key: 'teachers:create', title: 'Create teacher', href: paths.dashboard.teachers.create },
{ key: 'teachers:details', title: 'Teacher details', href: paths.dashboard.teachers.details('1') },
],
},
{
key: 'students',
title: 'Students',
icon: 'users',
items: [
{ key: 'students', title: 'List students', href: paths.dashboard.students.list },
{ key: 'students:create', title: 'Create student', href: paths.dashboard.students.create },
{ key: 'students:details', title: 'Student details', href: paths.dashboard.students.details('1') },
],
},
// {
// key: 'customers',
// title: 'Customers',
// icon: 'users',
// items: [
// { key: 'customers', title: 'List customers', href: paths.dashboard.customers.list },
// { key: 'customers:create', title: 'Create customer', href: paths.dashboard.customers.create },
// { key: 'customers:details', title: 'Customer details', href: paths.dashboard.customers.details('1') },
// ],
// },
//
// {
// key: 'products',
// title: 'Products',