Sha256: 99235356ecd68e573f6b179ef93180884e12009d25866fd81b48bdb3545c2ca8

Contents?: true

Size: 1.54 KB

Versions: 31

Compression:

Stored size: 1.54 KB

Contents

<div class="election-key-generation">
  <h2><%= t(".title", election: translated_attribute(election.title)) %></h2>
  <p><%= t(".description") %></p>
  <div class="callout alert">
    <p><%= t(".process_warning") %></p>
  </div>

  <div class="table-scroll">
    <table class="table-list">
      <thead>
        <tr>
          <th><%= t(".list.task") %></th>
          <th><%= t(".list.status") %></th>
        </tr>
      </thead>
      <tbody>
        <% %w(create_election key_ceremony.step_1 key_ceremony.joint_election_key).each do |step| %>
        <tr>
          <td><%= t(".keys.#{step}") %></td>
          <td id="<%= step.gsub(".", "-") %>" class="step_status" data-step-status="pending">
            <span class="pending"><%= t(".status.pending") %></span>
            <span class="processing"><%= t(".status.processing") %></span>
            <span class="completed"><%= t(".status.completed") %></span>
          </td>
        </tr>
        <% end %>
      </tbody>
    </table>
    <%= render("backup_modal") %>
    <%= render("restore_modal") %>
  </div>

  <button class="button start" disabled>
    <%= icon "power-standby", class: "icon", role: "img", aria_label: t(".start_icon") %>
    <span><%= t(".start") %></span>
  </button>

  <%= link_to trustee_path, class: "back button hide" do %>
    <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
    <%= t(".back") %>
  <% end %>

  <div class="election-status">
    <%= link_to "", trustee_election_elections_path(election), method: :put, class: "hide" %>
  </div>
</div>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-elections-0.27.9 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.8 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.7 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.6 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.10 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.9 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.5 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.8 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.4 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.3 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.7 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.5 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.2 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.1 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.4 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.0 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.3 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.0.rc2 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.27.0.rc1 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb
decidim-elections-0.26.2 app/views/decidim/elections/trustee_zone/elections/_key_ceremony_steps.html.erb