summaryrefslogtreecommitdiff
path: root/templates/webmail/displayheaders.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/webmail/displayheaders.html.ep
parentebe37a68d39dbc1cc4f6af1c05301d5a5fc29c13 (diff)
reworked templates based on purecss
Diffstat (limited to 'templates/webmail/displayheaders.html.ep')
-rw-r--r--templates/webmail/displayheaders.html.ep44
1 files changed, 12 insertions, 32 deletions
diff --git a/templates/webmail/displayheaders.html.ep b/templates/webmail/displayheaders.html.ep
index d823d9e..42e52fd 100644
--- a/templates/webmail/displayheaders.html.ep
+++ b/templates/webmail/displayheaders.html.ep
@@ -1,46 +1,26 @@
% layout 'mainlayout';
-<table id=displayheaders>
+<div id=displayheaders>
- <thead>
- <tr>
- <td id=folders>
- %= include 'headers/_displayfolders';
- </td>
- </tr>
+ %= include 'headers/_display_folders';
% if (my $loginmessage = stash 'loginmessage') {
- <tr>
- <td id=loginmessage> <%= $loginmessage %> </td>
- </tr>
+ <p id=loginmessage>
+ %= $loginmessage
+ </p>
% }
- <tr>
- <td id=navigation>
- %= include 'headers/_display_top_nav';
- </td>
- </tr>
- </thead>
+ %= include 'headers/_display_top_nav';
- <tbody>
- <tr>
- <td>
% if (@$msgs) {
- %= include 'headers/_display_headers';
+ %= include 'headers/_display_headers';
% }
% else {
- <p id=empty> <%= l 'empty_folder' %> </p>
+ <p id=empty-folder>
+ %= l 'empty_folder'
+ </p>
% }
- </td>
- </tr>
- </tbody>
- <tfoot>
- <tr>
- <td class=navigation>
- %= include 'headers/_display_bot_nav';
- </td>
- </tr>
- </tfoot>
+ %= include 'headers/_display_bot_nav';
-</table> \ No newline at end of file
+</div>