From 3f7a6d6062d995527df70b473f6f89cf2d70ed50 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Sat, 26 Aug 2006 04:38:32 +0000 Subject: [PATCH] using icons for YES/NO/ENABLED/DISABLED git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437076 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/webapp/WEB-INF/jsp/admin/index.jsp | 182 +++++++--------- .../WEB-INF/jsp/admin/proxiedRepositories.jsp | 205 ++++++++---------- 2 files changed, 176 insertions(+), 211 deletions(-) diff --git a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp index d0a9198a0..6f8a66e78 100644 --- a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp +++ b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp @@ -20,7 +20,7 @@ Administration - + @@ -28,121 +28,107 @@

Administration

-

Configuration

+

Configuration

+ + + + + + + + + + + <%-- TODO: a "run now without timestamp checking" operation should be here too, to pick up any stragglers (in the event of a bug) --%> + <%-- TODO: a "delete index and run now" operation should be here too (really clean, remove deletions that didn't get picked up) --%> + + +
Index Directory + +
Indexing Schedule + + ">Run Now
+ + + +

HTTP Proxy

- - - + + + + + + - - - <%-- TODO: a "run now without timestamp checking" operation should be here too, to pick up any stragglers (in the event of a bug) --%> - <%-- TODO: a "delete index and run now" operation should be here too (really clean, remove deletions that didn't get picked up) --%> - + +
Index Directory - - Host${proxy.host}
Port${proxy.port}
Indexing Schedule - - ">Run NowUsername${proxy.username}
+
- - -

HTTP Proxy

+

+ ">Edit Configuration +

+

Managed Repositories

+ + + + There are no managed repositories configured yet. + + +
+
+ <%-- TODO replace with icons --%> + ">Edit + Repository | ">Delete + Repository +
+

${repository.name}

- - + + + + + + + + + + + - - + + - - + +
Host${proxy.host}Identifier + ${repository.id} +
Directory${repository.directory}
Type + + + Maven 2.x Repository + + + Maven 1.x Repository + + +
Port${proxy.port}Snapshots Included
Username${proxy.username}Indexed
- - -

- ">Edit Configuration -

- -

Managed Repositories

- - - - There are no managed repositories configured yet. - - -
-
- <%-- TODO replace with icons --%> - ">Edit - Repository | ">Delete - Repository -
-

${repository.name}

- - - - - - - - - - - - - - - - - - - - - - -
Identifier - ${repository.id} -
Directory${repository.directory}
Type - - - Maven 2.x Repository - - - Maven 1.x Repository - - -
Snapshots Included - - NO - - - YES - -
Indexed - - NO - - - YES - -
-
-
+
+
-

- ">Add Repository -

+

+ ">Add Repository +

diff --git a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp index 25a05de27..b0670d29c 100644 --- a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp +++ b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp @@ -20,7 +20,7 @@ Administration - + @@ -30,7 +30,7 @@

Proxied Repositories

- + There are no proxied repositories configured yet. @@ -45,117 +45,96 @@

${repository.name}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Identifier - ${repository.id} -
URL${repository.url}
Type - - - Maven 2.x Repository - - - Maven 1.x Repository - - -
Snapshots - - - - DISABLED - - - ENABLED: updated every request - - - ENABLED: updated hourly - - - ENABLED: updated daily - - - ENABLED: updated every ${repository.snapshotsInterval} minutes - - -
Releases - - - - DISABLED - - - ENABLED: updated every request - - - ENABLED: updated hourly - - - ENABLED: updated daily - - - ENABLED: updated every ${repository.releasesInterval} minutes - - -
Proxied through - - ${repositoriesMap[repository.managedRepository].name} - (${repositoriesMap[repository.managedRepository].id}) -
Use HTTP Proxy - - NO - - - YES - -
Cache Failures - - NO - - - YES - -
Fail Whole Group - - NO - - - YES - -
Identifier + ${repository.id} +
URL${repository.url}
Type + + + Maven 2.x Repository + + + Maven 1.x Repository + + +
Snapshots + + + + Disabled + + + Updated every request + + + Updated hourly + + + Updated daily + + + Updated every ${repository.snapshotsInterval} minutes + + +
Releases + + + + Disabled + + + Updated every request + + + Updated hourly + + + Updated daily + + + Updated every ${repository.releasesInterval} minutes + + +
Proxied through + + ${repositoriesMap[repository.managedRepository].name} + (${repositoriesMap[repository.managedRepository].id}) +
Use HTTP Proxy
Cache Failures
Fail Whole Group
-- 2.39.5