summaryrefslogtreecommitdiff
path: root/templates/layouts/mainlayout.html.ep
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-03 18:22:43 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-03 18:22:43 +0200
commita6e6f8be88a93699765f25aee0e6109a3eb0b307 (patch)
treec4ba131bdf3af616ff70072876d384924bf408ce /templates/layouts/mainlayout.html.ep
parentebe37a68d39dbc1cc4f6af1c05301d5a5fc29c13 (diff)
reworked templates based on purecss
Diffstat (limited to 'templates/layouts/mainlayout.html.ep')
-rw-r--r--templates/layouts/mainlayout.html.ep49
1 files changed, 29 insertions, 20 deletions
diff --git a/templates/layouts/mainlayout.html.ep b/templates/layouts/mainlayout.html.ep
index 9f36006..166f9ee 100644
--- a/templates/layouts/mainlayout.html.ep
+++ b/templates/layouts/mainlayout.html.ep
@@ -1,24 +1,33 @@
-<!DOCTYPE html>
+<!doctype html>
+
<html lang="<%= $lang %>">
- <head>
- <meta charset=UTF-8>
- <title>
- %= stash('title') || 'JWebmail'
- </title>
- %= stylesheet '/style.css'
- </head>
- <body>
- %= content
+<head>
+ <meta charset=utf-8>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <link rel="stylesheet" href="https://unpkg.com/purecss@2.1.0/build/pure-min.css"
+ integrity="sha384-yHIFVG6ClnONEA5yB5DJXfW2/KC173DIQrYoZMEtBvGzmf0PKiGyNEqe9N6BNDBH" crossorigin="anonymous">
+ <link rel="stylesheet" href="https://unpkg.com/purecss@2.1.0/build/grids-responsive-min.css" />
+ %= stylesheet '/style2.css'
+
+ <title>
+ %= title || 'JWebmail'
+ </title>
+</head>
+
+<body>
+ %= content
+
+ <footer>
+ %= link_to about => begin
+ %= ucfirst l 'about'
+ JWebmail
+ % end
+ <br>
+ %= ucfirst l 'version'
+ %= $version
+ </footer>
+</body>
- <footer>
- %= link_to about => begin
- %= ucfirst l 'about'
- JWebmail
- % end
- <br />
- %= ucfirst l 'version'
- %= $version
- </footer>
- </body>
</html>