<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript" src="IDC/js/addCS.js"></script>
<script type="text/javascript" src="IDC/js/setToken.js"></script>
<!-- 여기가 본 페이지이다 -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4><i class="fa fa-desktop fa-fw"></i> VPC-CS 등록</h4>
			</div>
			<div class="panel-body">
	   			<form action="addVPCHandle.sev?client_code=${vpc_list.client_code}" method="get">
		   			<input type="hidden" id="token" name="token">
		   			<input type="hidden" id="client_code" name="client_code" value="${vpc_list.client_code }">
		   			<input type="hidden" id="referer" name="referer" value="<% 
		   				
							if (request.getParameter("referer") != null ) 
							{  
							 String mkstring = "Solo" ;
							    out.print(mkstring); 
							} else {
								String mkstring = "";
								 out.print(mkstring); 
							}
				
		   			%>">
		   			<div class="table-responsive">
						<input type="hidden" name="service_code" id="service_code" value="${vpc_list.service_code}" >
						<table class="table table-bordered table-hover table-striped">
							<thead>
							</thead>
							<tbody>
								<tr>
									<td>서비스 구분</td>
									<td colspan="3">
										<input type="text" name="service_line" id="service_line" value="${vpc_list.service_line}" readonly="readonly">					
									</td>				
								</tr>
								<tr>
									<td>고객명</td>
									<td colspan="3">
										<input type="text" name="client_name" id="client_name" value="${vpc_list.client_name}" readonly="readonly" >
									</td>
								</tr>
								<tr>
									<td>서버IP</td>
									<td colspan="3">
										<input type="text" name="service_ip" id="service_ip" value="${vpc_list.service_ip}" readonly="readonly">
									</td>
								</tr>
								
								<tr>
									<td>장비번호</td>
									<td colspan="3">
										<input type="text" name="server_code" id="server_code" value="${vpc_list.server_code}" readonly="readonly"/>
									</td>
								</tr>
								<tr>
									<td>VPC-CS장비</td>
									<td colspan="3">
										<select name="vpc_code" id="cs_code">
											
										</select>
									</td>
								</tr>
								<tr>
									<td>VPC-CS IP</td>
									<td colspan="3">
										<div class="row">
											<div class="col-lg-4">
										  		<div class="input-group">
										  			<input type="text" class="form-control" name="vpc_csip" id="vpc_csip"/>
												</div>
											</div>
										</div>
									</td>
								</tr>
								<tr>
									<td>연결도메인</td>
									<td colspan="3">
										<input type="text" name="vpc_connect_domain" id="vpc_connect_domain">
									</td>
								</tr>
								<tr>
									<td>방화벽설정</td>
									<td colspan="3">
										<input type="text" name="vpc_fireWall" id="vpc_fireWall" maxlength="50" size="50">
									</td>
								</tr>
								<tr>
									<td>최종 공격일</td>
									<td colspan="3">
										<input type="date" name="vpc_last_date" id="vpc_last_date" maxlength="50" size="50">
									</td>
								</tr>
											
								<tr>
									<td>비고</td>
									<td colspan="3">					
										<textarea name="vpc_note" id="vpc_note" rows="8" cols="100"></textarea>
									</td>
								</tr>
							</tbody>
							<tfoot>
								<tr>
									<td colspan="4" align="right">
										<button class="btn btn-outline btn-primary" type="submit" value="VPC등록">VPC등록</button>
										<!--<a class="btn btn-outline btn-default" href="serviceDetail.sev?client_code=${vpc_list.client_code}">취소</a>-->
										<a class="btn btn-outline btn-default" href="javascript:history.go(-1);">취소</a>
									</td>
								</tr>
							</tfoot>
						</table>
					</div>
					<!-- table-responsive -->
				</form>
			</div>
			<!-- panel-body -->
		</div>
		<!-- panel panel-default -->
	</div>
	<!-- col-lg-12 -->
</div>
<!-- row -->
<!-- /#page-wrapper -->
