summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web
diff options
context:
space:
mode:
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>