diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2020-11-04 22:54:37 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2020-11-04 22:54:37 +0100 |
commit | 69d77e8a05bec240f99a2045605876e6f6cd8aa3 (patch) | |
tree | e9b4b79c4a7af0ce75712c03df357763c5674803 /templates | |
parent | a65c91f28529d0bd444334e6dfed37b173c7e649 (diff) |
added back button in readmail; corrected generated html
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layouts/mainlayout.html.ep | 2 | ||||
-rw-r--r-- | templates/webmail/readmail.html.ep | 8 |
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> |