summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/mainlayout.html.ep2
-rw-r--r--templates/webmail/readmail.html.ep8
2 files changed, 7 insertions, 3 deletions
diff --git a/templates/layouts/mainlayout.html.ep b/templates/layouts/mainlayout.html.ep
index e084578..782bcdd 100644
--- a/templates/layouts/mainlayout.html.ep
+++ b/templates/layouts/mainlayout.html.ep
@@ -1,8 +1,8 @@
<!DOCTYPE html>
-<meta charset=UTF-8>
<html lang="<%= $lang %>">
<head>
+ <meta charset=UTF-8>
<title> <%= stash('title') || 'JWebmail' %> </title>
<link href="/style.css" rel=stylesheet>
</head>
diff --git a/templates/webmail/readmail.html.ep b/templates/webmail/readmail.html.ep
index f537d96..79dbff7 100644
--- a/templates/webmail/readmail.html.ep
+++ b/templates/webmail/readmail.html.ep
@@ -32,8 +32,8 @@
<div class=show-body>
% my $x = mime_render($_->{type}, $_->{val});
%== $x;
-% last if $x;
</div>
+% last if $x;
% }
% }
% elsif (ref $body eq 'HASH') {
@@ -49,4 +49,8 @@
</div>
% }
-</div> \ No newline at end of file
+<nav id=read-nav>
+ <a href="javascript:history.back()" class=btn> <%= l 'home' %> </a>
+</nav>
+
+</div>