1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 04:37:51 +02:00

Plugins Manager Plugin: layout fixes.

This commit is contained in:
Awilum
2012-12-14 00:43:00 +02:00
parent 50cff98e49
commit 7e5f0ac468

View File

@@ -1,7 +1,6 @@
<h2><?php echo __('Plugins', 'plugins'); ?></h2> <h2><?php echo __('Plugins', 'plugins'); ?></h2>
<br /> <br />
<div class="tabbable"> <div class="tabbable">
<!-- Plugins_tabs --> <!-- Plugins_tabs -->
@@ -18,11 +17,11 @@
<table class="table table-bordered"> <table class="table table-bordered">
<thead> <thead>
<tr> <tr>
<td><?php echo __('Name', 'plugins'); ?></td> <th><?php echo __('Name', 'plugins'); ?></th>
<td><?php echo __('Description', 'plugins'); ?></td> <th><?php echo __('Description', 'plugins'); ?></th>
<td><?php echo __('Author', 'plugins'); ?></td> <th><?php echo __('Author', 'plugins'); ?></th>
<td><?php echo __('Version', 'plugins'); ?></td> <th><?php echo __('Version', 'plugins'); ?></th>
<td width="30%"><?php echo __('Actions', 'plugins'); ?></td> <th></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -41,10 +40,12 @@
<?php echo $plugin['version']; ?> <?php echo $plugin['version']; ?>
</td> </td>
<td> <td>
<div class="pull-right">
<?php echo Html::anchor(__('Uninstall', 'plugins'), <?php echo Html::anchor(__('Uninstall', 'plugins'),
'index.php?id=plugins&delete_plugin='.$plugin['id'].'&token='.Security::token(), 'index.php?id=plugins&delete_plugin='.$plugin['id'].'&token='.Security::token(),
array('class' => 'btn btn-actions', 'onclick' => "return confirmDelete('".__('Delete plugin :plugin', 'plugins', array(':plugin' => $plugin['id']))."')")); array('class' => 'btn btn-small', 'onclick' => "return confirmDelete('".__('Delete plugin :plugin', 'plugins', array(':plugin' => $plugin['id']))."')"));
?> ?>
</div>
</td> </td>
</tr> </tr>
<?php } } ?> <?php } } ?>
@@ -57,11 +58,11 @@
<table class="table table-bordered"> <table class="table table-bordered">
<thead> <thead>
<tr> <tr>
<td><?php echo __('Name', 'plugins'); ?></td> <th><?php echo __('Name', 'plugins'); ?></th>
<td><?php echo __('Description', 'plugins'); ?></td> <th><?php echo __('Description', 'plugins'); ?></th>
<td><?php echo __('Author', 'plugins'); ?></td> <th><?php echo __('Author', 'plugins'); ?></th>
<td><?php echo __('Version', 'plugins'); ?></td> <th><?php echo __('Version', 'plugins'); ?></th>
<td width="30%"><?php echo __('Actions', 'plugins'); ?></td> <th></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -81,11 +82,13 @@
<?php echo $plugin_xml->plugin_version; ?> <?php echo $plugin_xml->plugin_version; ?>
</td> </td>
<td> <td>
<?php echo Html::anchor(__('Install', 'plugins'), 'index.php?id=plugins&install='.$plug['plugin'].'&token='.Security::token(), array('class' => 'btn btn-actions')); ?> <div class="pull-right">
<?php echo Html::anchor(__('Install', 'plugins'), 'index.php?id=plugins&install='.$plug['plugin'].'&token='.Security::token(), array('class' => 'btn btn-small')); ?>
<?php echo Html::anchor(__('Delete', 'plugins'), <?php echo Html::anchor(__('Delete', 'plugins'),
'index.php?id=plugins&delete_plugin_from_server='.Text::lowercase(basename($plug['path'],'.manifest.xml')).'&token='.Security::token(), 'index.php?id=plugins&delete_plugin_from_server='.Text::lowercase(basename($plug['path'],'.manifest.xml')).'&token='.Security::token(),
array('class' => 'btn btn-actions', 'onclick' => "return confirmDelete('".__('Delete plugin :plugin', 'plugins', array(':plugin' => Text::lowercase(basename($plug['path'],'.manifest.xml'))) )."')")); array('class' => 'btn btn-small', 'onclick' => "return confirmDelete('".__('Delete plugin :plugin', 'plugins', array(':plugin' => Text::lowercase(basename($plug['path'],'.manifest.xml'))) )."')"));
?> ?>
</div>
</td> </td>
</tr> </tr>
<?php } ?> <?php } ?>