Files
XP-System/views/dashboard.ejs
2021-01-18 09:05:16 -08:00

12 lines
258 B
Plaintext

<!-- Shows user specific Dashboard -->
<% if (user.role == "Admin") { %>
<% include admin %>
<% } %>
<% if (user.role == "Teacher") { %>
<% include teacherDashboard %>
<% } %>
<% if (user.role == "Student") { %>
<% include studentDashboard %>
<% } %>