move footer to layout

This commit is contained in:
Birte Kristina Friesel 2023-07-07 22:26:31 +02:00
parent 32341dc5d2
commit 0b5bc869b5
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA
10 changed files with 11 additions and 27 deletions

View file

@ -1,11 +0,0 @@
<div class="row" style="margin-top: 5em;">
<div class="col s12 center-align grey-text">
<a href="/about">travelynx</a> v<%= $version // '???' %>
<span style="margin-left: 0.5em; margin-right: 0.5em;"></span>
<a href="/impressum">Impressum</a>
<span style="margin-left: 0.5em; margin-right: 0.5em;"></span>
<a href="/impressum">Datenschutz</a>
<span style="margin-left: 0.5em; margin-right: 0.5em;"></span>
<a href="/legend">Legende</a>
</div>
</div>

View file

@ -522,5 +522,3 @@
</ul> </ul>
</div> </div>
</div> </div>
%= include '_footer', version => stash('version')

View file

@ -92,5 +92,3 @@
% } % }
</div> </div>
</div> </div>
%= include '_footer', version => stash('version')

View file

@ -122,5 +122,3 @@
</div> </div>
</div> </div>
% } % }
%= include '_footer', version => stash('version')

View file

@ -132,6 +132,17 @@
%= include '_deletion_note', timestamp => $acc->{deletion_requested} %= include '_deletion_note', timestamp => $acc->{deletion_requested}
% } % }
%= content %= content
<div class="row" style="margin-top: 5em;">
<div class="col s12 center-align grey-text">
<a href="/about">travelynx</a> v<%= $version // '???' %>
<span style="margin-left: 0.5em; margin-right: 0.5em;"></span>
<a href="/impressum">Impressum</a>
<span style="margin-left: 0.5em; margin-right: 0.5em;"></span>
<a href="/impressum">Datenschutz</a>
<span style="margin-left: 0.5em; margin-right: 0.5em;"></span>
<a href="/legend">Legende</a>
</div>
</div>
</div> </div>
<script> <script>

View file

@ -97,5 +97,3 @@
</div> </div>
</div> </div>
%= end %= end
%= include '_footer', version => stash('version')

View file

@ -90,5 +90,3 @@
</div> </div>
%= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys; %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys;
% } % }
%= include '_footer', version => stash('version')

View file

@ -64,5 +64,3 @@
</p> </p>
</div> </div>
</div> </div>
%= include '_footer', version => stash('version')

View file

@ -3,5 +3,3 @@
%= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey %= include '_public_status_card', name => $name, privacy => $privacy, journey => $journey
</div> </div>
</div> </div>
%= include '_footer', version => stash('version')

View file

@ -167,5 +167,3 @@
</div> </div>
</div> </div>
</div> </div>
%= include '_footer', version => stash('version')