优化后台UI
完善表单上传组件
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
<input type="hidden" name="{$field['name']}" value="{$info[$field['name']]|default=''}"/>
|
||||
{else/}
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-lg-10 col-sm-10">
|
||||
<label class="col-sm-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-sm-10">
|
||||
{:form($field, $info)}
|
||||
<div class="help-block">{$field['help']|default=''}</div>
|
||||
</div>
|
||||
@@ -42,8 +42,8 @@
|
||||
<input type="hidden" name="{$field['name']}" value="{$info[$field['name']]|default=''}"/>
|
||||
{else/}
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-lg-10 col-sm-10">
|
||||
<label class="col-sm-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-sm-10">
|
||||
{:form($field, $info)}
|
||||
<div class="help-block">{$field['help']|default=''}</div>
|
||||
</div>
|
||||
@@ -52,7 +52,7 @@
|
||||
{/volist}
|
||||
{/if}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
{if isset($info['id'])}<input type="hidden" name="id" value="{$info['id']|default=''}">{/if}
|
||||
<button class="btn btn-success submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>
|
||||
<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
|
||||
|
||||
Reference in New Issue
Block a user