diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-10 13:54:57 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-10 13:54:57 +0100 |
commit | fcf5549584b69e62b6c2f0eb919f6799c7904211 (patch) | |
tree | e5f0e480af0f39f1c0f457ea0aca8d33f8fb4d0b /templates/headers/_display_bot_nav.html.ep | |
parent | df59f9dec32d7f8f08706fd3eb5b784deaa0abfc (diff) |
Proper recursive rendering of mails to html
1. Added raw mode to model
2. Added raw route
3. Moved readmail view parts to RenderMail plugin
4. Renamed displayheaders partial templates
Diffstat (limited to 'templates/headers/_display_bot_nav.html.ep')
-rw-r--r-- | templates/headers/_display_bot_nav.html.ep | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/templates/headers/_display_bot_nav.html.ep b/templates/headers/_display_bot_nav.html.ep deleted file mode 100644 index 9dc808a..0000000 --- a/templates/headers/_display_bot_nav.html.ep +++ /dev/null @@ -1,36 +0,0 @@ -<div class="pure-g jwm-nav"> - - <div class="pure-u-3-4 pure-u-md-1-4"> - %= include 'headers/_pagination1' - </div> - - <div class="pure-u-1-4 pure-u-md-1-4"> - <label for=allbox><%= l 'check all' %></label> - <input name=allbox type=checkbox onclick="check_all(this)"> - </div> - - <div class="pure-u-1 pure-u-md-1-2"> - % if (grep {$_ ne $folder} @$mail_folders) { - %= form_for move => (id => 'move-mail') => (class => 'pure-form') => begin - <fieldset> - %= label_for 'select-folder' => l('move to') - %= select_field folder => [map { $_ ? $_ : l 'Home' } grep {$_ ne $folder} @$mail_folders] => (id => 'select-folder') - %= csrf_field - %= submit_button l('move') => (class => 'pure-button') - </fieldset> - % end - % } - </div> - -</div> - -<script type="text/javascript"> -function check_all(box) { - const setTo = box.checked; - const mails = document.getElementById('mail-headers').tBodies[0].rows; - - for (const m of mails) { - m.lastElementChild.children[0].checked = setTo; - } -} -</script> |