diff --git a/README.md b/README.md index 39011cb..398b95d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [Iridium Tutoring](https://www.iridiumtutoring.org) is a nationwide 501(c)(3) nonprofit tutoring organization serving K-12 students with free, personalized educational support in all subjects. Our mission is to provide high-quality, accessible, and equitable tutoring to students in need, regardless of their background or financial status. We are committed to helping students reach their full potential and achieve academic success. -This dashboard streamlines the tutoring session registration process and tutor sign-up process to a non-Google-Sheets/Forms hosted platform. Developed by the 2024 Iridium Tutoring director team (Charles Tang). Utilizes Model-View-Template (MVT) architecture for Tutors, Students, and TutoringSessions. +This dashboard streamlines the tutoring session registration process and tutor sign-up process to a non-Google-Sheets/Forms-hosted platform. Developed by the 2024 Iridium Tutoring director team (Charles Tang). Utilizes Model-View-Template (MVT) architecture for `Tutors`, `Students`, and `Tutoring-Sessions`. ## Tech Stack @@ -13,8 +13,9 @@ This dashboard streamlines the tutoring session registration process and tutor s ## Features [x] Admin dashboard (manage tutor, student, session registrations) [x] Student session registration (sign up for tutoring sessions, email confirmation, automatic account generation) -[] Student dashboard (login/logout, see past/upcoming sessions, register session, see tutor details) -[] Tutor dashboard (login/logout, see available sessions, see historical sessions, volunteering hours, sign up for sessions, past taken sessions, add sessions) +[x] Student dashboard (login/logout, see past/upcoming sessions, register session, see session details, see tutor details) +[x] Tutor session dashboard (login/logout, see available sessions, see historical sessions, sign up for sessions, past taken sessions, add session) +[] Tutor profile dashboard (volunteering hours) [] Admin dashboard (sort by model, create new tutor form, create new session form) [] Deployed onto DigitalOcean (thanks to nonprofit credits), subdomain of iridiumtutoring.org diff --git a/db.sqlite3 b/db.sqlite3 index e294218..688cb8c 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/iridisite/__pycache__/urls.cpython-312.pyc b/iridisite/__pycache__/urls.cpython-312.pyc index 4b9ee1a..fb0df38 100644 Binary files a/iridisite/__pycache__/urls.cpython-312.pyc and b/iridisite/__pycache__/urls.cpython-312.pyc differ diff --git a/iridisite/urls.py b/iridisite/urls.py index 80e9ecd..a6b2d7d 100644 --- a/iridisite/urls.py +++ b/iridisite/urls.py @@ -18,7 +18,7 @@ from django.urls import include, path urlpatterns = [ - path("tutoring_student/", include("tutoring_student.urls")), + path("", include("tutoring_student.urls")), path('admin/', admin.site.urls), path("__debug__/", include("debug_toolbar.urls")), ] diff --git a/tutoring_student/__pycache__/urls.cpython-312.pyc b/tutoring_student/__pycache__/urls.cpython-312.pyc index 7e7afcb..047227b 100644 Binary files a/tutoring_student/__pycache__/urls.cpython-312.pyc and b/tutoring_student/__pycache__/urls.cpython-312.pyc differ diff --git a/tutoring_student/__pycache__/views.cpython-312.pyc b/tutoring_student/__pycache__/views.cpython-312.pyc index 979768b..efd58ca 100644 Binary files a/tutoring_student/__pycache__/views.cpython-312.pyc and b/tutoring_student/__pycache__/views.cpython-312.pyc differ diff --git a/tutoring_student/templates/tutoring_student/index.html b/tutoring_student/templates/tutoring_student/index.html index 15cf795..50e7cfe 100644 --- a/tutoring_student/templates/tutoring_student/index.html +++ b/tutoring_student/templates/tutoring_student/index.html @@ -1,5 +1,6 @@ +
Iridium Tutoring + + {% load static %} +Here are the details of your tutoring session:
+A tutor will reach out soon about the details of your session. If you have any questions, please contact us at iridiumtutoring@gmail.com.
+ {% else %} +{{tutoringSession.tutor.tutorName}} has signed up for your session and will reach out soon about the details of your session. If you have any questions, feel free to contact us at iridiumtutoring@gmail.com.
+ {% endif %} + Go Back +Here are the details of your {{ tutoringSession.student.studentName }}'s session:
+You may contact the student via their email of phone number to ask any additional questions about their request. If the student asks to change the time/topic, please contact an administrator to update the session accordingly. To claim this session, press the claim session button below and follow up with an email to the student.
+ + {% elif tutoringSession.tutor.tutorName == tutor.tutorName and tutoringSession.tutor.email == tutor.email %} + + {% else %} +{{tutoringSession.tutor.tutorName}} has signed up for this session.
+ {% endif %} + Go Back +No upcoming of tutoring sessions.
+ {% endif %} +