You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.1 KiB
HTML

5 years ago
<extend name="Public/base" />
<block name="body">
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
<div class="main-place">
<span class="main-placetitle">位置</span>
<ul class="main-placeul">
<li><a href="{:U('Game/lists')}">游戏</a></li>
<li><a href="{:U('Server/lists')}">区服管理</a></li>
<li><a href="#">{$meta_title}</a></li>
</ul>
</div>
<!-- 标签页导航 -->
<div class="tab-wrap">
<div class="tab_nav jstabnav">
<ul>
<li data-tab="tab1" class="current"><a href="javascript:void(0);">基础</a></li>
</ul></div>
<div class="tab-content tab_content">
<!-- 表单 -->
<form id="form" action="{:U('batch?model='.$model['id'])}" method="post" class="form-horizontal">
<!-- 基础文档模型 -->
<div id="tab1" class="tab-pane in tab1 tab_table">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="r">批量加服按模板样式添加一行一个最多可同时添加100行用“;”隔开)</td>
</tr>
<tr>
<td class="r" >
<textarea name="server" class="txt_area" placeholder="">game_id=1,server_name=初出茅庐,time=2017-01-04 15:00:00;</textarea><br>
说明game_id游戏IDserver_name区服名称time开服时间
</td>
</tr>
</tbody>
</table>
</div>
<div class="form-item cf">
<button class="submit_btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
</div>
</form>
</div>
</div>
</block>
<block name="script">
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
<php>if(C('COLOR_STYLE')=='blue_color') echo '<link href="__STATIC__/datetimepicker/css/datetimepicker_blue.css" rel="stylesheet" type="text/css">';</php>
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript">
//导航高亮
highlight_subnav('{:U('developers/server')}');
$('#submit').click(function(){
$('#form').submit();
});
$(function(){
$('.side-sub-menu').eq(0).show();
$("#game_name").val($("#game_id option:selected").text());
$('.date').datetimepicker({
format: 'yyyy-mm-dd',
language:"zh-CN",
minView:2,
autoclose:true
});
$('.time').datetimepicker({
language:"zh-CN",
hour: 13,
minute: 15
});
showTab();
});
/*获取游戏名称*/
$("#game_id").change(function() {
$("#game_name").val($("#game_id option:selected").text());
});
</script>
</block>