1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 18:30:20 +02:00

Backup Plugin: layout fixes.

This commit is contained in:
Awilum
2012-12-14 23:22:20 +02:00
parent c776760931
commit 38c10a2450

View File

@@ -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_public_folder') . ' ' . __('public', '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()
);
?>
@@ -23,9 +23,9 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
<table class="table table-bordered">
<thead>
<tr>
<td><?php echo __('Backup date', 'backup'); ?></td>
<td><?php echo __('Size', 'backup'); ?></td>
<td width="30%"><?php echo __('Actions', 'backup'); ?></td>
<th><?php echo __('Backup date', 'backup'); ?></th>
<th><?php echo __('Size', 'backup'); ?></th>
<th></th>
</tr>
</thead>
<tbody>
@@ -37,10 +37,12 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
</td>
<td><?php echo Number::byteFormat(filesize(ROOT . DS . 'backups' . DS . $backup)); ?></td>
<td>
<div class="pull-right">
<?php echo Html::anchor(__('Delete', 'backup'),
'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>
</tr>
<?php } ?>