|
|
@@ -9,8 +9,8 @@
|
|
|
{/if}
|
|
|
|
|
|
<div class="panel panel-default panel-intro">
|
|
|
- {if $groupList}
|
|
|
- <div class="panel-heading">
|
|
|
+ {if count($groupList)>1}
|
|
|
+ <div class="panel-heading mb-3">
|
|
|
<ul class="nav nav-tabs nav-group">
|
|
|
<li class="active"><a href="#all" data-toggle="tab">全部</a></li>
|
|
|
{foreach name="groupList" id="tab"}
|
|
|
@@ -20,15 +20,15 @@
|
|
|
</div>
|
|
|
{/if}
|
|
|
|
|
|
- <div class="panel-body {if !$groupList}no-padding{/if}">
|
|
|
+ <div class="panel-body no-padding">
|
|
|
<div id="myTabContent" class="tab-content">
|
|
|
{foreach name="groupList" id="group" key="groupName"}
|
|
|
<div class="tab-pane fade active in" id="tab-{$groupName}">
|
|
|
|
|
|
- <table class="table table-striped table-config">
|
|
|
+ <table class="table table-striped table-config mb-0">
|
|
|
<tbody>
|
|
|
{foreach name="$addon.config" id="item"}
|
|
|
- {if ((!isset($item['group']) || $item['group']=='') && $groupName=='other') || (isset($item['group']) && $item['group']==$groupName)}
|
|
|
+ {if ((!isset($item['group']) || $item['group']=='') && $groupName=='other') || (isset($item['group']) && $item['group']==$group)}
|
|
|
<tr data-favisible="{$item.visible|default=''|htmlentities}" data-name="{$item.name}" class="{if $item.visible??''}hidden{/if}">
|
|
|
<td width="15%">{$item.title}</td>
|
|
|
<td>
|