mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 20:27:40 +02:00
Backup Plugin: layout fixes.
This commit is contained in:
@@ -14,7 +14,7 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
|
|||||||
Form::checkbox('add_storage_folder', null, true, array('disabled' => 'disabled')) . ' ' . __('storage', 'backup') . ' ' . Html::nbsp(2) .
|
Form::checkbox('add_storage_folder', null, true, array('disabled' => 'disabled')) . ' ' . __('storage', 'backup') . ' ' . Html::nbsp(2) .
|
||||||
Form::checkbox('add_public_folder') . ' ' . __('public', 'backup') . ' ' . Html::nbsp(2) .
|
Form::checkbox('add_public_folder') . ' ' . __('public', 'backup') . ' ' . Html::nbsp(2) .
|
||||||
Form::checkbox('add_plugins_folder') . ' ' . __('plugins', 'backup') . ' ' . Html::nbsp(2) .
|
Form::checkbox('add_plugins_folder') . ' ' . __('plugins', 'backup') . ' ' . Html::nbsp(2) .
|
||||||
Form::submit('create_backup', __('Create backup', 'backup'), array('class' => 'btn btn-small', 'data-loading-text' => __('Creating...', 'backup'))).
|
Form::submit('create_backup', __('Create backup', 'backup'), array('class' => 'btn', 'data-loading-text' => __('Creating...', 'backup'))).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
@@ -23,9 +23,9 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
|
|||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo __('Backup date', 'backup'); ?></td>
|
<th><?php echo __('Backup date', 'backup'); ?></th>
|
||||||
<td><?php echo __('Size', 'backup'); ?></td>
|
<th><?php echo __('Size', 'backup'); ?></th>
|
||||||
<td width="30%"><?php echo __('Actions', 'backup'); ?></td>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -37,10 +37,12 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
|
|||||||
</td>
|
</td>
|
||||||
<td><?php echo Number::byteFormat(filesize(ROOT . DS . 'backups' . DS . $backup)); ?></td>
|
<td><?php echo Number::byteFormat(filesize(ROOT . DS . 'backups' . DS . $backup)); ?></td>
|
||||||
<td>
|
<td>
|
||||||
|
<div class="pull-right">
|
||||||
<?php echo Html::anchor(__('Delete', 'backup'),
|
<?php echo Html::anchor(__('Delete', 'backup'),
|
||||||
'index.php?id=backup&delete_file='.$backup.'&token='.Security::token(),
|
'index.php?id=backup&delete_file='.$backup.'&token='.Security::token(),
|
||||||
array('class' => 'btn btn-actions', 'onclick' => "return confirmDelete('".__('Delete backup: :backup', 'backup', array(':backup' => Date::format($name, 'F jS, Y - g:i A')))."')"));
|
array('class' => 'btn btn-small', 'onclick' => "return confirmDelete('".__('Delete backup: :backup', 'backup', array(':backup' => Date::format($name, 'F jS, Y - g:i A')))."')"));
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
Reference in New Issue
Block a user