mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 18:30:20 +02:00
Filesmanager Plugin: layout fixes.
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
Form::open(null, array('enctype' => 'multipart/form-data')).
|
Form::open(null, array('enctype' => 'multipart/form-data')).
|
||||||
Form::hidden('csrf', Security::token()).
|
Form::hidden('csrf', Security::token()).
|
||||||
Form::input('file', null, array('type' => 'file', 'size' => '25')).Html::br().
|
Form::input('file', null, array('type' => 'file', 'size' => '25')).Html::br().
|
||||||
Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn btn-small')).
|
Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn')).
|
||||||
Form::close()
|
Form::close()
|
||||||
)
|
)
|
||||||
?>
|
?>
|
||||||
@@ -39,10 +39,10 @@
|
|||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo __('Name', 'filesmanager'); ?></td>
|
<th><?php echo __('Name', 'filesmanager'); ?></th>
|
||||||
<td><?php echo __('Extension', 'filesmanager'); ?></td>
|
<th><?php echo __('Extension', 'filesmanager'); ?></th>
|
||||||
<td><?php echo __('Size', 'filesmanager'); ?></td>
|
<th><?php echo __('Size', 'filesmanager'); ?></th>
|
||||||
<td width="30%"><?php echo __('Actions', 'filesmanager'); ?></td>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -58,10 +58,12 @@
|
|||||||
<?php echo Number::byteFormat(Dir::size(UPLOADS . DS . $dir)); ?>
|
<?php echo Number::byteFormat(Dir::size(UPLOADS . DS . $dir)); ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
<div class="pull-right">
|
||||||
<?php echo Html::anchor(__('Delete', 'filesmanager'),
|
<?php echo Html::anchor(__('Delete', 'filesmanager'),
|
||||||
'index.php?id=filesmanager&delete_dir='.$dir.'&path='.$path.'&token='.Security::token(),
|
'index.php?id=filesmanager&delete_dir='.$dir.'&path='.$path.'&token='.Security::token(),
|
||||||
array('class' => 'btn', 'onclick' => "return confirmDelete('".__('Delete directory: :dir', 'filesmanager', array(':dir' => $dir))."')"));
|
array('class' => 'btn btn-small', 'onclick' => "return confirmDelete('".__('Delete directory: :dir', 'filesmanager', array(':dir' => $dir))."')"));
|
||||||
?>
|
?>
|
||||||
|
<div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
@@ -78,10 +80,12 @@
|
|||||||
<?php echo Number::byteFormat(filesize($files_path. DS .$file)); ?>
|
<?php echo Number::byteFormat(filesize($files_path. DS .$file)); ?>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
<div class="pull-right">
|
||||||
<?php echo Html::anchor(__('Delete', 'filesmanager'),
|
<?php echo Html::anchor(__('Delete', 'filesmanager'),
|
||||||
'index.php?id=filesmanager&delete_file='.$file.'&path='.$path.'&token='.Security::token(),
|
'index.php?id=filesmanager&delete_file='.$file.'&path='.$path.'&token='.Security::token(),
|
||||||
array('class' => 'btn btn-actions', 'onclick' => "return confirmDelete('".__('Delete file: :file', 'filesmanager', array(':file' => $file))."')"));
|
array('class' => 'btn btn-small', 'onclick' => "return confirmDelete('".__('Delete file: :file', 'filesmanager', array(':file' => $file))."')"));
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } } ?>
|
<?php } } ?>
|
||||||
|
Reference in New Issue
Block a user