diff --git a/lib/runosaari_web/templates/performance/admin.html.eex b/lib/runosaari_web/templates/performance/admin.html.eex index cf7f422..e325457 100644 --- a/lib/runosaari_web/templates/performance/admin.html.eex +++ b/lib/runosaari_web/templates/performance/admin.html.eex @@ -1,28 +1,30 @@ -

HALLINTA

+
+

HALLINTA - Näytökset

- - - - - +
NimiSeloste
+ + + + - - - - - <%= for performance <- @performances do %> - - - + + + + + <%= for performance <- @performances do %> + + + - - - <% end %> - -
NimiSeloste
<%= performance.name %><%= performance.desc %>
<%= performance.name %><%= performance.desc %> - <%= link "Lisätietoja", to: Routes.admin_performance_path(@conn, :show, performance) %> - <%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, performance) %> - <%= link "Poista", to: Routes.admin_performance_path(@conn, :delete, performance), method: :delete, data: [confirm: "Haluatko poistaa näytöksen #{performance.name}?"] %> -
+ + <%= link "Lisätietoja", to: Routes.admin_performance_path(@conn, :show, performance) %> + <%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, performance) %> + <%= link "Poista", to: Routes.admin_performance_path(@conn, :delete, performance), method: :delete, data: [confirm: "Haluatko poistaa näytöksen #{performance.name}?"] %> + + + <% end %> + + -<%= link "Uusi näytös", to: Routes.admin_performance_path(@conn, :new) %> + <%= link "Uusi näytös", to: Routes.admin_performance_path(@conn, :new) %> +
diff --git a/lib/runosaari_web/templates/performance/show.html.eex b/lib/runosaari_web/templates/performance/show.html.eex index d7cf8e5..edcfad8 100644 --- a/lib/runosaari_web/templates/performance/show.html.eex +++ b/lib/runosaari_web/templates/performance/show.html.eex @@ -1,18 +1,20 @@ -

Näytös

+
+

Näytöksen tiedot

- -<%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, @performance) %> -<%= link "Takaisin", to: Routes.performance_path(@conn, :index) %> + <%= link "Muokkaa", to: Routes.admin_performance_path(@conn, :edit, @performance) %> + <%= link "Takaisin", to: Routes.performance_path(@conn, :index) %> +
diff --git a/lib/runosaari_web/templates/performer/admin.html.eex b/lib/runosaari_web/templates/performer/admin.html.eex index d715ee2..f5db61d 100644 --- a/lib/runosaari_web/templates/performer/admin.html.eex +++ b/lib/runosaari_web/templates/performer/admin.html.eex @@ -1,36 +1,34 @@ -

HALLINTA

+
+

HALLINTA - Esiintyjät

- - - - - - - - - +
EtunimiSukunimiSähköpostiPuhelin numeroVahvistettuSeloste
+ + + + + + + + + + + <%= for performer <- @performers do %> + + + + + + - - - - -<%= for performer <- @performers do %> - - - - - - - + + + <% end %> + +
EtunimiSukunimiSähköpostiPuhelin numeroVahvistettu
<%= performer.fname %><%= performer.lname %><%= performer.email %><%= performer.tel %><%= performer.confirmed %>
<%= performer.fname %><%= performer.lname %><%= performer.email %><%= performer.tel %><%= performer.confirmed %><%= performer.desc %> + <%= link "Lisätietoja", to: Routes.admin_performer_path(@conn, :show, performer) %> + <%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, performer) %> + <%= link "Poista", to: Routes.admin_performer_path(@conn, :delete, performer), method: :delete, data: [confirm: "Haluatko poistaa esiintyjän #{performer.fname} #{performer.lname}?"] %> +
- - <%= link "Lisätietoja", to: Routes.admin_performer_path(@conn, :show, performer) %> - <%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, performer) %> - <%= link "Poista", to: Routes.admin_performer_path(@conn, :delete, performer), method: :delete, data: [confirm: "Haluatko poistaa esiintyjän #{performer.fname} #{performer.lname}?"] %> - - -<% end %> - - - -<%= link "Uusi esiintyjä", to: Routes.admin_performer_path(@conn, :new) %> + <%= link "Uusi esiintyjä", to: Routes.admin_performer_path(@conn, :new) %> +
diff --git a/lib/runosaari_web/templates/performer/show.html.eex b/lib/runosaari_web/templates/performer/show.html.eex index 5cd6b71..edf3ae5 100644 --- a/lib/runosaari_web/templates/performer/show.html.eex +++ b/lib/runosaari_web/templates/performer/show.html.eex @@ -1,63 +1,65 @@ -

