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

#64 Admin Responsive - Next Round

This commit is contained in:
Awilum
2014-05-08 22:52:08 +04:00
parent 635eb98c4e
commit a17ee5f09c
2 changed files with 5 additions and 7 deletions

View File

@@ -554,7 +554,7 @@ td, th {
float: left!important;
}
.system-buttons .btn {
.btn-phone {
width: 100%;
}
}

View File

@@ -1,13 +1,11 @@
<div class="system-buttons">
<?php echo Html::anchor(__('Create Sitemap', 'system'), 'index.php?id=system&sitemap=create&token='.Security::token(), array('class' => 'btn btn-default')).Html::nbsp(2); ?>
<?php echo Html::anchor(__('Delete Temporary Files', 'system'), 'index.php?id=system&temporary_files=delete&token='.Security::token(), array('class' => 'btn btn-default')).Html::nbsp(2); ?>
<?php echo Html::anchor(__('Delete Temporary Files', 'system'), 'index.php?id=system&temporary_files=delete&token='.Security::token(), array('class' => 'btn btn-phone btn-default')).Html::nbsp(2); ?>
<?php if ('off' == Option::get('maintenance_status', 'system')) { ?>
<?php echo Html::anchor(__('Maintenance Mode On', 'system'), 'index.php?id=system&maintenance=on&token='.Security::token(), array('class' => 'btn btn-default')); ?>
<?php echo Html::anchor(__('Maintenance Mode On', 'system'), 'index.php?id=system&maintenance=on&token='.Security::token(), array('class' => 'btn btn-phone default')); ?>
<?php } else { ?>
<?php echo Html::anchor(__('Maintenance Mode Off', 'system'), 'index.php?id=system&maintenance=off&token='.Security::token(), array('class' => 'btn btn-danger')); ?>
<?php echo Html::anchor(__('Maintenance Mode Off', 'system'), 'index.php?id=system&maintenance=off&token='.Security::token(), array('class' => 'btn btn-phone btn-danger')); ?>
<?php } ?>
<?php Action::run('admin_system_extra_buttons'); ?>
</div>
<hr>
@@ -110,7 +108,7 @@
<div class="col-md-6">
<?php
echo (
Form::submit('edit_settings', __('Save', 'system'), array('class' => 'btn btn-primary')).
Form::submit('edit_settings', __('Save', 'system'), array('class' => 'btn btn-phone btn-primary')).
Form::close()
);
?>