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" /> - XP-System Mock + XP-System
<%- body %>
diff --git a/views/register.ejs b/views/register.ejs index c657a96..e888ec8 100644 --- a/views/register.ejs +++ b/views/register.ejs @@ -17,6 +17,10 @@ value="<%= typeof name != 'undefined' ? name : '' %>" /> +
+ + +
diff --git a/views/studentDashboard.ejs b/views/studentDashboard.ejs index e6839b0..63769fa 100644 --- a/views/studentDashboard.ejs +++ b/views/studentDashboard.ejs @@ -34,7 +34,7 @@
- '>

@@ -53,6 +53,7 @@ Logout + @@ -127,6 +128,7 @@ <% if (member.role == "Student") { %>
  • +
    +