From 5dd0f106686404f5c749237a20aaee547c998942 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 26 Feb 2012 23:52:50 +0000 Subject: [PATCH] use collapse/accordion to prevent too long screen git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293970 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/redback/roles.js | 1 + .../js/redback/templates/roles-tmpl.html | 254 +++++++++--------- 2 files changed, 134 insertions(+), 121 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js index 8f227103e..bdf6d28b1 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js @@ -145,6 +145,7 @@ $(function() { activateRoleEditTab(); mainContent.find("#role-view-users").tabs("show"); mainContent.find("#role-edit-users-tabs-content #role-view-users").addClass("active"); + mainContent.find("#role-edit").collapse("show"); } } ); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html index ca3ba4737..1312ec842 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html @@ -46,141 +46,153 @@ -- 2.39.5