summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:40:34 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:40:34 -0400
commitea00a099dffd7157c93af54b5817734348d2bbc6 (patch)
tree89fa4ba0c0ac19a4286ba4c4cb64f77536b1a098 /templates
parent1a1fd4a3d6aa7f6b2338f7751f5f97a30a059a04 (diff)
parent0f0ce18109f8104d7b2abe9024ef26fa07ff0292 (diff)
Merge branch 'archweb' into archweb-generic
Conflicts: templates/public/download.html templates/public/index.html
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/index.html6
-rw-r--r--templates/mirrors/mirror_details.html8
-rw-r--r--templates/mirrors/status.html4
-rw-r--r--templates/mirrors/status_table.html6
-rw-r--r--templates/mirrors/url_details.html6
-rw-r--r--templates/public/download.html2
-rw-r--r--templates/public/feeds.html2
-rw-r--r--templates/public/index.html12
8 files changed, 28 insertions, 18 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html
index fddd55e5..89ee1df1 100644
--- a/templates/admin/index.html
+++ b/templates/admin/index.html
@@ -5,7 +5,7 @@
{% block coltype %}colMS{% endblock %}
-{% block bodyclass %}dashboard{% endblock %}
+{% block bodyclass %}{{ block.super }} dashboard{% endblock %}
{% block breadcrumbs %}{% endblock %}
@@ -34,9 +34,7 @@
<div class="app-{{ app.app_label }} module">
<table>
<caption>
- <a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">
- {% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}
- </a>
+ <a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}">{{ app.name }}</a>
</caption>
{% for model in app.models %}
<tr class="model-{{ model.object_name|lower }}">
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index 2ae89880..bd302d61 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -47,6 +47,10 @@
<td>{{ mirror.created }}</td>
</tr>
<tr>
+ <th>Last Modified:</th>
+ <td>{{ mirror.last_modified }}</td>
+ </tr>
+ <tr>
<th>Rsync IPs:</th>
<td class="wrap">{{mirror.rsync_ips.all|join:', '}}</td>
</tr>
@@ -102,8 +106,8 @@
<th>Last Sync</th>
<th>Completion %</th>
<th>μ Delay (hh:mm)</th>
- <th>μ Duration (secs)</th>
- <th>σ Duration (secs)</th>
+ <th>μ Duration (s)</th>
+ <th>σ Duration (s)</th>
<th>Score</th>
<th>Details</th>
</tr>
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html
index 4d75cd8e..250d9bad 100644
--- a/templates/mirrors/status.html
+++ b/templates/mirrors/status.html
@@ -80,7 +80,9 @@
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
- var headers = { 4: { sorter: 'duration' }, 5: { sorter: 'mostlydigit' }, 6: { sorter: 'mostlydigit' }, 7: { sorter: 'mostlydigit' } };
+ var headers = { 4: { sorter: 'duration' }, 5: { sorter: 'mostlydigit' },
+ 6: { sorter: 'mostlydigit' }, 7: { sorter: 'mostlydigit' },
+ 8: { sorter: false } };
$("#outofsync_mirrors:has(tbody tr)").tablesorter(
{widgets: ['zebra'], sortList: [[4,0]], headers: headers });
$("#successful_mirrors:has(tbody tr)").tablesorter(
diff --git a/templates/mirrors/status_table.html b/templates/mirrors/status_table.html
index 00b9c1df..83538303 100644
--- a/templates/mirrors/status_table.html
+++ b/templates/mirrors/status_table.html
@@ -8,9 +8,10 @@
<th>Country</th>
<th>Completion %</th>
<th>μ Delay (hh:mm)</th>
- <th>μ Duration (secs)</th>
- <th>σ Duration (secs)</th>
+ <th>μ Duration (s)</th>
+ <th>σ Duration (s)</th>
<th>Mirror Score</th>
+ <th></th>
</tr>
</thead>
<tbody>
@@ -23,6 +24,7 @@
<td>{{ m_url.duration_avg|floatvalue:2 }}</td>
<td>{{ m_url.duration_stddev|floatvalue:2 }}</td>
<td>{{ m_url.score|floatvalue:1|default:'∞' }}</td>
+ <td><a href="{{ m_url.get_absolute_url }}">details</a></td>
</tr>{% endfor %}
</tbody>
</table>
diff --git a/templates/mirrors/url_details.html b/templates/mirrors/url_details.html
index 54960a0d..557a1b79 100644
--- a/templates/mirrors/url_details.html
+++ b/templates/mirrors/url_details.html
@@ -18,6 +18,10 @@
<td>{% if url.protocol.is_download %}<a href="{{ url.url }}">{{ url.url }}</a>{% else %}{{ url.url }}{% endif %}</td>
</tr>
<tr>
+ <th>Mirror:</th>
+ <td><a href="../">{{ url.mirror.name }}</a></td>
+ </tr>
+ <tr>
<th>Protocol:</th>
<td>{{ url.protocol }}</td>
</tr>
@@ -63,7 +67,7 @@
<th>Check IP</th>
<th>Last Sync</th>
<th>Delay (hh:mm)</th>
- <th>Duration (secs)</th>
+ <th>Duration (s)</th>
<th>Success?</th>
<th>Error Message</th>
</tr>
diff --git a/templates/public/download.html b/templates/public/download.html
index 9f67733e..80d636a2 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -29,7 +29,7 @@
{% if release.version %}<li><strong>Current Release:</strong> {{ release.version }}</li>{% endif %}
{% if release.kernel_version %}<li><strong>Included Kernel:</strong> {{ release.kernel_version }}</li>{% endif %}
{% if release.torrent_data %}<li><strong>ISO Size:</strong> {{ release.torrent.file_length|filesizeformat }}</li>{% endif %}
- <li><a href="{% wiki_url 'Installation_Guide' %}">Installation Guide</a></li>
+ <li><a href="{% wiki_url 'Installation_guide' %}">Installation Guide</a></li>
<li><strong>Resources:</strong>
<ul>
<li><a href="https://bugs.archlinux.org/index.php?project=6"
diff --git a/templates/public/feeds.html b/templates/public/feeds.html
index bb8e685a..9936944e 100644
--- a/templates/public/feeds.html
+++ b/templates/public/feeds.html
@@ -62,7 +62,7 @@
</tbody>
</table>
- <p>A <a href="https://aur.archlinux.org/rss.php" class="rss" title="AUR newest packages feed">newest packages feed</a>
+ <p>A <a href="https://aur.archlinux.org/rss/" class="rss" title="AUR newest packages feed">newest packages feed</a>
is also available from the <a href="https://aur.archlinux.org/" title="AUR Homepage">Arch User Repository (AUR)</a>.</p>
<h3>Release Feed</h3>
diff --git a/templates/public/index.html b/templates/public/index.html
index d3cf797a..a6bd1fb1 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -113,9 +113,9 @@
<ul>
<li><a href="{% wiki_url %}"
title="Community documentation">Wiki</a></li>
- <li><a href="{% wiki_url 'Installation Guide' %}"
+ <li><a href="{% wiki_url 'Installation_guide' %}"
title="Installation guide">Installation Guide</a></li>
- <li><a href="{% wiki_url "Beginners'_Guide" %}"
+ <li><a href="{% wiki_url "Beginners'_guide" %}"
title="A good place to start for beginners">Beginners' Guide</a></li>
</ul>
@@ -124,11 +124,11 @@
<ul>
<li><a href="{{ MAILMAN_BASE_URL }}/mailman/listinfo/"
title="Community and developer mailing lists">Mailing Lists</a></li>
- <li><a href="{% wiki_url 'IRC_Channels' %}"
+ <li><a href="{% wiki_url 'IRC_channels' %}"
title="Official and regional IRC communities">IRC Channels</a></li>
<li><a href="https://planet.archlinux.org/"
title="Arch in the blogosphere">Planet Arch</a></li>
- <li><a href="{% wiki_url 'International_Communities' %}"
+ <li><a href="{% wiki_url 'International_communities' %}"
title="{{DISTRO_SHORTNAME}} communities in your native language">International Communities</a></li>
</ul>
@@ -182,12 +182,12 @@
<ul>
<li><a href="{% url 'page-keys' %}"
title="Package/Database signing master keys">Signing Master Keys</a></li>
- <li><a href="{% wiki_url 'Arch_Linux_Press_Review' %}"
+ <li><a href="{% wiki_url 'Arch_Linux_press_coverage %}"
title="{{ BRANDING_DISTRONAME }} in the media">Press Coverage</a></li>
<li><a href="{% url 'page-art' %}" title="{{ BRANDING_SHORTNAME }} logos and other artwork for promotional use">Logos &amp; Artwork</a></li>
<li><a href="{% url 'news-list' %}" title="News Archives">News Archives</a></li>
<li><a href="/feeds/" title="Various RSS Feeds">RSS Feeds</a></li>
- <li><a href="{% url 'page-devs' %}" title="Active Developers">Developer Profiles</a></li>
+ <li><a href="{% url 'page-devs' %}" title="Active developers">Developer Profiles</a></li>
<li><a href="{% url 'page-tus' %}" title="Active Trusted Users (TUs)">Trusted User Profiles</a></li>
<li><a href="{% url 'page-fellows' %}" title="Retired Developers">Fellows Profiles</a></li>
</ul>