39 lines
2.0 KiB
HTML
39 lines
2.0 KiB
HTML
<div class="panel panel-default panel-intro">
|
|
|
|
<div class="panel-heading">
|
|
{:build_heading(null,FALSE)}
|
|
{if(in_array($source,['model','diyform']))}
|
|
<ul class="nav nav-tabs" data-field="main.source_id">
|
|
{foreach name="modelList" item="vo"}
|
|
<li class="{:$model['id']==$vo['id']?'active':''}"><a href="{:url('cms.fields/index')}/source/{$source}/source_id/{$vo.id}" data-value="{$vo.id}">{$vo.name}</a></li>
|
|
{/foreach}
|
|
</ul>
|
|
{/if}
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div id="myTabContent" class="tab-content">
|
|
<div class="tab-pane fade active in" id="one">
|
|
<div class="widget-body no-padding">
|
|
<div id="toolbar" class="toolbar">
|
|
{:build_toolbar('refresh,add,edit,del')}
|
|
<div class="dropdown btn-group {:$auth->check('cms/fields/multi')?'':'hide'}">
|
|
<a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
|
|
<ul class="dropdown-menu text-left" role="menu">
|
|
<li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
|
|
<li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<table id="table" class="table table-striped table-bordered table-hover"
|
|
data-operate-edit="{:$auth->check('cms/fields/edit')}"
|
|
data-operate-del="{:$auth->check('cms/fields/del')}"
|
|
width="100%">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|