<!DOCTYPE html>
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
<head>
|
<th:block th:include="include :: header('新增数据来源')" />
|
</head>
|
<body class="white-bg">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<form class="form-horizontal m" id="form-source-add">
|
<div class="form-group">
|
<label class="col-sm-3 control-label">数据来源:</label>
|
<div class="col-sm-8">
|
<input name="dataSource" class="form-control" type="text">
|
</div>
|
</div>
|
<!-- <div class="form-group"> -->
|
<!-- <label class="col-sm-3 control-label">平台密钥:</label>-->
|
<!-- <div class="col-sm-8">-->
|
<!-- <input name="secretKey" class="form-control" type="text">-->
|
<!-- </div>-->
|
<!-- </div>-->
|
</form>
|
</div>
|
<th:block th:include="include :: footer" />
|
<script type="text/javascript">
|
var prefix = ctx + "geo/source"
|
$("#form-source-add").validate({
|
focusCleanup: true
|
});
|
|
function submitHandler() {
|
if ($.validate.form()) {
|
$.operate.save(prefix + "/add", $('#form-source-add').serialize());
|
}
|
}
|
</script>
|
</body>
|
</html>
|