election_day.views.vote.main

Functions

view_vote_head(→ None)

view_vote(→ webob.response.Response)

" The main view.

view_vote_json(→ onegov.election_day.types.VoteJson)

" The main view as JSON.

view_vote_summary(→ onegov.core.types.JSON_ro)

View the summary of the vote as JSON.

view_vote_pdf(→ onegov.core.types.RenderData)

View the generated PDF.

view_vote_header_as_widget(→ onegov.core.types.RenderData)

A static link to the top bar showing the vote result as widget.

Module Contents

election_day.views.vote.main.view_vote_head(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) None[source]
election_day.views.vote.main.view_vote(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

“ The main view.

election_day.views.vote.main.view_vote_json(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.election_day.types.VoteJson[source]

“ The main view as JSON.

election_day.views.vote.main.view_vote_summary(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

View the summary of the vote as JSON.

election_day.views.vote.main.view_vote_pdf(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the generated PDF.

election_day.views.vote.main.view_vote_header_as_widget(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

A static link to the top bar showing the vote result as widget.