summaryrefslogtreecommitdiff
path: root/templates/public/keys.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-11-13 09:51:59 -0600
committerDan McGee <dan@archlinux.org>2012-11-13 10:21:02 -0600
commit500d19a914eb13c310a1d2c7d28a1befce468419 (patch)
treed3cab745271f9d853796e8067fdfae9cb49daed3 /templates/public/keys.html
parent59f5b6ed5524300cc0373ad934b251e220c66da9 (diff)
Move PGP key visualizations to master keys page
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/keys.html')
-rw-r--r--templates/public/keys.html23
1 files changed, 21 insertions, 2 deletions
diff --git a/templates/public/keys.html b/templates/public/keys.html
index f23d1c40..81713efb 100644
--- a/templates/public/keys.html
+++ b/templates/public/keys.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static from staticfiles %}
+{% load url from future %}
{% load pgp %}
{% block title %}Arch Linux - Master Signing Keys{% endblock %}
@@ -47,10 +48,16 @@
{% endfor %}
</tbody>
</table>
+
+ <ul>
+ <li><a href="#master-sigs">Master Key Signatures</a></li>
+ <li><a href="#visualization">Visualization of PGP Master and Developer Keys</a></li>
+ <li><a href="#cross-sigs">Developer Cross-Signatures</a></li>
+ </ul>
</div>
<div class="box">
- <h2>Master Key Signatures</h2>
+ <h2 id="master-sigs">Master Key Signatures</h2>
<p>The following table shows all active developers and trusted users along
with the status of their personal signing key. A 'Yes' indicates that the
@@ -95,7 +102,13 @@
</div>
<div class="box">
- <h2>Developer Cross-Signatures</h2>
+ <h2 id="visualization">Visualization of PGP Master and Developer Keys</h2>
+
+ <div id="visualize-keys" class="visualize-chart"></div>
+</div>
+
+<div class="box">
+ <h2 id="cross-sigs">Developer Cross-Signatures</h2>
<p>This table lists signatures directly between developer keys.</p>
@@ -120,8 +133,11 @@
</tbody>
</table>
</div>
+
{% load cdn %}{% jquery %}{% jquery_tablesorter %}
+<script type="text/javascript" src="{% static "d3.v2.min.js" %}"></script>
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
+<script type="text/javascript" src="{% static "visualize.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#key-status").tablesorter({
@@ -132,5 +148,8 @@ $(document).ready(function() {
sortLocaleCompare: true
});
});
+$(document).ready(function() {
+ developer_keys("#visualize-keys", "{% url 'visualize-pgp_keys' %}");
+});
</script>
{% endblock %}