Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<include file="Inc:head"/>
|
||||
|
||||
<div class="widget-box2" style="margin:0px;">
|
||||
<div class="widget-content nopadding">
|
||||
<form action="__ACTION__" method="post" onsubmit="return save_form2(this)" class="form-horizontal">
|
||||
<div class="control-group">
|
||||
<label class="control-label">参数模板名称</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="template_name" autocomplete="off" placeholder="请填写参数模板名称" value=""/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-success form_submit">确定</button>
|
||||
<button type="button" class="btn btn-danger" id="closeIframe">取消</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<include file="Inc:foot"/>
|
||||
@@ -0,0 +1,22 @@
|
||||
<include file="Inc:head"/>
|
||||
<div class="widget-box2" style="margin:0px;">
|
||||
<div class="widget-content nopadding">
|
||||
<form action="__ACTION__" method="post" onsubmit="return save_form2(this)" class="form-horizontal">
|
||||
<input type="hidden" name="template_id" value="{$_GET['template_id']}">
|
||||
<div class="control-group">
|
||||
<label class="control-label">参数模板名称</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="template_name" autocomplete="off" placeholder="请填写参数模板名称" value="{$data.template_name}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-success form_submit">确定</button>
|
||||
<button type="button" class="btn btn-danger" id="closeIframe">取消</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<include file="Inc:foot"/>
|
||||
@@ -0,0 +1,60 @@
|
||||
<include file="Inc:header"/>
|
||||
<div class="container-fluid">
|
||||
<div class="main_head">
|
||||
<div class="main_tab" style="width:40%; margin-top:10px;">
|
||||
<h1>{$pagetitle}</h1>
|
||||
</div>
|
||||
<div class="main_add" style="width:60%;display: flex;justify-content: flex-end">
|
||||
|
||||
<a class="btn btn-inverse iframe" href="{:U('add')}" style="margin-left:10px;">+增加参数模板</a>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="text-align:right; float:right"></div>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="widget-box">
|
||||
<div class="widget-content nopadding">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>参数模板id</th>
|
||||
<th>参数模板名称</th>
|
||||
<th>参数模板详情</th>
|
||||
<th> 操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<foreach name="data" item="v">
|
||||
<tr>
|
||||
<td style="text-align: center;">{$v['template_id']}</td>
|
||||
<td style="text-align: center;">{$v['template_name']}</td>
|
||||
<td style="text-align: center;"><a
|
||||
href="{:U('CraftTemplateParam/index',array('template_id'=>$v[template_id]))}"
|
||||
class="btn btn-primary btn-mini " >详情</a></td>
|
||||
<td class="center">
|
||||
<a href="{:U('editor',array('template_id'=>$v[template_id]))}"
|
||||
class="btn btn-primary btn-mini iframe" height="400px">修改</a>
|
||||
<a href="{:U('delete',array('template_id'=>$v[template_id]))}"
|
||||
class="btn btn-danger btn-mini ajax_del">删除</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</foreach>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pagination alternate">
|
||||
<ul>{$listpage}</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<include file="Inc/footer"/>
|
||||
Reference in New Issue
Block a user