2013-12-14 07:27:12 +08:00
|
|
|
<div class="b-admin-plugins g-ui-user-select-none">
|
2013-11-12 06:01:44 +08:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="alert span8" data-bind="visible: '' !== pluginsError()">
|
|
|
|
<button type="button" class="close" data-bind="click: function () { pluginsError('') }">×</button>
|
|
|
|
<span data-bind="text: pluginsError"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-04-26 07:41:47 +08:00
|
|
|
<!-- <div class="process-place" data-bind="style: {'visibility': visibility }">
|
2013-12-15 06:42:32 +08:00
|
|
|
<i class="icon-spinner animated"></i>
|
2013-11-12 06:01:44 +08:00
|
|
|
|
|
|
|
loading...
|
2014-04-26 07:41:47 +08:00
|
|
|
</div>-->
|
|
|
|
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="legend">
|
|
|
|
Plugins
|
|
|
|
</div>
|
2014-04-26 07:41:47 +08:00
|
|
|
|
2013-11-12 06:01:44 +08:00
|
|
|
<div>
|
|
|
|
<label data-bind="click: function () { enabledPlugins(!enabledPlugins()); }">
|
|
|
|
<i data-bind="css: enabledPlugins() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
|
|
|
|
Enable plugins
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div class="row">
|
|
|
|
<div class="alert alert-info span8" data-bind="visible: 0 === plugins().length">
|
|
|
|
No plugins have yet been installed.
|
|
|
|
<br />
|
|
|
|
<br />
|
2014-04-08 06:36:38 +08:00
|
|
|
<strong><a href="#/packages">Click here to install new!</a></strong>
|
|
|
|
</div>
|
|
|
|
<div class="span8" data-bind="visible: 0 < plugins().length">
|
|
|
|
<blockquote>
|
|
|
|
<p class="muted">
|
|
|
|
Click on the name to configure the plugin.
|
|
|
|
</p>
|
|
|
|
</blockquote>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="span8">
|
|
|
|
<table class="table table-hover b-admin-plugins-list-table" data-bind="i18nUpdate: plugins, visible: 0 < plugins().length, css: {'disabled': !enabledPlugins()}">
|
|
|
|
<colgroup>
|
|
|
|
<col />
|
|
|
|
<col style="width: 30px" />
|
|
|
|
</colgroup>
|
2013-11-16 06:21:12 +08:00
|
|
|
<tbody data-bind="template: { name: 'AdminSettingsPluginListItem', foreach: plugins }"></tbody>
|
2013-11-12 06:01:44 +08:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|