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.
98 lines
3.4 KiB
HTML
98 lines
3.4 KiB
HTML
<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="cf main-place top_nav_list navtab_list">
|
|
<h3 class="page_title">{$meta_title}</h3>
|
|
<p class="description_text"></p>
|
|
</div>
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
<form action="{:U('edit?model='.$model['id'])}" method="post" class="form-horizontal form_info_ml">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr>
|
|
<td class="l noticeinfo">应用名称</td>
|
|
<td class="r table_radio">
|
|
<input name="push_name" value="{$data.push_name}" placeholder="请输入应用名称" type="text" class="">
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l noticeinfo">app_key</td>
|
|
<td class="r table_radio">
|
|
<input name="app_key" value="{$data.app_key}" placeholder="请输入app_key" type="text" class="">
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l noticeinfo">master_secret</td>
|
|
<td class="r table_radio">
|
|
<input name="master_secret" value="{$data.master_secret}" placeholder="master_secret" type="text" class="">
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l noticeinfo">启用状态</td>
|
|
<td class="r table_radio">
|
|
<label>
|
|
<input type="radio" class="inp_radio" value="0" name="status"<eq name="data['status']" value="0">checked="checked"</eq> > 禁用
|
|
</label>
|
|
<label>
|
|
<input type="radio" class="inp_radio" value="1" name="status" <eq name="data['status']" value="1"> checked="checked"</eq>> 启用
|
|
</label>
|
|
|
|
<span class="notice-text"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<table>
|
|
|
|
<input name="create_time" type="hidden" value="{:time()}">
|
|
<input name="id" type="hidden" value="{$data.id}" >
|
|
<div class="form-item cf">
|
|
<button class="submit_btn ajax-post " id="submit" type="submit" target-form="form-horizontal">
|
|
保存
|
|
</button>
|
|
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
|
|
返回
|
|
</a>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
</div>
|
|
</block>
|
|
|
|
<block name="script">
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
|
<script type="text/javascript">
|
|
//导航高亮
|
|
highlight_subnav('{:U('Push/pushsetlsit')}');
|
|
$('#submit').click(function(){
|
|
$('#form').submit();
|
|
});
|
|
|
|
$(function(){
|
|
$('.date').datetimepicker({
|
|
format: 'yyyy-mm-dd',
|
|
language:"zh-CN",
|
|
minView:2,
|
|
autoclose:true
|
|
});
|
|
$('.time').datetimepicker({
|
|
format: 'yyyy-mm-dd hh:ii',
|
|
language:"zh-CN",
|
|
minView:2,
|
|
autoclose:true
|
|
});
|
|
showTab();
|
|
|
|
});
|
|
</script>
|
|
</block>
|