intranet.apps.eighth.views.admin package¶
Submodules¶
intranet.apps.eighth.views.admin.activities module¶
intranet.apps.eighth.views.admin.attendance module¶
intranet.apps.eighth.views.admin.blocks module¶
intranet.apps.eighth.views.admin.general module¶
intranet.apps.eighth.views.admin.groups module¶
- class intranet.apps.eighth.views.admin.groups.EighthAdminDistributeGroupWizard(**kwargs)[source]¶
Bases:
SessionWizardView
- FORMS = [('block', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>), ('activity', <class 'intranet.apps.eighth.forms.admin.activities.ScheduledActivityMultiSelectForm'>)]¶
- TEMPLATES = {'activity': 'eighth/admin/distribute_group.html', 'block': 'eighth/admin/distribute_group.html', 'choose': 'eighth/admin/distribute_group.html'}¶
- class intranet.apps.eighth.views.admin.groups.EighthAdminSignUpGroupWizard(**kwargs)[source]¶
Bases:
SessionWizardView
- FORMS = [('block', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>), ('activity', <class 'intranet.apps.eighth.forms.admin.activities.ActivitySelectionForm'>)]¶
- TEMPLATES = {'activity': 'eighth/admin/sign_up_group.html', 'block': 'eighth/admin/sign_up_group.html'}¶
- intranet.apps.eighth.views.admin.groups.eighth_admin_distribute_group(self, request, *args, **kwargs)¶
- intranet.apps.eighth.views.admin.groups.eighth_admin_distribute_unsigned(self, request, *args, **kwargs)¶
- intranet.apps.eighth.views.admin.groups.eighth_admin_perform_group_signup(*, group_id: int, schact_id: int, request: Optional[HttpRequest], skip_users: set)[source]¶
Performs sign up of all users in a specific group up for a specific scheduled activity.
- Parameters:
group_id – The ID of the group that should be signed up for the activity.
schact_id – The ID of the EighthScheduledActivity all the users in the group should be signed up for.
request – If possible, the request object associated with the operation.
skip_users – A list of users that should not be signed up for the activity, usually because they are stickied into another activity.
- intranet.apps.eighth.views.admin.groups.eighth_admin_signup_group(self, request, *args, **kwargs)¶
- intranet.apps.eighth.views.admin.groups.eighth_admin_signup_group_action(request, group_id, schact_id)[source]¶
intranet.apps.eighth.views.admin.hybrid module¶
- class intranet.apps.eighth.views.admin.hybrid.EighthAdminSignUpGroupWizard(**kwargs)[source]¶
Bases:
SessionWizardView
- FORMS = [('block', <class 'intranet.apps.eighth.forms.admin.blocks.HybridBlockSelectionForm'>), ('activity', <class 'intranet.apps.eighth.forms.admin.activities.HybridActivitySelectionForm'>)]¶
- TEMPLATES = {'activity': 'eighth/admin/sign_up_group.html', 'block': 'eighth/admin/sign_up_group.html'}¶
- intranet.apps.eighth.views.admin.hybrid.eighth_admin_perform_group_signup(*, group_id: int, schact_virtual_id: int, schact_person_id: int, request: Optional[HttpRequest])[source]¶
Performs sign up of all users in a specific group up for a specific scheduled activity.
- Parameters:
group_id – The ID of the group that should be signed up for the activity.
schact_virtual_id – The ID of the EighthScheduledActivity all the virtual users in the group should be signed up for.
schact_person_id – The ID of the EighthScheduledActivity all the in-person users in the group should be signed up for.
request – If possible, the request object associated with the operation.
- intranet.apps.eighth.views.admin.hybrid.eighth_admin_signup_group_action_hybrid(request, group_id, schact_virtual_id, schact_person_id)[source]¶
- intranet.apps.eighth.views.admin.hybrid.eighth_admin_signup_group_hybrid_view(self, request, *args, **kwargs)¶
intranet.apps.eighth.views.admin.maintenance module¶
intranet.apps.eighth.views.admin.rooms module¶
- class intranet.apps.eighth.views.admin.rooms.EighthAdminRoomUtilizationWizard(**kwargs)[source]¶
Bases:
SessionWizardView
- FORMS = [('start_block', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>), ('end_block', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>)]¶
- TEMPLATES = {'end_block': 'eighth/admin/room_utilization.html', 'start_block': 'eighth/admin/room_utilization.html'}¶
- intranet.apps.eighth.views.admin.rooms.room_utilization_view(self, request, *args, **kwargs)¶
intranet.apps.eighth.views.admin.scheduling module¶
- class intranet.apps.eighth.views.admin.scheduling.EighthAdminTransferStudentsWizard(**kwargs)[source]¶
Bases:
SessionWizardView
- FORMS = [('block_1', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>), ('activity_1', <class 'intranet.apps.eighth.forms.admin.activities.ActivitySelectionForm'>), ('block_2', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>), ('activity_2', <class 'intranet.apps.eighth.forms.admin.activities.ActivitySelectionForm'>)]¶
- TEMPLATES = {'activity_1': 'eighth/admin/transfer_students.html', 'activity_2': 'eighth/admin/transfer_students.html', 'block_1': 'eighth/admin/transfer_students.html', 'block_2': 'eighth/admin/transfer_students.html'}¶
- class intranet.apps.eighth.views.admin.scheduling.EighthAdminUnsignupStudentsWizard(**kwargs)[source]¶
Bases:
SessionWizardView
- FORMS = [('block_1', <class 'intranet.apps.eighth.forms.admin.blocks.BlockSelectionForm'>), ('activity_1', <class 'intranet.apps.eighth.forms.admin.activities.ActivitySelectionForm'>)]¶
- TEMPLATES = {'activity_1': 'eighth/admin/transfer_students.html', 'block_1': 'eighth/admin/transfer_students.html'}¶
- intranet.apps.eighth.views.admin.scheduling.transfer_students_action(request)[source]¶
Do the actual process of transferring students.
- intranet.apps.eighth.views.admin.scheduling.transfer_students_view(self, request, *args, **kwargs)¶
- intranet.apps.eighth.views.admin.scheduling.unsignup_students_view(self, request, *args, **kwargs)¶