Esiintyjän tiedot

+
+

Esiintyjän tiedot

- -<%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, @performer) %> -<%= link "Takaisin", to: Routes.performer_path(@conn, :index) %> + <%= link "Muokkaa", to: Routes.admin_performer_path(@conn, :edit, @performer) %> + <%= link "Takaisin", to: Routes.performer_path(@conn, :index) %> +
diff --git a/lib/runosaari_web/templates/visitor/edit.html.eex b/lib/runosaari_web/templates/visitor/edit.html.eex index 3d7ebb8..e2f229e 100644 --- a/lib/runosaari_web/templates/visitor/edit.html.eex +++ b/lib/runosaari_web/templates/visitor/edit.html.eex @@ -1,5 +1,5 @@ -

Edit Visitor

+

Muokkaa osallistujan tietoja

<%= render "form.html", Map.put(assigns, :action, Routes.admin_visitor_path(@conn, :update, @visitor)) %> -<%= link "Back", to: Routes.admin_visitor_path(@conn, :index) %> +<%= link "Takaisin", to: Routes.admin_visitor_path(@conn, :index) %> diff --git a/lib/runosaari_web/templates/visitor/index.html.eex b/lib/runosaari_web/templates/visitor/index.html.eex index 4e4bb57..6286715 100644 --- a/lib/runosaari_web/templates/visitor/index.html.eex +++ b/lib/runosaari_web/templates/visitor/index.html.eex @@ -1,42 +1,42 @@ -

Listing Visitors

+
+

Osallistujat

- - - - - - - - - - - - +
FnameLnameEmailTelDate1Date2Date3BusAccom
+ + + + + + + + + + + - - - - -<%= for visitor <- @visitors do %> - - - - - - - - - - + + + + + <%= for visitor <- @visitors do %> + + + + + + + + + + - - -<% end %> - -
EtunimiSukunimiSähköpostiPuhelinnumeroTorstaiPerjantaiLauantaiBussiMajoitus
<%= visitor.fname %><%= visitor.lname %><%= visitor.email %><%= visitor.tel %><%= visitor.date1 %><%= visitor.date2 %><%= visitor.date3 %><%= visitor.bus %><%= visitor.accom %>
<%= visitor.fname %><%= visitor.lname %><%= visitor.email %><%= visitor.tel %><%= visitor.date1 %><%= visitor.date2 %><%= visitor.date3 %><%= visitor.bus %><%= visitor.accom %> - <%= link "Show", to: Routes.admin_visitor_path(@conn, :show, visitor) %> - <%= link "Edit", to: Routes.admin_visitor_path(@conn, :edit, visitor) %> - <%= link "Delete", to: Routes.admin_visitor_path(@conn, :delete, visitor), method: :delete, data: [confirm: "Are you sure?"] %> -
- -<%= link "New Visitor", to: Routes.visitor_path(@conn, :new) %> + + <%= link "Lisätietoja", to: Routes.admin_visitor_path(@conn, :show, visitor) %> + <%= link "Muokkaa", to: Routes.admin_visitor_path(@conn, :edit, visitor) %> + <%= link "Poista", to: Routes.admin_visitor_path(@conn, :delete, visitor), method: :delete, data: [confirm: "Oletko varma?"] %> + + + <% end %> + + +
diff --git a/lib/runosaari_web/templates/visitor/new.html.eex b/lib/runosaari_web/templates/visitor/new.html.eex index 9179466..3667961 100644 --- a/lib/runosaari_web/templates/visitor/new.html.eex +++ b/lib/runosaari_web/templates/visitor/new.html.eex @@ -1,5 +1,5 @@
-

Ilmoittaudu vierailijaksi

+

Ilmoittaudu

<%= render "form.html", Map.put(assigns, :action, Routes.visitor_path(@conn, :create)) %>
diff --git a/lib/runosaari_web/templates/visitor/show.html.eex b/lib/runosaari_web/templates/visitor/show.html.eex index f09055f..abf2256 100644 --- a/lib/runosaari_web/templates/visitor/show.html.eex +++ b/lib/runosaari_web/templates/visitor/show.html.eex @@ -1,53 +1,55 @@ -

Show Visitor

+
+

Osallistujan tiedot

- -<%= link "Edit", to: Routes.admin_visitor_path(@conn, :edit, @visitor) %> -<%= link "Back", to: Routes.admin_visitor_path(@conn, :index) %> + <%= link "Muokkaa", to: Routes.admin_visitor_path(@conn, :edit, @visitor) %> + <%= link "Takaisin", to: Routes.admin_visitor_path(@conn, :index) %> +