97 lines
4.2 KiB
HTML
97 lines
4.2 KiB
HTML
<include file="Inc:header"/>
|
|
<style>
|
|
.house_region .select2-container{ width: 20%; float: left; margin-right:10px;}
|
|
#uniform-titlepic{ width: 113px;height: 36px;}
|
|
.controls i{ padding-left: 10px;}
|
|
.controls i input{ border-left: 0px;border-right: 0px;border-top: 0px;}
|
|
.thischeck_all{ text-decoration: underline; cursor: pointer; }
|
|
</style>
|
|
<div class="container-fluid">
|
|
<div class="main_head">
|
|
|
|
</div>
|
|
|
|
<div style="text-align:right; float:right"></div>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div class="widget-box">
|
|
<div class="widget-title"> <span class="icon"> <i class=" icon-align-justify"></i> </span>
|
|
|
|
<ul class="sub-nav">
|
|
<li>{$pagetitle}</li>
|
|
</ul>
|
|
|
|
</div>
|
|
<div class="widget-content nopadding">
|
|
<form action="{:U('editorCatModel')}" method="post" class="form-horizontal" onsubmit="return save_form(this);" >
|
|
<input type="hidden" name="modelid" value="{$modelid}">
|
|
<!--基本信息开始-->
|
|
<div class="sub-nav-tab" style="display:block">
|
|
|
|
<div class="control-group">
|
|
<label class="control-label">选择本模型的字段项
|
|
|
|
</label>
|
|
<div class="controls">
|
|
|
|
|
|
|
|
<div class="widget-content nopadding" style="width:99%; ">
|
|
<table class="table table-bordered table-striped" style="border-right:1px solid #ccc">
|
|
<thead>
|
|
<tr>
|
|
<th width="20%;">字段标识</th>
|
|
<th width="20%;">字段名</th>
|
|
<th class="thischeck_all" val="1" objname="cat_is_enter">录入项</th>
|
|
<th class="thischeck_all" val="1" objname="cat_must_enter">必填项</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<foreach name="table_field" item="v">
|
|
<tr>
|
|
<td><input type="hidden" name="field_id[]" value="{$v.field_id}"><input type="text" name="field_name[]" value="{$v.name}" class="span10"></td>
|
|
<td><input type="text" name="field[]" value="{$v.field}" readonly class="span10"></td>
|
|
<td class="center"><input type="checkbox" name="cat_is_enter[]" value="{$v.field}" {$v[cat_is_enter_checked]?"checked":""}></td>
|
|
<td class="center"><input type="checkbox" name="cat_must_enter[]" value="{$v.field}" {$v[cat_must_enter_checked]?"checked":""}></td>
|
|
|
|
|
|
</tr>
|
|
</foreach>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<!--基本信息结束-->
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-success form_submit">提交</button>
|
|
<button type="button" class="btn btn-danger" onclick="cancel()">返回</button>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<include file="Inc/footer"/>
|
|
<script src="/Public/Admin/js/model.js"></script>
|