From 7954617a0593632d749d7e8b60beab2aae1669ba Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 17 Aug 2011 01:26:23 +0200 Subject: New page ISO Overview ISO Overview shows a simple list of all the ISOs that are available and how many times they've been tested successfully or have failed. Signed-off-by: Tom Willemsen Signed-off-by: Dan McGee --- templates/releng/iso_overview.html | 48 ++++++++++++++++++++++++++++++++++++++ templates/releng/results.html | 3 +++ templates/releng/thanks.html | 4 +++- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 templates/releng/iso_overview.html (limited to 'templates/releng') diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html new file mode 100644 index 00000000..ee3aaed3 --- /dev/null +++ b/templates/releng/iso_overview.html @@ -0,0 +1,48 @@ +{% extends "base.html" %} + +{% block content %} +
+

Failures and Successes for Testing ISOs

+ +

Go back to testing results

+ + + + + + + + + + + + {% for iso in isos %} + + + + + + + {% endfor %} + +
ISOCurrently Available# Successes# Failures
+ + {{ iso.name }} + + + {{ iso.active|yesno }} + + {{ iso.successes }} + + {{ iso.failures }} +
+
+{% load cdn %}{% jquery %} + + + +{% endblock %} diff --git a/templates/releng/results.html b/templates/releng/results.html index c3e7d99a..4ff3c864 100644 --- a/templates/releng/results.html +++ b/templates/releng/results.html @@ -13,6 +13,9 @@ if you have tested and used any ISOs. Both successful and failed results are encouraged and welcome.

+

For a overview of which ISOs tested best, have a look at + the overview.

+

For more information, see the documentation on the wiki.

diff --git a/templates/releng/thanks.html b/templates/releng/thanks.html index b261426d..80018b03 100644 --- a/templates/releng/thanks.html +++ b/templates/releng/thanks.html @@ -8,6 +8,8 @@

Thank you for taking the time to give us this information! Your results have been succesfully added to our database.

You can now go back to the results, - or give more feedback.

+ give more feedback, or + have a look at the look at + the ISO test overview.

{% endblock %} -- cgit v1.2.3-2-g168b From a489f355ec52dd54946bc7476615aa7cab9e384c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 17 Aug 2011 07:57:41 -0500 Subject: Implement get_absolute_url for Iso model Signed-off-by: Dan McGee --- templates/releng/iso_overview.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/releng') diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html index ee3aaed3..054e0fa7 100644 --- a/templates/releng/iso_overview.html +++ b/templates/releng/iso_overview.html @@ -19,9 +19,7 @@ {% for iso in isos %} - - {{ iso.name }} - + {{ iso.name }} {{ iso.active|yesno }} -- cgit v1.2.3-2-g168b From 61311701a51cc5b060d5baa56536805aa271f9d6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 17 Aug 2011 08:11:23 -0500 Subject: Add architecture to releng results listing Signed-off-by: Dan McGee --- templates/releng/result_list.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/releng') diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index b3ae025b..a343257e 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -12,9 +12,10 @@ - + + @@ -24,6 +25,7 @@ + {% endfor %} -- cgit v1.2.3-2-g168b From a52c2744bf3b532f3f02ce45ae9d902706f9f518 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 17 Aug 2011 16:16:32 -0500 Subject: Add capfirst filter to yesno usage in templates Signed-off-by: Dan McGee --- templates/releng/iso_overview.html | 12 +++--------- templates/releng/result_list.html | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'templates/releng') diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html index 054e0fa7..8280f100 100644 --- a/templates/releng/iso_overview.html +++ b/templates/releng/iso_overview.html @@ -21,15 +21,9 @@ - - - + + + {% endfor %} diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index a343257e..7f9ed452 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -26,7 +26,7 @@ - + {% endfor %} -- cgit v1.2.3-2-g168b From 871cf5ad2d8a97c2c9f9f20e237999acbf5e5f2a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 17 Aug 2011 20:53:57 -0500 Subject: Use verbose name for releng options display So we see something like 'Hardware Type' instead of 'Hardware_Type'. Signed-off-by: Dan McGee --- templates/releng/result_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/releng') diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index 7f9ed452..0233bf8c 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -3,7 +3,7 @@ {% block content %}

Results for: - {% if option %}{{ option|title }}: {{ value }}{% endif %} + {% if option %}{{ option.verbose_name|title }}: {{ value }}{% endif %} {{ iso_name|default:"" }}

-- cgit v1.2.3-2-g168b From 5e5182ba9b727e112b3bd16f94f41a2fc5847804 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 19 Aug 2011 13:08:26 -0500 Subject: Add color to releng results success column Signed-off-by: Dan McGee --- templates/releng/result_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/releng') diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index 0233bf8c..845d330d 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -26,7 +26,7 @@
- + {% endfor %} -- cgit v1.2.3-2-g168b
IsoISO Submitted By Date SubmittedArchitecture Success
{{ test.iso.name }} {{ test.user_name }} {{ test.created|date }}{{ test.architecture }} {{ test.success|yesno }}
{{ iso.name }} - {{ iso.active|yesno }} - - {{ iso.successes }} - - {{ iso.failures }} - {{ iso.active|yesno|capfirst }}{{ iso.successes }}{{ iso.failures }}
{{ test.user_name }} {{ test.created|date }} {{ test.architecture }}{{ test.success|yesno }}{{ test.success|yesno|capfirst }}
{{ test.user_name }} {{ test.created|date }} {{ test.architecture }}{{ test.success|yesno|capfirst }}{{ test.success|yesno|capfirst }}