summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-03-08 09:30:41 +0000
committerOlivier Lamy <olamy@apache.org>2012-03-08 09:30:41 +0000
commit844b9c5ee7a01cb35d1deb8e7d9051ae0324ef73 (patch)
tree7537a821d422a4e3dc47e224b79e8154ad9604e1 /archiva-modules/archiva-web
parentfbbe08d0d40922743beacb9a18e0939d657a6842 (diff)
downloadarchiva-844b9c5ee7a01cb35d1deb8e7d9051ae0324ef73.tar.gz
archiva-844b9c5ee7a01cb35d1deb8e7d9051ae0324ef73.zip
[MRM-1579] rewrite repositories scanning admin page
use accordion for file types. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
index 9ee933ba5..2df39e00e 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/general-admin.html
@@ -165,12 +165,15 @@
</script>
<script id="file-types-tmpl" type="text/html">
- <!-- accordion ?? -->
+<div class="accordion" id="accordion-file-types">
<div class="span4">
{{each(i, fileType) fileTypes}}
- <div class="page-header">
- <h4>${fileType.id}</h4>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" href="#collapse-pattern-${fileType.id}"
+ data-parent="#accordion-file-types" data-toggle="collapse">${fileType.id}&nbsp;<i class="icon-resize-vertical"/></a>
</div>
+ <div id="collapse-pattern-${fileType.id}" class="accordion-body collapse">
<table class="table table-condensed">
{{each(j,pattern) fileType.patterns}}
<tr>
@@ -191,7 +194,10 @@
</td>
</tr>
</table>
+ </div>
+ </div>
{{/each}}
</div>
+</div>
</script>