v1.18.x
barisusakli 9 years ago
parent 55c9e6f4b6
commit 162f14b229

@ -249,6 +249,8 @@ define('admin/extend/plugins', function() {
$('#installed ul li').each(function() { $('#installed ul li').each(function() {
if ($(this).hasClass('active')) { if ($(this).hasClass('active')) {
$('#active ul').append($(this).clone(true)); $('#active ul').append($(this).clone(true));
} else {
$('#deactive ul').append($(this).clone(true));
} }
}); });
} }

@ -1,6 +1,7 @@
<ul class="nav nav-pills"> <ul class="nav nav-pills">
<li class="active"><a href="#installed" data-toggle="tab">Installed</a></li> <li class="active"><a href="#installed" data-toggle="tab">Installed</a></li>
<li><a href="#active" data-toggle="tab">Active</a></li> <li><a href="#active" data-toggle="tab">Active</a></li>
<li><a href="#deactive" data-toggle="tab">Deactive</a></li>
<li><a href="#upgrade" data-toggle="tab"> <li><a href="#upgrade" data-toggle="tab">
Out of Date Out of Date
<span class="badge">{upgradeCount}</span> <span class="badge">{upgradeCount}</span>
@ -22,6 +23,9 @@
<div class="tab-pane fade" id="active"> <div class="tab-pane fade" id="active">
<ul class="active"></ul> <ul class="active"></ul>
</div> </div>
<div class="tab-pane fade" id="deactive">
<ul class="deactive"></ul>
</div>
<div class="tab-pane fade" id="upgrade"> <div class="tab-pane fade" id="upgrade">
<ul class="upgrade"></ul> <ul class="upgrade"></ul>
</div> </div>

Loading…
Cancel
Save