Skip to content

An Xblock for OpenEdx that allows recording Attendance for Hybrid courses.

License

Notifications You must be signed in to change notification settings

umar221b/attendancerecord-xblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Install the Xblock into your OpenEdx Instance, then add it to a course in the Advanced Module List in Advanced Settings (add "attendancerecord").

Studio Setup Examples

The module supports up to 3 levels of nesting. The last level will contain the IDs and names of the sessions. The ID of a session can be any string, but it must be unique. Options also have a unique ID and a name each. The first option is the default option. Make sure you include a "not recorded" option.

{
    "nesting": 1,
    "sessions": [
        ["sun", "Sunday"],
        ["mon", "Monday"],
        ["wed", "Wednesday"]
    ]
}
{
    "nesting": 2,
    "sessions": {
        "Week 1": [
            ["week1-sun", "Sunday"],
            ["week2-mon", "Monday"],
        ],
        "Week 2": [
            ["week2-sun", "Sunday"],
            ["week2-wed", "Wednesday"]
        ],
    }
}
{
    "nesting": 3,
    "sessions": {
        "Week 1": {
            "Sunday": [
                ["week1-sun-morning", "Morning Session"], 
                ["week1-sun-evening", "Evening Session"]
            ],
            "Monday": [
                ["week1-mon-morning", "Morning Session"],
                ["week1-mon-evening", "Evening Session"]
            ]
        },
        "Week 2": {
            "Sunday": [
                ["week2-sun-morning", "Morning Session"],
                ["week2-sun-afternoon", "Afternoon Session"]
            ],
            "Wednesday": [
                ["week2-wed-afternoon", "Afternoon Session"],
                ["week2-wed-evening", "Evening Session"]
            ]
        }
    }
}

Attendance options are specified in a different field but in a similar manner:

[
    ["not-recorded", "Not recorded"],
    ["attended", "attended"],
    ["late", "late"],
    ["absent", "absent"]
]

Support

Future work should make creating sessions more user-friendly, right now it works by specifiying a JSON object.

About

An Xblock for OpenEdx that allows recording Attendance for Hybrid courses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published