<%--
MosP - Mind Open Source Project    http://www.mosp.jp/
Copyright (C) MIND Co., Ltd.       http://www.e-mind.co.jp/

This program is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
--%>
<%@ page
language = "java"
pageEncoding = "UTF-8"
buffer = "256kb"
autoFlush = "false"
errorPage = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.framework.constant.MospConst"
import = "jp.mosp.framework.base.MospParams"
import = "jp.mosp.framework.utils.HtmlUtility"
import = "jp.mosp.setup.vo.DbConfirmVo"
import = "jp.mosp.setup.action.DbConfirmAction"
import = "jp.mosp.setup.action.DbCreateAction"

%><%
MospParams params = (MospParams)request.getAttribute(MospConst.ATT_MOSP_PARAMS);
DbConfirmVo vo = (DbConfirmVo)params.getVo();
%>
<br>
<br>
<br>
<center><%= params.getName("DbConfirm") %></center>
<br><center><%= params.getName("DbConfirmM1") %></center>
<center><%= params.getName("Server") %><%= params.getName("Slash") %><%= params.getName("PortNumber") %><%= params.getName("Slash") %><%= params.getName("PosgrePass") %><%= params.getName("InputSomething") %></center>
<br>
<br>
<center>
<table class="SetupTable" >
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtServer"><%= params.getName("Server") %></label></font>
		</td>
		<td class="SetupInputTd">
			<input type="text" class="ServerTextBox" id="txtServer" name="txtServer" value="<%= HtmlUtility.escapeHTML(vo.getTxtServer()) %>" />
		</td>
	</tr>
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtPort"><%= params.getName("PortNumber") %></label></font>
		</td>
		<td class="SetupInputTd" >
			<input type="text" class="Number4RequiredTextBox" id="txtPort" name="txtPort" value="<%= HtmlUtility.escapeHTML(vo.getTxtPort()) %>" />
		</td>
	</tr>
	<tr>
		<td class="SetupTitleTd">
			<font class="ServerFont"><label for="txtPsqlPass"><%= params.getName("PosgrePass") %></label></font>
		</td>
		<td class="SetupInputTd" >
			<input type="password" class="LoginPassTextBox" id="txtPsqlPass" name="txtPostgresPass" />
		</td>
	</tr>
</table>
<br>
<br>
<button type="button" class="Name4Button"  onclick="submitRegist(event, '', checkServer, '<%= DbConfirmAction.CMD_CHECK%>')"><%= params.getName("DbConfirmButton") %></button>
</center>
