<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('add?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="" 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="" 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="" 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"  value="0" name="status" > 禁用
                        </label>
                        <label>
                            <input type="radio"  value="1" name="status" checked="ture" > 启用
                        </label>
                    <span class="notice-text"></span>
                </td>
            </tr>
          </tbody>
        <table>
        
        <input name="create_time" type="hidden"  value="{:time()}">
        <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>