summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates')
-rw-r--r--src/jwebmail/templates/_main_table.html7
-rw-r--r--src/jwebmail/templates/displayheaders.html8
-rw-r--r--src/jwebmail/templates/readmail.html5
3 files changed, 17 insertions, 3 deletions
diff --git a/src/jwebmail/templates/_main_table.html b/src/jwebmail/templates/_main_table.html
index 35fdeec..700d77c 100644
--- a/src/jwebmail/templates/_main_table.html
+++ b/src/jwebmail/templates/_main_table.html
@@ -18,7 +18,9 @@
<div class="column is-2">
{% if msg.head.date %}
- {{ parse_iso_date(msg.head.date)|datetimeformat }}
+ <time datetime="{{msg.head.date}}" class=jwm-tolocaltime>
+ {{ parse_iso_date(msg.head.date)|datetimeformat }}
+ </time>
{% else %}
{{ gettext("unknown") }}
{% endif %}
@@ -37,7 +39,8 @@
</div>
<div class=media-right>
- <input type="checkbox" name="{{ msg.message_handle }}" form="move-mail remove-mail" class="jwm-mail-checkbox">
+ <input type="checkbox" name="{{ msg.message_handle }}" form="move-mail remove-mail"
+ class="jwm-mail-checkbox">
</div>
</tag>
diff --git a/src/jwebmail/templates/displayheaders.html b/src/jwebmail/templates/displayheaders.html
index 7125a12..36a1f68 100644
--- a/src/jwebmail/templates/displayheaders.html
+++ b/src/jwebmail/templates/displayheaders.html
@@ -1,7 +1,13 @@
{% extends 'mainlayout.html' %}
{% block scripts %}
- <script src="{{ url_for('static', filename='src/displayheaders.js') }}" defer>
+ <script src="{{ url_for('static', filename='src/dh-select-all-mails.js') }}" defer>
+ </script>
+ <script src="{{ url_for('static', filename='src/dh-toggle-navbar.js') }}" defer>
+ </script>
+ <script src="{{ url_for('static', filename='src/dh-submit-sort-on-change.js') }}" defer>
+ </script>
+ <script src="{{ url_for('static', filename='src/localtime.js') }}" defer>
</script>
{% endblock %}
diff --git a/src/jwebmail/templates/readmail.html b/src/jwebmail/templates/readmail.html
index f41197a..75b0b13 100644
--- a/src/jwebmail/templates/readmail.html
+++ b/src/jwebmail/templates/readmail.html
@@ -1,5 +1,10 @@
{% extends 'mainlayout.html' %}
+{% block scripts %}
+ <script src="{{ url_for('static', filename='src/multipart-alt-tabs.js') }}" defer>
+ </script>
+{% endblock %}
+
{% block content %}
<div class="section container">