50 lines
1.9 KiB
HTML
50 lines
1.9 KiB
HTML
{template "header.html"}
|
|
|
|
|
|
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
|
|
{dr_form_hidden(['page' => $page])}
|
|
<div class="portlet bordered light myfbody">
|
|
<div class="portlet-title tabbable-line">
|
|
<ul class="nav nav-tabs" style="float:left;">
|
|
{if $diy.app}
|
|
<li class="active">
|
|
<a href="#tab_app" data-toggle="tab" onclick="$('#dr_page').val('app')"> <i class="fa fa-puzzle-piece"></i> {dr_lang('应用插件')} </a>
|
|
</li>
|
|
{/if}
|
|
</ul>
|
|
</div>
|
|
<div class="portlet-body">
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="tab_app">
|
|
<div class="form-body">
|
|
{if $diy.app}
|
|
{loop $diy.app $d}
|
|
<div app="{$d.app}">
|
|
{php $dfile=$d.file;}
|
|
{load "$dfile"}
|
|
</div>
|
|
{/loop}
|
|
{else}
|
|
<div class="alert alert-info">{dr_lang('暂无应用插件权限项,用户权限请返回列表页统一设置')}</div>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portlet-body form myfooter">
|
|
<div class="form-actions text-center">
|
|
<button type="button" onclick="dr_ajax_submit('{dr_now_url()}&page='+$('#dr_page').val(), 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存权限配置')}</button>
|
|
<a href="{dr_url('member/auth/index')}" class="btn default"> <i class="fa fa-mail-reply"></i> {dr_lang('返回')}</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<style>
|
|
.mt-checkbox-single {
|
|
margin-right: 10px;
|
|
}
|
|
</style>
|
|
{template "footer.html"}
|