election_day.views.election.candidates

Module Contents

Functions

view_election_candidates_data(→ onegov.core.types.JSON_ro)

" View the candidates as JSON.

view_election_candidates_chart(...)

" View the candidates as bar chart.

view_election_candidates(→ onegov.core.types.RenderData)

" The main view.

view_election_lists_table(→ onegov.core.types.RenderData)

" View the lists as table.

view_election_candidates_svg(...)

View the candidates as SVG.

Attributes

election_incomplete_text

election_day.views.election.candidates.election_incomplete_text[source]
election_day.views.election.candidates.view_election_candidates_data(self: onegov.ballot.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

“ View the candidates as JSON.

Used to for the candidates bar chart.

election_day.views.election.candidates.view_election_candidates_chart(self: onegov.ballot.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the candidates as bar chart.

election_day.views.election.candidates.view_election_candidates(self: onegov.ballot.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election.candidates.view_election_lists_table(self: onegov.ballot.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the lists as table.

election_day.views.election.candidates.view_election_candidates_svg(self: onegov.ballot.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the candidates as SVG.