Skip to content

dracolim/SPM_T4

Repository files navigation

IS212 Project by Team 4

example workflow example workflow example workflow

Group Members:

  • Lim Yin Yao
  • Tian Fu Wei
  • Gerald Ng Xian Wei
  • Lim Bei Ling Cheryl
  • Maaruni Pandithurai
  • Yi Mon Mon Aung

Dependencies:

  • Flask
  • Flask SQLAlchemy
  • Flask CORS
  • WAMP (Windows) / Mamp (Mac)

Steps to set up:

Windows

  • Username: root
  • Password is empty

Mac

  • Username: root
  • Password: root
  1. Turn on WAMP/MAMP
  2. Load ljms.sql file into phpMyAdmin
  3. Run app2.py under flask folder with commands python app2.py

Main Homepage

main_home.html

Screenshot 2022-11-07 at 3 45 34 PM
This is the starting point regardless of their role. Users should see 3 boxes representing 3 roles: Staff, Human Resource and Manager.

Selecting their role would bring them to their individual homepage where they can access other functions of LJMS (etc. staff homepage, human resource homepage and manager homepage).

To select and proceed, the user will have to choose one of the boxes by clicking on either the text “Staff”, “Human Resource”, “Manager” or by clicking one of the “More ->” buttons that are highlighted in blue.

Switch between roles (HR, Manager, Staff)

Steps to switch between roles

  1. At the nav bar, click "profile" icon
  2. Click "Sign out". It will lead to main_home.html

Human Resource (HR)

Assign Skills to Roles & Assign Skills to Courses

Steps for HR to Assign Skills to Roles

Screenshot 2022-11-07 at 4 21 26 PM

1. From main_home.html , click on “More ->” button or the text “Human Resource” in the Human Resource box.
2. From the HR homepage (hr_ljmsHome.html), click on the “More ->” button or the text “Job Roles” in the Human Resource box.
3. From the Roles Page (hr_roles.html), click on the “Assign Skills” button under the Job Role you would like to assign a skill to.
4. From the Individual Role Page (individual_role.html), you will be able to see all available skills on the left that can be assigned to the Job Role. Tick the checkboxes for your desired skills under the “Available Skills” section on the left.
5. Click on the “Confirm Selection” button. Skills have now be successfully assigned to that job role.

Steps for HR to Assign Skills to Courses

Screenshot 2022-11-07 at 7 58 26 PM

1. From main_home.html , click on “More ->” button or the text “Human Resource” in the Human Resource box.
2. From the HR homepage (hr_ljmsHome.html), click on the “More ->” button or the text “Courses” in the Human Resource box.
3. From the Courses Page (hr_courses.html), click on the “Assign Skills” button under the Course you would like to assign a skill to.
4. From the Individual Course Page (individual_course.html), you will be able to see all available skills on the left that can be assigned to the Course. Tick the checkboxes for your desired skills under the “Available Skills” section on the left.
5. Click on the “Confirm Selection” button. Skills have now be successfully assigned to that course.

CRUD Roles

Steps for HR to Create Roles

Screenshot 2022-11-07 at 8 04 28 PM

1. From main_home.html , click on “More ->” button or the text “Human Resource” in the Human Resource box.
2. From the HR homepage (hr_ljmsHome.html), click on the “More ->” button or the text “Job Roles” in the Job Roles box.
3. Click on the 'Create role' button
4. Enter role name and role description
5. Click 'Submit'. A new role will be created.

Steps for HR to Read Roles

Screenshot 2022-11-07 at 8 08 55 PM

1. From main_home.html , click on “More ->” button or the text “Human Resource” in the Human Resource box.
2. From the HR homepage (hr_ljmsHome.html), click on the “More ->” button or the text “Job Roles” in the Job Roles box. It will bring HR to (hr_roles.html)

Steps for HR to Update Roles

Screenshot 2022-11-07 at 8 17 20 PM

1. From main_home.html , click on “More ->” button or the text “Human Resource” in the Human Resource box.
2. From the HR homepage (hr_ljmsHome.html), click on the “More ->” button or the text “Job Roles” in the Job Roles box. It will bring HR to (hr_roles.html)
3. Click on the 'Update' button
4. Make necessary changes to role name and role description
5. Click 'Submit'. The job role will be updated.

Steps for HR to Delete Roles

  1. From main_home.html , click on “More ->” button or the text “Human Resource” in the Human Resource box.
  2. From the HR homepage (hr_ljmsHome.html), click on the “More ->” button or the text “Job Roles” in the Job Roles box. It will bring HR to (hr_roles.html)
  3. Click on the 'Delete' button. The job role will be deleted.

CRUD Skills

Steps for HR to Create Skills

Screenshot 2022-11-07 at 8 25 18 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “skills” in the Skills box. It will bring HR to (staff_skills.html)
3. Click on the 'Create skill' button
4. Enter skill name and skill description
5. Click 'Submit'. A new skill will be created.

Steps for HR to Read Skills

Screenshot 2022-11-07 at 8 25 40 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “skills” in the Skills box. It will bring HR to (staff_skills.html)

Steps for HR to Update Skills

Screenshot 2022-11-07 at 8 26 27 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “skills” in the Skills box. It will bring HR to (staff_skills.html)
3. Click on the 'Update' button
4. Make necessary changes to skill name and skill description
5. Click 'Submit'. The skill will be updated.

Steps for HR to Delete Skills

  1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
  2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “skills” in the Skills box. It will bring HR to (staff_skills.html)
  3. Click on the 'Delete' button. The skill will be deleted.

Staff

Staff to View Courses, Roles, Skills, Learning Journey

Steps for Staff to View Job Roles

Screenshot 2022-11-07 at 8 37 01 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “Job Roles” in the Job Roles box. It will bring HR to (staff_roles.html)

Steps for Staff to View Skills

Screenshot 2022-11-07 at 8 38 24 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “Skills” in the Skills box. It will bring HR to (staff_skills.html)

Steps for Staff to View Courses

Screenshot 2022-11-07 at 8 40 04 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “Courses” in the Courses box. It will bring HR to (staff_courses.html)

Steps for Staff to View Learning Journey

Screenshot 2022-11-07 at 8 43 57 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “Learning Journey” in the Learning Journey box. It will bring HR to (staff_learning_journey.html)

Staff to Create Learning Journey

Steps for Staff to Create Learning Journey

Screenshot 2022-11-07 at 8 47 53 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “Learning Journey” in the Learning Journey box. It will bring HR to (staff_learning_journey.html)
3. Click on "Create Learning Journey" button
4. Select Add Course button
5. Select on checkbox for the skill you want, then the courses option would appear.
6. Select the checkbox for the course you wish to add to learning journey.
7. Select 'Confirm Selection' button. A new learning journey is created.

Staff to Remove Course from Learning Journey

Steps for Staff to Remove Course from Learning Journey

Screenshot 2022-11-07 at 8 51 49 PM

1. From main_home.html , click on “More ->” button or the text “Staff” in the Staff box.
2. From the Staff homepage (staff_ljmshome.html), click on the “More ->” button or the text “Learning Journey” in the Learning Journey box. It will bring HR to (staff_learning_journey.html)
4. Select 'Remove Course' button
5. Check the courses to remove from the list
6. Select 'Confirm Selection' button. Selected Courses will be removed.

About

Team 4's Project for SPM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published