summaryrefslogtreecommitdiff
path: root/templates/packages/differences.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/differences.html')
-rw-r--r--templates/packages/differences.html31
1 files changed, 30 insertions, 1 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html
index 01e1f857..a94089ce 100644
--- a/templates/packages/differences.html
+++ b/templates/packages/differences.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load static from staticfiles %}
-{% block title %}Arch Linux - Package Differences Reports{% endblock %}
+{% block title %}Parabola - Package Differences Reports{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
@@ -9,6 +9,35 @@
<div class="box">
<h2>Package Differences by Architecture</h2>
<div id="differences-filter" class="filter-criteria">
+ <h3>Select architectures</h3>
+ <form id="arch_selector" method="get" action=".">
+ <fieldset>
+ <legend>Select arches</legend>
+ <div><label for="arch_a" title="Architecture A">Architecture A</label>
+ <select name="arch_a" id="arch_a">
+ {% for arch in arches %}
+ <option
+ {% if arch == arch_a %}
+ selected="selected"
+ {% endif %}
+ >{{ arch }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ <div><label for="arch_b" title="Architecture B">Architecture B</label>
+ <select name="arch_b" id="arch_b">
+ {% for arch in arches %}
+ <option
+ {% if arch == arch_b %}
+ selected="selected"
+ {% endif %}
+ >{{ arch }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ <div><label>&nbsp;</label><input type="submit" title="Show difference between selected architectures"></div>
+ </fieldset>
+ </form>
<h3>Filter Differences View</h3>
<form id="diff_filter" method="post" action=".">
<fieldset>