<%@ 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/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> KT-CS 추가</h4>
			</div>
			<div class="panel-body">
   				<form action="addKCSHandle.sev?client_code=${kcs_list.client_code}" method="post">
		   			<input type="hidden" id="token" name="token">
		   			<div class="table-responsive">
	   					<input type="hidden" name="service_code" id="service_code" value="${kcs_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="${kcs_list.service_line}" readonly="readonly">					
										</td>				
									</tr>
									<tr>
										<td>서버계정</td>
										<td colspan="3">
											<input type="text" name="service_admin" id="service_admin" value="${kcs_list.service_admin}">					
										</td>				
									</tr>
									<tr>
										<td>고객명</td>
										<td colspan="3">
											<input type="text" name="client_name" id="client_name" value="${kcs_list.client_name}" readonly="readonly" >
										</td>
									</tr>
									<tr>
										<td>서버IP</td>
										<td colspan="3">
											<input type="text" name="service_ip" id="service_ip" value="${kcs_list.service_ip}" readonly="readonly">
										</td>
									</tr>
									
									<tr>
										<td>장비번호</td>
										<td colspan="3">
											<input type="text" name="server_code" id="server_code" value="${kcs_list.server_code}" readonly="readonly"/>
										</td>
									</tr>
									<tr>
										<td>KCS-CS장비</td>
										<td colspan="3">
											<input type="text" name="kcs_code" value="kcs-">
											<!-- 
											 <select name="kcs_code" id="cs_code">
												
											</select>
											 -->
										</td>
									</tr>
									<tr>
										<td>KCS IP</td>
										<td colspan="3">
											<div class="row">
												<div class="col-lg-4">
											  		<div class="input-group">
										  				<span class="input-group-btn">
												  			<ul class="dropdown-menu getIPul" role="menu" id="getIPul">
												  				<li>ffe</li>
												  			</ul>
											  			</span>
											  			<input type="text" class="form-control getIP" name="kcs_ip" id="kcs_ip"/>
												  		<input type="hidden" class="client_code" value="${kcs_list.client_code}">
												  		<input type="hidden" class="client_name" value="">
													</div>
												</div>
											</div>
										</td>
									</tr>
									<tr>
										<td>연결 도메인</td>
										<td colspan="3">
											<input type="text" name="kcs_use_domain" id="kcs_use_domain">
										</td>
									</tr>
									<tr>
										<td>접속 도메인</td>
										<td colspan="3">
											<input type="text" name="kcs_connect_domain" id="kcs_connect_domain">
										</td>
									</tr>
									
									<tr>
										<td>최종 공격일</td>
										<td colspan="3">
											<input type="date" name="kcs_last_date" id="kcs_last_date" maxlength="50" size="50">
										</td>
									</tr>
												
									<tr>
										<td>비고</td>
										<td colspan="3">					
											<textarea name="kcs_note" id="kcs_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="KCS등록">KCS등록</button>
										<!-- <a class="btn btn-outline btn-default" href="serviceDetail.sev?client_code=${kcs_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 -->
