removes unused routes/files

This commit is contained in:
Juanjo Bazán
2017-01-03 22:17:27 +01:00
parent 8b56403bb1
commit 8d52224121
4 changed files with 0 additions and 138 deletions

View File

@@ -1,54 +0,0 @@
<h2><%= t("officing.results.index.title") %></h2>
<div class="row margin">
<div class="small-12 medium-4 column">
<select>
<option><%= t("officing.shared.filter_booth") %></option>
</select>
</div>
<div class="small-12 medium-4 column">
<select>
<option><%= t("officing.shared.filter_date") %></option>
</select>
</div>
<div class="small-12 medium-4 column">
<select>
<option><%= t("officing.shared.filter_officer") %></option>
</select>
</div>
</div>
<table>
<thead>
<tr>
<th><%= t("officing.shared.booth") %></th>
<th><%= t("officing.shared.date") %></th>
<th><%= t("officing.shared.officer") %></th>
<th class="text-center"><%= t("officing.shared.votes_number") %></th>
</tr>
</thead>
<tbody>
<!-- Each results do -->
<tr>
<td><%= link_to "Urna Moncloa (1)", officing_poll_result_path(Poll.last, 1) %></td>
<td>14/10/2016</td>
<td>Officer Name (officer@email.com)</td>
<td class="text-center">124</td>
</tr>
<!-- /. Each results do -->
<tr>
<td><%= link_to "Urna Cahamartín (6)", officing_poll_result_path(Poll.last, 1) %></td>
<td>17/10/2016</td>
<td>Other Officer (otherofficer@email.com)</td>
<td class="text-center">350</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3"><%= t("officing.results.index.total_votes") %></td>
<td class="text-center">474</td>
</tr>
</tfoot>
</table>

View File

@@ -1,50 +0,0 @@
<%= render 'shared/back_link' %>
<h2><%= t("officing.results.show.title", booth: "Booth Name (1)") %></h2>
<div class="row margin">
<div class="small-12 medium-4 column">
<select>
<option><%= t("officing.shared.filter_date") %></option>
</select>
</div>
<div class="small-12 medium-4 column end">
<select>
<option><%= t("officing.shared.filter_officer") %></option>
</select>
</div>
</div>
<table>
<thead>
<tr>
<th><%= t("officing.shared.date") %></th>
<th><%= t("officing.shared.officer") %></th>
<th class="text-center"><%= t("officing.shared.votes_number") %></th>
</tr>
</thead>
<tbody>
<tr>
<td>14/10/2016</td>
<td>Officer Name (officer@email.com)</td>
<td class="text-center">124</td>
</tr>
<tr>
<td>17/10/2016</td>
<td>Other Officer (otherofficer@email.com)</td>
<td class="text-center">350</td>
</tr>
<tr>
<td>18/10/2016</td>
<td>Officer number 3 (officer3@email.com)</td>
<td class="text-center">100</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2"><%= t("officing.results.index.total_votes") %></td>
<td class="text-center">574</td>
</tr>
</tfoot>
</table>

View File

@@ -25,20 +25,3 @@ en:
can_participate: "The person associated with the document can participate in the vote."
submit: Validate vote
success: "Vote validated correctly."
results:
index:
title: "Vote results"
total_votes: "Total number of votes"
new:
title: Save results
submit: Save
show:
title: "%{booth} results"
shared:
filter_booth: All booths
filter_date: All dates
filter_officer: All officers
booth: Booth
date: Date
officer: Officer
votes_number: Number of votes

View File

@@ -25,20 +25,3 @@ es:
can_participate: "La persona asociada al documento puede participar en la votación."
submit: Validar voto
success: "Voto validado correctamente."
results:
index:
title: "Resultados de la votación"
total_votes: "Número total de votos"
new:
title: Guardar resultados
submit: Guardar
show:
title: "Resultados de %{booth}"
shared:
filter_booth: Todas las urnas
filter_date: Todas las fechas
filter_officer: Todos los presidentes de mesa
booth: Urna
date: Fecha
officer: Presidente de mesa
votes_number: Número de votos