summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-09-02 21:41:33 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-09-02 21:41:33 +0200
commit21643b053d8d4097f7bb51463a1562738b82892d (patch)
tree11e14803406243805d27119f32dae596713e0068 /templates/layouts
Initial commit
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/default.html.ep29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
new file mode 100644
index 0000000..5e0091c
--- /dev/null
+++ b/templates/layouts/default.html.ep
@@ -0,0 +1,29 @@
+<!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">
+ %= 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'
+</head>
+<body>
+
+<nav class="blue">
+ <div class="nav-wrapper container">
+ <a href="/" class="brand-logo left">travelynx</a>
+ <ul id="nav-mobile" class="right">
+ <li class="<%= navbar_class('/') %>"><a href='/' title="Einchecken"><i class="material-icons">Check In</i></a></li>
+ </ul>
+ </div>
+</nav>
+
+<div class="container">
+ %= content
+</div>
+
+</body>
+</html>