summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2009-01-16 18:44:06 -0500
committerDusty Phillips <buchuki@gmail.com>2009-01-16 18:44:06 -0500
commit62d2eb8eddee2424b8d69950008af35f8cc95b28 (patch)
tree224b56af7431893d4cf2f3c5a37606a931f5d878 /templates
parent3136757f1a32e257ef30c099ec829b80fdec7868 (diff)
Make the dashboard stats collapsed by default.
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 3c84e08c..639cb81f 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -1,5 +1,9 @@
{% extends "base.html" %}
+{% block head %}
+<script type="text/javascript" src="/media/jquery-1.3.min.js"></script>
+{% endblock %}
+
{% block content %}
{% if todos %}
<div class="greybox">
@@ -23,8 +27,8 @@
{% endif %}
<div class="greybox">
- <h3 class="title">Stats by Architecture</h3>
- <table class="results" width="100%">
+ <h3 class="title" style="cursor: pointer" onclick="$(this).next().toggle();">Stats by Architecture</h3>
+ <table class="results" width="100%" style="display: none">
<tr>
<th width="50%">Arch</th>
<th># Packages</th>
@@ -41,8 +45,8 @@
</div>
<br /><br />
<div class="greybox">
- <h3 class="title">Stats by Repository</h3>
- <table class="results" width="100%">
+ <h3 class="title" style="cursor: pointer" onclick="$(this).next().toggle();">Stats by Repository</h3>
+ <table class="results" width="100%" style="display: none">
<tr>
<th width="50%">Repository</th>
<th># Packages</th>
@@ -60,8 +64,8 @@
<br /><br />
<div class="greybox">
- <h3 class="title">Stats by Maintainer</h3>
- <table class="results" width="100%">
+ <h3 class="title" style="cursor: pointer" onclick="$(this).next().toggle();">Stats by Maintainer</h3>
+ <table class="results" width="100%" style="display: none">
<tr>
<th width="50%">Maintainer</th>
<th># Packages</th>