diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8c6711c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/routes/uploads diff --git a/routes/uploads/image-1606760324299 b/routes/uploads/image-1606760324299 new file mode 100644 index 0000000..037c500 Binary files /dev/null and b/routes/uploads/image-1606760324299 differ diff --git a/views/dashboard.ejs b/views/dashboard.ejs index bc6c404..af32f5e 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -1,3 +1,4 @@ + <% if (user.role == "Teacher") { %> <% include teacherDashboard %> <% } %> diff --git a/views/layout.ejs b/views/layout.ejs index bfb7cb9..f043395 100644 --- a/views/layout.ejs +++ b/views/layout.ejs @@ -9,7 +9,7 @@ rel="stylesheet" href="https://bootswatch.com/4/journal/bootstrap.min.css" /> -