adds styles for offering voters views

This commit is contained in:
Alberto Garcia Cabeza
2016-10-14 19:00:58 +02:00
committed by kikito
parent 5ba72f0fe3
commit 70752e217d
5 changed files with 86 additions and 7 deletions

View File

@@ -2,5 +2,4 @@
<h2><%= t("officing.dashboard.index.title") %></h2>
<p><%= t("officing.dashboard.index.info") %></p>
</div>

View File

@@ -1 +1,20 @@
voters new
<h2><%= t("officing.voters.new.title") %></h2>
<div class="row">
<div class="small-12 medium-9 column">
<form>
<label><%= t("officing.voters.new.document_type_label") %></label>
<select>
<option><%= t("officing.voters.new.document_type.spanish_id") %></option>
<option><%= t("officing.voters.new.document_type.residence_card") %></option>
<option><%= t("officing.voters.new.document_type.passport") %></option>
</select>
<label><%= t("officing.voters.new.document_number") %></label>
<input type="text" placeholder="<%= t("officing.voters.new.document_number") %>">
<input type="submit" value="<%= t("officing.voters.new.submit") %>" class="button">
</form>
</div>
</div>

View File

@@ -1 +1,25 @@
voters show
<h2><%= t("officing.voters.show.title") %></h2>
<!-- IF CAN'T VOTE -->
<div class="callout alert">
<%= t("officing.voters.show.error_verifying_census") %>
</div>
<!-- IF ALREADY VOTED -->
<div class="callout warning">
<%= t("officing.voters.show.error_already_voted") %>
</div>
<!-- IF CAN VOTE -->
<div class="callout success">
<%= t("officing.voters.show.success") %>
</div>
<div class="small-12 medium-6 large-4">
<form>
<input type="submit" value="<%= t("officing.voters.show.submit") %>" class="button success expanded">
</form>
</div>

View File

@@ -6,5 +6,19 @@ en:
title: Poll officing
info: Here you can validate user documents and store voting results
menu:
voters: Validate citizen document
results: Store voting results
voters: Validate document
results: Store results
voters:
new:
title: Validate document
document_number: Document number
document_type:
passport: Passport
residence_card: Residence card
spanish_id: DNI
document_type_label: Document type
submit: Validate document
show:
title: Validate document
error_verifying_census: "The Census was unable to verify your information."
error_already_voted: "La persona asociada al documento ya ha participado en la votación."

View File

@@ -6,5 +6,28 @@ es:
title: Presidir mesa de votaciones
info: Aquí puedes validar documentos de ciudadanos y guardar los resultados de las urnas
menu:
voters: Validar documento de identidad
results: Guardar resultados de la votación
voters: Validar documento
results: Guardar resultados
voters:
new:
title: Validar documento
document_number: Número de documento
document_type:
passport: Pasaporte
residence_card: Tarjeta de residencia
spanish_id: DNI
document_type_label: Tipo de documento
submit: Validar documento
show:
title: Validar documento
error_verifying_census: "El Padrón no pudo verificar tu información."
error_already_voted: "La persona asociada al documento ya ha participado en la votación."
success: "La persona asociada al documento puede participar en la votación."
submit: Validar voto
results:
index:
title: "Resultados de la votación"
new:
title: "Añadir resultados"
show:
title: "Resultados"