init
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"%>
|
||||
<%@ page import="java.io.*"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
|
||||
<%@ include file="/jsp/common/include/localemessage.jsp" %>
|
||||
<%
|
||||
response.setHeader("Pragma", "No-cache");
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
response.setHeader("Expires", "0");
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<jsp:include page="/jsp/common/include/css.jsp"/>
|
||||
<jsp:include page="/jsp/common/include/script.jsp"/>
|
||||
<style type="text/css">
|
||||
.img_pointer { cursor:pointer; }
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
var cnvsnNames = window.dialogArguments['selectedCnvsnName'];
|
||||
$(document).ready(function() {
|
||||
$("input[name=cmDate]").inputmask("yyyy-mm-dd",{'autoUnmask':true}).val(getToday());
|
||||
$("input[name=cmTime]").inputmask("hh:mm:ss",{'autoUnmask':true}).val('10:00:00');
|
||||
$('#btn_operate').click(operate);
|
||||
$("#btn_close").click(function(){
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
|
||||
function operate() {
|
||||
if (jQuery.trim($(':text[name=cmTitle]').val()) == '') {
|
||||
alert('<%=localeMessage.getString("ruleDeploy.alert.name")%>');
|
||||
return;
|
||||
}
|
||||
if (jQuery.trim($(':text[name=cmDate]').val()) == '') {
|
||||
alert('<%=localeMessage.getString("ruleDeploy.alert.cmDate")%>');
|
||||
return;
|
||||
}
|
||||
if (jQuery.trim($(':text[name=cmTime]').val()) == '') {
|
||||
alert('<%=localeMessage.getString("ruleDeploy.alert.cmTime")%>');
|
||||
return;
|
||||
}
|
||||
if (!confirm('<%=localeMessage.getString("ruleDeploy.confirm.mappings")%>')) {
|
||||
return;
|
||||
}
|
||||
var value = {
|
||||
'CmTitle': $(':text[name=cmTitle]').val(),
|
||||
'CmDate': $(':text[name=cmDate]').val(),
|
||||
'CmTime': $(':text[name=cmTime]').val(),
|
||||
'ListTransformName': cnvsnNames
|
||||
}
|
||||
window.returnValue = value;
|
||||
window.close();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="popup_box">
|
||||
<div class="search_wrap">
|
||||
<button type="button" class="cssbtn" id="btn_operate" level="W" status="DETAIL,NEW" style="min-width:75px;"><i class="material-icons">play_circle</i> <%= localeMessage.getString("button.execute") %></button>
|
||||
<button type="button" class="cssbtn" id="btn_close" level="R" status="DETAIL,NEW" style="min-width:75px;"><i class="material-icons">close</i> <%= localeMessage.getString("button.close") %></button>
|
||||
</div>
|
||||
<div class="title"><%=localeMessage.getString("ruleDeploy.title.mappings")%></div>
|
||||
<form id="ajaxForm">
|
||||
<table class="table_row" cellspacing="0">
|
||||
<tr>
|
||||
<th style="width:32%;"><%=localeMessage.getString("ruleDeploy.cmTitle")%></th>
|
||||
<td><input type="text" name="cmTitle"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width:32%;"><%=localeMessage.getString("ruleDeploy.cmDate")%></th>
|
||||
<td><input type="text" name="cmDate"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><%=localeMessage.getString("ruleDeploy.cmTime")%></th>
|
||||
<td><input type="text" name="cmTime"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
<small>* <%=localeMessage.getString("ruleDeploy.msg1")%></small><br>
|
||||
<small>* <%=localeMessage.getString("ruleDeploy.msg3")%></small>
|
||||
</form>
|
||||
|
||||
</div><!-- end.popup_box -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user