diff --git a/stock/templates/bundles/moment-js.html b/stock/templates/bundles/moment-js.html new file mode 100644 index 00000000..5e1e6206 --- /dev/null +++ b/stock/templates/bundles/moment-js.html @@ -0,0 +1,4 @@ + +{% if locale and LANGUAGE_CODE != 'en' %} + +{% endif %} diff --git a/stock/templates/registered/timermanagement.html b/stock/templates/registered/timermanagement.html index bdc3332b..c76ad75c 100755 --- a/stock/templates/registered/timermanagement.html +++ b/stock/templates/registered/timermanagement.html @@ -138,7 +138,10 @@ {% endifequal %} {{ timer.eve_time | date:"Y-m-d H:i" }} -
+ +
+
+ {{ timer.eve_character.character_name }} {% if perms.auth.timer_management %} @@ -269,7 +272,10 @@ {% endifequal %} {{ timer.eve_time | date:"Y-m-d H:i" }} -
+ +
+
+ {{ timer.eve_character.character_name }} {% if perms.auth.timer_management %} @@ -401,7 +407,10 @@ {% endifequal %} {{ timer.eve_time | date:"Y-m-d H:i" }} -
+ +
+
+ {{ timer.eve_character.character_name }} {% if perms.auth.timer_management %} @@ -421,63 +430,104 @@ {% endif %} + {% include 'bundles/moment-js.html' with locale=True %} + - - - + function updateClock() { + document.getElementById("current-time").innerHTML = "" + moment().format('LLLL') + ""; + } + {% endblock content %}