Blame view

src/api/menu.js 4.07 KB
813e55a79   Neeraj Sharma   implement parents...
1
2
  const Menu = [
      //  { header: 'Apps' },
a17c68a03   Neeraj Sharma   implement two rou...
3
4
5
      {
          title: 'Dashboard',
          // group: 'apps',
687e0b929   Neeraj Sharma   add user,attenden...
6
7
          path: '/dashboard',
          icon: '/static/schoolIcons/Dashboard.png',
a17c68a03   Neeraj Sharma   implement two rou...
8
      },
813e55a79   Neeraj Sharma   implement parents...
9
10
11
      {
          title: 'Class',
          // group: 'apps',
687e0b929   Neeraj Sharma   add user,attenden...
12
13
          path: '/addclass',
          icon: '/static/schoolIcons/Class.png',
813e55a79   Neeraj Sharma   implement parents...
14
15
16
17
      },
      {
          title: 'Section',
          // group: 'apps',
687e0b929   Neeraj Sharma   add user,attenden...
18
19
          path: '/section',
          icon: '/static/schoolIcons/Section.png',
813e55a79   Neeraj Sharma   implement parents...
20
21
      },
      {
46db0a3b5   Neeraj Sharma   add sunbject and ...
22
          title: 'Subjects',
687e0b929   Neeraj Sharma   add user,attenden...
23
24
          path: '/subject',
          icon: '/static/schoolIcons/Subjects.png',
46db0a3b5   Neeraj Sharma   add sunbject and ...
25
26
      },
      {
813e55a79   Neeraj Sharma   implement parents...
27
28
          title: 'Parents',
          // group: 'apps',
687e0b929   Neeraj Sharma   add user,attenden...
29
30
          path: '/parents',
          icon: '/static/schoolIcons/Parents.png',
813e55a79   Neeraj Sharma   implement parents...
31
32
33
34
      },
      {
          title: 'Teachers',
          // group: '',
687e0b929   Neeraj Sharma   add user,attenden...
35
36
          path: 'teachers',
          icon: '/static/schoolIcons/Teachers.png',
813e55a79   Neeraj Sharma   implement parents...
37
38
39
40
      },
      {
          title: 'Students',
          // group: 'apps',
687e0b929   Neeraj Sharma   add user,attenden...
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
          path: '/Students',
          icon: '/static/schoolIcons/Students.png',
      },
      {
          title: 'User',
          path: '/User',
          icon: '/static/schoolIcons/User.png',
      },
      {
          title: 'Attendance',
          group: 'Attendance',
          component: 'Attendance',
          icon: '/static/schoolIcons/Attendance.png',
          items: [
              { name: 'studentAttendence', title: 'Student Attendance', component: 'studentAttendence', action: '', },
              // { name: 'teacherAttendence', title: 'Teacher Attendance', component: 'teacherAttendence', action: '', },
              // { name: 'userAttendence', title: 'User Attendance', component: 'userAttendence', action: '', },
          ]
813e55a79   Neeraj Sharma   implement parents...
59
      },
46db0a3b5   Neeraj Sharma   add sunbject and ...
60
61
      {
          title: 'Notice Board',
687e0b929   Neeraj Sharma   add user,attenden...
62
63
          path: '/NoticeBoard',
          icon: '/static/schoolIcons/Notice_board.png',
46db0a3b5   Neeraj Sharma   add sunbject and ...
64
      },
813e55a79   Neeraj Sharma   implement parents...
65
66
      {
          title: 'News',
687e0b929   Neeraj Sharma   add user,attenden...
67
68
          path: '/news',
          icon: '/static/schoolIcons/News.png',
813e55a79   Neeraj Sharma   implement parents...
69
70
71
72
73
74
75
76
      },
      // {
      //   title: 'Reminder',
      //   name: 'reminder',
      //   icon: 'alarm_add',
      // },
      {
          title: 'Time Table',
687e0b929   Neeraj Sharma   add user,attenden...
77
78
          path: '/timeTable',
          icon: '/static/schoolIcons/Time_table.png',
813e55a79   Neeraj Sharma   implement parents...
79
      },
ab54b5656   Neeraj Sharma   implement library...
80
81
82
83
84
85
      {
          title: 'Library',
          group: 'Library',
          component: 'Library',
          icon: '/static/schoolIcons/Library.png',
          items: [
6c05a9f84   Neeraj Sharma   add functionalit ...
86
              { name: 'libraryMember', title: ' Library Member', component: 'libraryMember', action: '', },
ab54b5656   Neeraj Sharma   implement library...
87
              { name: 'Books', title: 'Books', component: 'Books', action: '', },
be1fe29bb   Neeraj Sharma   implement number ...
88
              { name: 'Issue', title: ' Issue', component: 'Issue', action: '', },
6c05a9f84   Neeraj Sharma   add functionalit ...
89
              { name: 'eBooks', title: 'E-Books', component: 'eBooks', action: '', }
687e0b929   Neeraj Sharma   add user,attenden...
90

ab54b5656   Neeraj Sharma   implement library...
91
92
          ]
      },
813e55a79   Neeraj Sharma   implement parents...
93
94
      {
          title: 'Notification',
687e0b929   Neeraj Sharma   add user,attenden...
95
96
          path: '/notification',
          icon: '/static/schoolIcons/Notification.png',
813e55a79   Neeraj Sharma   implement parents...
97
      },
8bb178441   Neeraj Sharma   implemnt api in s...
98
99
      {
          title: 'Social Media',
687e0b929   Neeraj Sharma   add user,attenden...
100
101
          path: '/SocialMedia',
          icon: '/static/schoolIcons/Social_Media.png',
8bb178441   Neeraj Sharma   implemnt api in s...
102
103
104
      },
      {
          title: 'Gallery',
687e0b929   Neeraj Sharma   add user,attenden...
105
106
          path: '/Gallery',
          icon: '/static/schoolIcons/Gallery.png',
8bb178441   Neeraj Sharma   implemnt api in s...
107
      },
4bd94ba60   Neeraj Sharma   implement api and...
108
109
      {
          title: 'Event',
687e0b929   Neeraj Sharma   add user,attenden...
110
111
          path: '/Event',
          icon: '/static/schoolIcons/Events.png',
4bd94ba60   Neeraj Sharma   implement api and...
112
113
114
      },
      {
          title: 'Holiday',
687e0b929   Neeraj Sharma   add user,attenden...
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
          path: '/Holiday',
          icon: '/static/schoolIcons/Holidays.png',
      },
      {
          title: 'Account',
          group: 'Account',
          component: 'Account',
          icon: '/static/schoolIcons/Account.png',
          items: [
              { name: 'feeTypes', title: 'Fee Types', component: 'feeTypes', action: '', },
              { name: 'Invoice', title: 'Invoice', component: 'Invoice', action: '', },
              { name: 'paymentHistory', title: 'Payment History', component: 'paymentHistory', action: '', },
              { name: 'Expense', title: 'Expense', component: 'Expense', action: '', },
              { name: 'Income', title: 'Income', component: 'Income', action: '', },
          ]
4bd94ba60   Neeraj Sharma   implement api and...
130
      }
1c1942362   Neeraj Sharma   commit code Schoo...
131
  ];
93a68cfa1   Jatinder Singh   first commit
132

93a68cfa1   Jatinder Singh   first commit
133

93a68cfa1   Jatinder Singh   first commit
134
135
  // reorder menu
  Menu.forEach((item) => {
687e0b929   Neeraj Sharma   add user,attenden...
136
137
138
139
140
141
142
      // if (item.items) {
      //     item.items.sort((x, y) => {
      //         let textA = x.title.toUpperCase();
      //         let textB = y.title.toUpperCase();
      //         return (textA < textB) ? -1 : (textA > textB) ? 1 : 0;
      //     });
      // }
93a68cfa1   Jatinder Singh   first commit
143
  });
813e55a79   Neeraj Sharma   implement parents...
144
  export default Menu;