extend/plugin

v1.18.x
psychobunny 10 years ago
parent ec335b55cd
commit d1f45b6d79

@ -13,6 +13,8 @@ define('admin/extend/plugins', function() {
return; return;
} }
$('#plugin-search').val('');
pluginsList.on('click', 'button[data-action="toggleActive"]', function() { pluginsList.on('click', 'button[data-action="toggleActive"]', function() {
pluginID = $(this).parents('li').attr('data-plugin-id'); pluginID = $(this).parents('li').attr('data-plugin-id');
var btn = $(this); var btn = $(this);

@ -4,7 +4,7 @@
<li><a href="#custom-header" data-toggle="tab">Custom Header</a></li> <li><a href="#custom-header" data-toggle="tab">Custom Header</a></li>
</ul> </ul>
<br /> <br />
<div id="myTabContent" class="tab-content"> <div class="tab-content">
<div class="tab-pane fade active in" id="custom-css"> <div class="tab-pane fade active in" id="custom-css">
<p> <p>
Enter your own CSS declarations here, which will be applied after all other styles. Enter your own CSS declarations here, which will be applied after all other styles.

@ -1,24 +1,27 @@
<div class="plugins"> <ul class="nav nav-pills">
<li class="active"><a href="#installed" data-toggle="tab">Installed Plugins</a></li>
<li><a href="#download" data-toggle="tab">Download Plugins</a></li>
</ul>
<br />
<div class="plugins row">
<div class="col-lg-9"> <div class="col-lg-9">
<div class="panel panel-default"> <div class="tab-content">
<div class="panel-heading"><i class="fa fa-code-fork"></i> Installed Plugins</div> <div class="tab-pane fade active in" id="installed">
<div class="panel-body">
<ul class="installed"> <ul class="installed">
<!-- BEGIN installed --> <!-- BEGIN installed -->
<!-- IMPORT admin/partials/installed_plugin_item.tpl --> <!-- IMPORT admin/partials/installed_plugin_item.tpl -->
<!-- END installed --> <!-- END installed -->
</ul> </ul>
</div> </div>
</div> <div class="tab-pane fade" id="download">
<div class="panel-body">
<div class="panel panel-default"> <ul class="download">
<div class="panel-heading"><i class="fa fa-code-fork"></i> Download Plugins</div> <!-- BEGIN download -->
<div class="panel-body"> <!-- IMPORT admin/partials/download_plugin_item.tpl -->
<ul class="download"> <!-- END download -->
<!-- BEGIN download --> </ul>
<!-- IMPORT admin/partials/download_plugin_item.tpl --> </div>
<!-- END download -->
</ul>
</div> </div>
</div> </div>
</div> </div>
@ -35,9 +38,6 @@
<div class="panel-heading">Re-order Plugins</div> <div class="panel-heading">Re-order Plugins</div>
<div class="panel-body"> <div class="panel-body">
<button class="btn btn-default btn-block" id="plugin-order"><i class="fa fa-exchange"></i> Order Active Plugins</button> <button class="btn btn-default btn-block" id="plugin-order"><i class="fa fa-exchange"></i> Order Active Plugins</button>
<p class="help-block">
Certain plugins work ideally when they are initialised before/after other plugins. You can alter this loading behaviour here.
</p>
</div> </div>
</div> </div>
@ -60,10 +60,13 @@
<h4 class="modal-title">Order Active Plugins</h4> <h4 class="modal-title">Order Active Plugins</h4>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<p>Plugins load in the order specified here, from top to bottom</p> <p>
<ul class="plugin-list"> Certain plugins work ideally when they are initialised before/after other plugins.
</p>
</ul> <p>
Plugins load in the order specified here, from top to bottom
</p>
<ul class="plugin-list"></ul>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>

Loading…
Cancel
Save