<%--
 * Copyright by Intland Software
 *
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Intland Software. ("Confidential Information"). You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Intland.
 *
 * $Revision$ $Date$
--%>
<meta name="decorator" content="main">
<meta name="module" content="sysadmin">
<meta name="moduleCSSClass" content="sysadminModule">
<meta name="stylesheet" content="sysadmin.css">


<%@ taglib uri="jstl-c" prefix="c" %>
<%@ taglib uri="jstl-fmt" prefix="fmt" %>
<%@ taglib uri="jstl-fn" prefix="fn" %>


<%@ taglib uri="struts-html" prefix="html" %>

<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<%@ taglib uri="acltaglib" prefix="acl" %>
<%@ taglib uri="taglib" prefix="tag" %>

<%@page import="com.intland.codebeamer.persistence.dao.impl.ProjectDaoImpl"%>

<div class="warning">
	<strong>Important!</strong><br/>
	When relocating the repository of any project, please make sure that no one is accessing this ${licenseCode.type} server instance.<br/>
	Even read-only <b>access</b> for any project <b>must be disabled</b>, because of safety reasons. After the relocation has been successfully completed, you can reenable full access.<br/>
	Before relocating it, <b>making a backup</b> of your current document repository <b>is strongly recommended</b>.
</div>

<html:errors/>

<html:form action="/sysadmin/setProjectMountPoint">
	<html:hidden property="proj_id" value="${project.id}" />

	<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2">

		<TR>
			<TD CLASS="mandatory" NOWRAP>
				 &nbsp;Mount Point:&nbsp;
			</TD>
			<TD CLASS="expandText">
				<html:text styleClass="expandText" size="80" property="mountPoint" value="${project.mountPoint}" />
				<span class="subtext">Enter the full filesystem path for the new repository location, or leave it blank if you want to use the default repository.</span>
			</TD>
		</TR>

		<TR>
			<TD COLSPAN="2">
				&nbsp;&nbsp;<html:submit styleClass="button" property="SAVE" value="Save" />

				&nbsp;&nbsp;<html:cancel styleClass="button" />
			</TD>
		</TR>

	</TABLE>
</html:form>
