https://github.com/umar221b/attendancerecord-xblock
An Xblock for OpenEdx that allows recording Attendance for Hybrid courses.
https://github.com/umar221b/attendancerecord-xblock
Last synced: 13 days ago
JSON representation
An Xblock for OpenEdx that allows recording Attendance for Hybrid courses.
- Host: GitHub
- URL: https://github.com/umar221b/attendancerecord-xblock
- Owner: umar221b
- License: gpl-3.0
- Created: 2023-10-31T22:51:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T22:53:51.000Z (over 2 years ago)
- Last Synced: 2025-02-25T22:38:11.841Z (over 1 year ago)
- Language: Python
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```json
{
"nesting": 1,
"sessions": [
["sun", "Sunday"],
["mon", "Monday"],
["wed", "Wednesday"]
]
}
```
```json
{
"nesting": 2,
"sessions": {
"Week 1": [
["week1-sun", "Sunday"],
["week2-mon", "Monday"],
],
"Week 2": [
["week2-sun", "Sunday"],
["week2-wed", "Wednesday"]
],
}
}
```
```json
{
"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:
```json
[
["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.