summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
commitee43823179ee627ac16ea9da8168e5f1bf9619c0 (patch)
tree5e6c36d5629d2ce79f3cb1310998dc715a6f19c7 /templates/layouts
Initial commit; Stable version
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/mainlayout.html.ep21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/layouts/mainlayout.html.ep b/templates/layouts/mainlayout.html.ep
new file mode 100644
index 0000000..e084578
--- /dev/null
+++ b/templates/layouts/mainlayout.html.ep
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<meta charset=UTF-8>
+
+<html lang="<%= $lang %>">
+ <head>
+ <title> <%= stash('title') || 'JWebmail' %> </title>
+ <link href="/style.css" rel=stylesheet>
+ </head>
+
+ <body>
+ %= content
+
+ <footer>
+ <a href="<%= url_for('about') %>">
+ <%= ucfirst l 'about' %> JWebmail
+ </a>
+ <br/>
+ <%= ucfirst l 'version' %> <%= $version %>
+ </footer>
+ </body>
+</html>