1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 20:57:49 +02:00

Frontend Improvements

This commit is contained in:
Awilum
2013-12-30 23:38:45 +02:00
parent 2c3d224e62
commit 197cd7afde
2 changed files with 11 additions and 1 deletions

View File

@@ -10,11 +10,17 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
<div>
<?php
echo (
Form::open() .
Form::open(null, array('class' => 'form-inline')) .
Form::hidden('csrf', Security::token()).
'<div class="checkbox"><label>'.
Form::checkbox('add_storage_folder', null, true, array('disabled' => 'disabled')) . ' ' . __('storage', 'backup') . ' ' . Html::nbsp(2) .
'</label></div>'.
'<div class="checkbox"><label>'.
Form::checkbox('add_public_folder') . ' ' . __('public', 'backup') . ' ' . Html::nbsp(2) .
'</label></div>'.
'<div class="checkbox"><label>'.
Form::checkbox('add_plugins_folder') . ' ' . __('plugins', 'backup') . ' ' . Html::nbsp(2) .
'</label></div>'.
Form::submit('create_backup', __('Create Backup', 'backup'), array('class' => 'btn btn-primary', 'data-loading-text' => __('Creating...', 'backup'))).
Form::close()
);