Archive page
This commit is contained in:
12
lib/runosaari_web/templates/archive/index.html.eex
Normal file
12
lib/runosaari_web/templates/archive/index.html.eex
Normal file
@@ -0,0 +1,12 @@
|
||||
<section class="main">
|
||||
<h1 id="archive-start">Arkisto</h1>
|
||||
|
||||
<div class="performers2021-container">
|
||||
<%= for performer <- @performers2021 do %>
|
||||
<div class="performer-name">
|
||||
<span class="fa fa-chevron-right" ></span>
|
||||
<%= link "#{performer.name}", to: "#{Routes.performer_path(@conn, :show, performer)}#performer-start" %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</section>
|
||||
@@ -21,7 +21,7 @@
|
||||
<%= link "Esiintyjät", to: Routes.performer_path(@conn, :index) %>
|
||||
<%= link "Info", to: Routes.info_path(@conn, :index) %>
|
||||
<%= link "Turvallisuus", to: Routes.page_path(@conn, :safety) %>
|
||||
<%= link "Ilmoittautuminen", to: Routes.visitor_path(@conn, :new) %>
|
||||
<%= link "Arkisto", to: Routes.archive_path(@conn, :index) %>
|
||||
</nav>
|
||||
<h1 class="mobile-main-title">
|
||||
<a href="/#logo-container">Runosaari 2021</a>
|
||||
@@ -32,7 +32,7 @@
|
||||
<%= link "Esiintyjät", to: "#{Routes.performer_path(@conn, :index)}#performers-start" %>
|
||||
<%= link "Info", to: "#{Routes.info_path(@conn, :index )}#contact-start" %>
|
||||
<%= link "Turvallisuus", to: "#{Routes.page_path(@conn, :safety)}#safety-start" %>
|
||||
<%= link "Ilmoittautuminen", to: "#{Routes.visitor_path(@conn, :new)}#registration-start" %>
|
||||
<%= link "Arkisto", to: "#{Routes.archive_path(@conn, :index)}#archive-start" %>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<%= error_tag form, :paragraph9 %>
|
||||
|
||||
<%= label form, :seqnum, "Prioriteetti (1 on korkein)" %>
|
||||
<%= textarea form, :seqnum %>
|
||||
<%= number_input form, :seqnum %>
|
||||
<%= error_tag form, :seqnum %>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -43,6 +43,10 @@
|
||||
<%= error_tag form, :confirmed %>
|
||||
</div>
|
||||
|
||||
<%= label form, :seqnum, "Arkistoitu (vuosi). Jätä tyhjäksi jos tulee näkyä Esiintyjät-sivulla." %>
|
||||
<%= number_input form, :seqnum %>
|
||||
<%= error_tag form, :seqnum %>
|
||||
|
||||
<div class="submit-button">
|
||||
<%= submit "Tallenna" %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user