election_day.views.vote.districts

Functions

view_vote_districts(→ onegov.core.types.RenderData)

" The main view (proposal).

view_vote_districts_proposal(...)

" The main view (proposal).

view_vote_districts_counter_proposal(...)

" The main view (counter-proposal).

view_vote_districts_tie_breaker(...)

" The main view (tie-breaker).

view_vote_districts_map_proposal(→ webob.response.Response)

A static link to the map of the proposal.

view_vote_districts_map_counter_proposal(...)

A static link to the map of the counter proposal.

view_vote_districts_map_tie_breaker(...)

A static link to the map of the tie breaker.

view_ballot_as_table(→ onegov.core.types.RenderData)

" View the results of the entities of ballot as table.

view_vote_districts_table_proposal(...)

A static link to the table by districts of the proposal.

view_vote_districts_table_counter_proposal(...)

A static link to the table by districts of the counter proposal.

view_vote_districts_table_tie_breaker(...)

A static link to the table of the tie breaker by districts.

view_ballot_by_district(→ onegov.core.types.JSON_ro)

Returns the data for the ballot map.

view_ballot_districts_as_map(...)

" View the results of the districts of ballot as map.

view_ballot_districts_svg(→ onegov.core.types.RenderData)

" Download the results of the districts of ballot as a SVG.

Module Contents

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

“ The main view (proposal).

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

“ The main view (proposal).

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

“ The main view (counter-proposal).

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

“ The main view (tie-breaker).

election_day.views.vote.districts.view_vote_districts_map_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the map of the proposal.

election_day.views.vote.districts.view_vote_districts_map_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the map of the counter proposal.

election_day.views.vote.districts.view_vote_districts_map_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the map of the tie breaker.

election_day.views.vote.districts.view_ballot_as_table(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the results of the entities of ballot as table.

election_day.views.vote.districts.view_vote_districts_table_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the table by districts of the proposal.

election_day.views.vote.districts.view_vote_districts_table_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the table by districts of the counter proposal.

election_day.views.vote.districts.view_vote_districts_table_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

A static link to the table of the tie breaker by districts.

election_day.views.vote.districts.view_ballot_by_district(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

Returns the data for the ballot map.

election_day.views.vote.districts.view_ballot_districts_as_map(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ View the results of the districts of ballot as map.

election_day.views.vote.districts.view_ballot_districts_svg(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ Download the results of the districts of ballot as a SVG.