utmgdsc / UML_Mentor

Gain practice with UML
3 stars 1 forks source link

Admin Dashboard #64

Closed alexapostolu closed 4 months ago

alexapostolu commented 5 months ago

The admin dashboard. In the user's profile page, if they are an admin, they will see a button that when clicked, takes them to a sperate Admin page.

Here, they can view all the solutions, filter by utorid and timestamp. If no utorid is given, it will display solutions from any user. If no timestamp is given, it will display solutions from any time. The input box updates on every key press, so you can just type the name or the timestamp and it will apply the correct filter immediately.

In the first image, we can see the button that takes us to the Admin dashboard. In the second screenshot, we can see we are filtering by utorid and timestamp, which displays the correct results. (In both images, you can see the Admin link on the nav bar. I realized this is a bug and removed this in my most recent commit)

Screenshot 2024-04-14 101623

image

alexapostolu commented 5 months ago

Fixed indentation and added a timestamp range