2011-01-08 09:47:11 -08:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Arch Linux - Developer World Clocks{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="dev-clocks-box" class="box">
|
|
|
|
<h2>Developer World Clocks</h2>
|
|
|
|
|
2011-01-12 11:50:59 -08:00
|
|
|
<p>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.</p>
|
|
|
|
<p>
|
|
|
|
Arch Server Time: {{ now|date:"Y-m-d H:i T" }}<br/>
|
|
|
|
UTC Time: {{ utc_now|date:"Y-m-d H:i T" }}
|
|
|
|
</p>
|
2011-01-08 09:47:11 -08:00
|
|
|
|
2011-03-22 19:37:28 -07:00
|
|
|
<table id="clocks-table" class="results">
|
2011-01-08 09:47:11 -08:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Developer</th>
|
|
|
|
<th>Username</th>
|
2011-03-22 19:22:31 -07:00
|
|
|
<th>Alias</th>
|
2011-01-08 09:47:11 -08:00
|
|
|
<th>Location</th>
|
|
|
|
<th>Time Zone</th>
|
|
|
|
<th>Current Time</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for dev in developers %}
|
|
|
|
<tr class="{% cycle 'odd' 'even' %}">
|
2011-01-12 11:50:59 -08:00
|
|
|
<td><a href="mailto:{{ dev.email }}">{{ dev.get_full_name }}</a></td>
|
2011-01-08 09:47:11 -08:00
|
|
|
<td>{{ dev.username }}</td>
|
2011-03-22 19:22:31 -07:00
|
|
|
<td>{{ dev.userprofile.alias }}</td>
|
2011-01-08 09:47:11 -08:00
|
|
|
<td>{{ dev.userprofile.location }}</td>
|
|
|
|
<td>{{ dev.userprofile.time_zone }}</td>
|
2011-01-08 10:31:22 -08:00
|
|
|
<td>{{ dev.current_time|date:"Y-m-d H:i T" }}</td>
|
2011-01-08 09:47:11 -08:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% load cdn %}{% jquery %}
|
|
|
|
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/media/archweb.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$("#clocks-table:has(tbody tr)").tablesorter(
|
2011-11-21 08:08:23 -08:00
|
|
|
{widgets: ['zebra'], sortList: [[0,0]]});
|
2011-01-08 09:47:11 -08:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|