travelynx/templates/layouts/default.html.ep

37 lines
1.2 KiB
Text
Raw Normal View History

2018-09-02 19:41:33 +00:00
<!DOCTYPE html>
<html lang="de">
<head>
<title><%= stash('title') // 'travelynx' %></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2018-10-07 09:46:08 +00:00
<meta name="theme-color" content="#673ab7">
2018-09-02 19:41:33 +00:00
%= stylesheet '/static/css/materialize.min.css'
%= stylesheet '/static/css/material-icons.css'
%= stylesheet '/static/css/local.css'
%= javascript '/static/js/jquery-2.2.4.min.js'
%= javascript '/static/js/materialize.min.js'
2018-10-21 14:27:32 +00:00
%= javascript '/static/js/travelynx-actions.min.js'
2018-10-07 09:35:47 +00:00
% if (stash('with_geolocation')) {
2018-10-21 14:27:32 +00:00
%= javascript '/static/js/geolocation.min.js'
2018-10-07 09:35:47 +00:00
% }
2018-09-02 19:41:33 +00:00
</head>
<body>
2018-10-07 09:46:08 +00:00
<nav class="deep-purple">
2018-09-02 19:41:33 +00:00
<div class="nav-wrapper container">
<a href="/" class="brand-logo left">travelynx</a>
<ul id="nav-mobile" class="right">
2018-10-13 12:40:19 +00:00
<li class="<%= navbar_class('/a/history') %>"><a href='/a/history' title="History"><i class="material-icons">history</i></a></li>
<li class="<%= navbar_class('/a/account') %>"><a href="/a/account" title="Account"><i class="material-icons">account_circle</i></a></li>
2018-10-07 09:57:49 +00:00
<li class="<%= navbar_class('/x/about') %>"><a href='/x/about' title="About"><i class="material-icons">info_outline</i></a></li>
2018-09-02 19:41:33 +00:00
</ul>
</div>
</nav>
<div class="container">
%= content
</div>
</body>
</html>