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 00000000..ec567c2d
--- /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" }}
+
+
+
+
+
+ Developer |
+ Username |
+ Location |
+ Time Zone |
+ Current Time |
+
+
+
+ {% for dev in developers %}
+
+ {{ dev.get_full_name }} |
+ {{ dev.username }} |
+ {{ dev.userprofile.location }} |
+ {{ dev.userprofile.time_zone }} |
+ {{ dev.current_time|date:"Y-m-d H:i" }} |
+
+ {% endfor %}
+
+
+
+{% load cdn %}{% jquery %}
+
+
+
+{% endblock %}
--
cgit v1.2.3-54-g00ecf
From 139181399e43fc25b99482cfb8acd80934e1ed52 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Sat, 8 Jan 2011 12:14:37 -0600
Subject: Link to dev clocks page
Signed-off-by: Dan McGee
---
templates/base.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates')
diff --git a/templates/base.html b/templates/base.html
index c7b26a9e..03795dd9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -39,7 +39,7 @@
News
Signoffs
Todos
- Arch Differences
+ Dev Clocks
Archives
Mirrors
--
cgit v1.2.3-54-g00ecf
From ef016929a9863810cb0e9078c13bd1142922a63d Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Sat, 8 Jan 2011 12:31:22 -0600
Subject: Add time zone format spec to clock page
Signed-off-by: Dan McGee
---
templates/devel/clock.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'templates')
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index ec567c2d..1bc9a849 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -10,8 +10,8 @@ Developer World Clocks
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" }}
+ Arch Server Time: {{ now|date:"Y-m-d H:i T" }}
+ UTC Time: {{ utc_now|date:"Y-m-d H:i T" }}
@@ -31,7 +31,7 @@ Developer World Clocks
{{ dev.username }} |
{{ dev.userprofile.location }} |
{{ dev.userprofile.time_zone }} |
- {{ dev.current_time|date:"Y-m-d H:i" }} |
+ {{ dev.current_time|date:"Y-m-d H:i T" }} |
{% endfor %}
--
cgit v1.2.3-54-g00ecf