From c04d4abc88cdf0891bff2b1ce6d1d746c5b9b3c9 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 8 Jan 2011 11:47:11 -0600 Subject: Add developer world clocks page This should make it easier for everyone to figure out whether someone is awake, sleeping, and all that fun stuff. It does require everyone to update their profile and fill in the field, but that shouldn't be too hard of a task. Don't suggest jokes to me Saturday morning on IRC unless you really want to see them implemented. Thanks, Pierre! Signed-off-by: Dan McGee --- templates/devel/clock.html | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 templates/devel/clock.html (limited to 'templates') diff --git a/templates/devel/clock.html b/templates/devel/clock.html new file mode 100644 index 0000000..ec567c2 --- /dev/null +++ b/templates/devel/clock.html @@ -0,0 +1,49 @@ +{% extends "base.html" %} + +{% block title %}Arch Linux - Developer World Clocks{% endblock %} + +{% block content %} +
+

Developer World Clocks

+ +

This page helps prevent you from waking a sleeping developer. It also + depends on developers keeping the time zone information up to date, so if + you see 'UTC' listed, pester them to update their settings.

+

+ Arch Server Time: {{ now|date:"Y-m-d H:i" }}
+ UTC Time: {{ utc_now|date:"Y-m-d H:i" }} +

+ + + + + + + + + + + + + {% for dev in developers %} + + + + + + + + {% endfor %} + +
DeveloperUsernameLocationTime ZoneCurrent Time
{{ dev.get_full_name }}{{ dev.username }}{{ dev.userprofile.location }}{{ dev.userprofile.time_zone }}{{ dev.current_time|date:"Y-m-d H:i" }}
+
+{% load cdn %}{% jquery %} + + + +{% endblock %} -- cgit v1.2.3-24-g4f1b