41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
{template "header.html"}
|
|
|
|
|
|
{php echo \Phpcmf\Service::L('Field')->get('select')->get_select_search_code();}
|
|
<div class="note note-danger" {if !isset($get.submit)}style="display: none"{/if} id="table-search-tool">
|
|
<div class="row table-search-tool">
|
|
<form action="{SELF}" method="get">
|
|
{dr_form_search_hidden()}
|
|
<div class="col-md-12 col-sm-12">
|
|
<label>
|
|
<select name="field" class="form-control">
|
|
{loop $field $t}
|
|
{if dr_is_admin_search_field($t)}
|
|
<option value="{$t.fieldname}" {if $param.field==$t.fieldname}selected{/if}>{dr_lang($t.name)}</option>
|
|
{/if}
|
|
{/loop}
|
|
</select>
|
|
</label>
|
|
<label><i class="fa fa-caret-right"></i></label>
|
|
<label><input type="text" class="form-control" placeholder="" value="{$param['keyword']}" name="keyword" /></label>
|
|
</div>
|
|
|
|
|
|
<div class="col-md-12 col-sm-12">
|
|
<label><button id="table-search-tool-submit" type="button" class="btn blue btn-sm " name="submit" > <i class="fa fa-search"></i> {dr_lang('搜索')}</button></label>
|
|
<label><button id="table-search-tool-reset" type="reset" class="btn red btn-sm " name="reset" > <i class="fa fa-refresh"></i> {dr_lang('重置')}</button></label>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="right-card-box">
|
|
<div id="toolbar" class="toolbar">
|
|
{$mytable.foot_tpl}
|
|
</div>
|
|
|
|
{template "mytable.html"}
|
|
|
|
</div>
|
|
|
|
{template "footer.html"} |