1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 ~ Licensed to the Apache Software Foundation (ASF) under one
5 ~ or more contributor license agreements. See the NOTICE file
6 ~ distributed with this work for additional information
7 ~ regarding copyright ownership. The ASF licenses this file
8 ~ to you under the Apache License, Version 2.0 (the
9 ~ "License"); you may not use this file except in compliance
10 ~ with the License. You may obtain a copy of the License at
12 ~ http://www.apache.org/licenses/LICENSE-2.0
14 ~ Unless required by applicable law or agreed to in writing,
15 ~ software distributed under the License is distributed on an
16 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 ~ KIND, either express or implied. See the License for the
18 ~ specific language governing permissions and limitations
22 <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
23 <%@ taglib uri="/webwork" prefix="ww" %>
24 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
25 <%@ taglib prefix="my" tagdir="/WEB-INF/tags" %>
26 <%@ taglib prefix="redback" uri="http://plexus.codehaus.org/redback/taglib-1.0" %>
27 <%@ page import="org.apache.maven.archiva.web.startup.ArchivaVersion" %>
28 <%@ page import="java.util.Calendar" %>
32 <title>Apache Archiva \
33 <decorator:title default="Apache Archiva"/>
36 <link rel="stylesheet" href="<c:url value="/css/maven-base.css"/>" type="text/css" media="all"/>
37 <link rel="stylesheet" href="<c:url value="/css/maven-theme.css"/>" type="text/css" media="all"/>
38 <link rel="stylesheet" href="<c:url value="/css/redback/table.css"/>" type="text/css" media="all"/>
39 <link rel="stylesheet" href="<c:url value="/css/site.css"/>" type="text/css" media="all"/>
40 <link rel="stylesheet" href="<c:url value="/css/print.css"/>" type="text/css" media="print"/>
41 <link rel="shortcut icon" href="<c:url value="/favicon.ico" />"/>
42 <script type="text/javascript" src="<c:url value="/js/scriptaculous/prototype.js"/>"></script>
43 <script type="text/javascript" src="<c:url value="/js/scriptaculous/scriptaculous.js"/>"></script>
44 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
47 <body onload="<decorator:getProperty property="body.onload" />" class="composite">
49 <span id="bannerLeft">
50 <my:currentWWUrl action="index" namespace="/">
51 <img src="<c:url value='/images/archiva.png' />" alt="" width="188" height="69"/>
54 <span id="bannerRight">
55 <ww:action namespace="/components" name="companyInfo" executeResult="true"/>
63 <div id="breadcrumbs">
65 <%@ include file="/WEB-INF/jsp/redback/include/securityLinks.jsp" %>
69 <a href="http://archiva.apache.org">Archiva</a> |
70 <a href="http://maven.apache.org/">Maven</a> |
71 <a href="http://www.apache.org/">Apache</a>
86 <my:currentWWUrl action="index" namespace="/">Search</my:currentWWUrl>
89 <ww:if test="${applicationScope.uiOptions.showFindArtifacts}">
91 <my:currentWWUrl action="findArtifact" namespace="/">Find Artifact</my:currentWWUrl>
96 <my:currentWWUrl action="browse" namespace="/">Browse</my:currentWWUrl>
100 <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
103 <redback:ifAuthorized permission="archiva-access-reports">
105 <my:currentWWUrl action="pickReport" namespace="/report">Reports</my:currentWWUrl>
107 </redback:ifAuthorized>
108 <%-- POSTPONED to 1.1 series
110 <a href="#">Synchronisation</a>
113 <redback:ifAuthorized permission="archiva-manage-users">
115 <my:currentWWUrl action="userlist" namespace="/security">User Management</my:currentWWUrl>
117 </redback:ifAuthorized>
118 <redback:ifAuthorized permission="archiva-manage-configuration">
120 <my:currentWWUrl action="configureAppearance" namespace="/admin">Appearance</my:currentWWUrl>
123 <my:currentWWUrl action="upload" namespace="/">Upload Artifact</my:currentWWUrl>
125 </redback:ifAuthorized>
126 <%-- TODO: future options here.
127 * Repository Statistics.
128 * Web Services Statistics.
131 </redback:ifAnyAuthorized>
133 <redback:ifAuthorized permission="archiva-manage-configuration">
134 <h5>Administration</h5>
137 <my:currentWWUrl action="repositoryGroups" namespace="/admin">Repository Groups</my:currentWWUrl>
140 <my:currentWWUrl action="repositories" namespace="/admin">Repositories</my:currentWWUrl>
143 <my:currentWWUrl action="proxyConnectors" namespace="/admin">Proxy Connectors</my:currentWWUrl>
146 <my:currentWWUrl action="legacyArtifactPath" namespace="/admin">Legacy support</my:currentWWUrl>
149 <my:currentWWUrl action="networkProxies" namespace="/admin">Network Proxies</my:currentWWUrl>
152 <my:currentWWUrl action="repositoryScanning" namespace="/admin">Repository Scanning</my:currentWWUrl>
155 <my:currentWWUrl action="database" namespace="/admin">Database</my:currentWWUrl>
157 <%-- TODO: future options here.
158 * Repository Syncing Connectors. (rsync, ftp, scp, etc...)
159 * Web Services (enable / disable), role based?
162 </redback:ifAuthorized>
167 <div id="bodyColumn">
168 <div id="contentBox">
178 int inceptionYear = 2005;
179 int currentYear = Calendar.getInstance().get( Calendar.YEAR );
180 String copyrightRange = String.valueOf( inceptionYear );
181 if ( inceptionYear != currentYear )
183 copyrightRange = copyrightRange + "-" + String.valueOf( currentYear );
188 Apache Archiva <%= ArchivaVersion.getVersion() %>
191 Copyright © <%= copyrightRange %> The Apache Software Foundation