Styles shared between pages.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* This file is for your main application css. */
|
||||
@import './layout.scss';
|
||||
@import './shared.scss';
|
||||
@import './pages/index.scss';
|
||||
@import './pages/form.scss';
|
||||
@import './pages/performance.scss';
|
||||
/* Alerts and form errors */
|
||||
.alert {
|
||||
padding: 15px;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<section class=text>
|
||||
<h1 id="covid-start">Covid-19-lauseke</h1>
|
||||
<p>
|
||||
Järjestämme tilaisuuden voimassa olevien säädösten ja ohjeiden mukaan.
|
||||
@@ -11,3 +12,4 @@
|
||||
ilmastoiduissa tiloissa ja lavaesityksiä voi seurata myös
|
||||
etälähetyksenä.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<section class=text>
|
||||
<h1 id="contact-start">Info</h1>
|
||||
<i>[Tietoja päivitetään]</i>
|
||||
<p>
|
||||
@@ -36,3 +37,4 @@
|
||||
<li>Bussi- ja kimppataksikuljetukset</li>
|
||||
<li>Kartta</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<h1 id="calendar-start">Ohjelma</h1>
|
||||
<section class=text>
|
||||
<h1 id="calendar-start">Ohjelma</h1>
|
||||
<%= for performance <- @performances do %>
|
||||
<h2><%= performance.name %></h2>
|
||||
<p><%= performance.desc %></p>
|
||||
<% end %>
|
||||
</section>
|
||||
<span><%= link "Hallinta", to: Routes.admin_performance_path(@conn, :admin) %></span>
|
||||
</section>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<section class=text>
|
||||
<h1 id="performers-start">Esiintyjät</h1>
|
||||
|
||||
<%= for performer <- @performers do %>
|
||||
<%= if performer.confirmed == true do %>
|
||||
<article>
|
||||
<h2><%= performer.fname %> <%= performer.lname %></h2>
|
||||
<p><%= performer.desc %></p>
|
||||
</article>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= link "Hallinta", to: Routes.admin_performer_path(@conn, :admin) %>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user