election_day.views.manage.screens

The manage screen views.

Functions

view_screens(→ onegov.core.types.RenderData)

View all screens as a list.

export_screens(→ onegov.core.types.RenderData)

Export all screens as a CSV file.

create_screen(→ RenderData | Response)

Create a new screen.

edit_screen_item(→ RenderData | Response)

Edit a screen.

delete_screen(→ RenderData | Response)

Delete a screen.

Module Contents

election_day.views.manage.screens.view_screens(self: onegov.election_day.collections.ScreenCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View all screens as a list.

election_day.views.manage.screens.export_screens(self: onegov.election_day.collections.ScreenCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

Export all screens as a CSV file.

election_day.views.manage.screens.create_screen(self: onegov.election_day.collections.ScreenCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ScreenForm) RenderData | Response[source]

Create a new screen.

election_day.views.manage.screens.edit_screen_item(self: onegov.election_day.models.Screen, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.ScreenForm) RenderData | Response[source]

Edit a screen.

election_day.views.manage.screens.delete_screen(self: onegov.election_day.models.Screen, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Delete a screen.