From e8bbf9b35660c89718a35e173548d2abb4b654f8 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Tue, 22 Mar 2011 21:37:28 -0500
Subject: Simplify the dev dashboard
Remove all the click to expand junk; just show the tables all the time.
There is no form at the bottom of the page anymore, so if you don't want
to read the tables on the bottom, just don't read them.
Signed-off-by: Dan McGee
---
templates/devel/clock.html | 2 +-
templates/devel/index.html | 29 ++++++++++-------------------
2 files changed, 11 insertions(+), 20 deletions(-)
(limited to 'templates')
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index ab1d9b9f..0f0e20c5 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -14,7 +14,7 @@ Developer World Clocks
UTC Time: {{ utc_now|date:"Y-m-d H:i T" }}
-
+
Developer |
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 0505ff14..af2e5d28 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -8,7 +8,7 @@ Developer Dashboard
My Flagged Packages
-
+
Name |
@@ -38,7 +38,7 @@ My Flagged Packages
My Incomplete Todo List Packages
-
+
Todo List |
@@ -67,7 +67,7 @@ My Incomplete Todo List Packages
Package Todo Lists
-
+
Name |
@@ -91,11 +91,9 @@ Package Todo Lists
-
+
-
- Stats by Architecture (click to toggle)
+
Stats by Architecture
@@ -122,11 +120,9 @@ Package Todo Lists
-
+
-
- Stats by Repository (click to toggle)
+
Stats by Repository
@@ -153,11 +149,9 @@ Package Todo Lists
-
+
-
- Stats by Maintainer (click to toggle)
+
Stats by Maintainer
@@ -203,12 +197,9 @@ Package Todo Lists
{widgets: ['zebra'], sortList: [[0,0], [1,0]]});
$("#dash-todo:not(:has(tbody tr.empty))").tablesorter(
{widgets: ['zebra'], sortList: [[1,1]]});
- $("#stats-by-arch").add("#stats-by-repo").add("#stats-by-maintainer").tablesorter(
+ $(".dash-stats").tablesorter(
{widgets: ['zebra'], sortList: [[0,0]],
headers: { 1: { sorter: 'pkgcount' }, 2: { sorter: 'pkgcount' } } });
- $("h3.dash-stats").click(
- function(e) { $(this).next().toggle(); }
- );
});
{% endblock %}
--
cgit v1.2.3-54-g00ecf