mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 18:30:20 +02:00
Frontend Improvements
This commit is contained in:
@@ -2,27 +2,35 @@
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
<!-- Filesmanager_upload_files -->
|
<!-- Filesmanager_upload_files -->
|
||||||
|
<div class="row">
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::open(null, array('enctype' => 'multipart/form-data')).
|
Form::open(null, array('enctype' => 'multipart/form-data', 'class' => 'form-inline')).
|
||||||
Form::hidden('csrf', Security::token())
|
Form::hidden('csrf', Security::token())
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
<div class="col-md-6">
|
||||||
<div class="fileupload fileupload-new" data-provides="fileupload">
|
<div class="fileupload fileupload-new" data-provides="fileupload">
|
||||||
<span class="btn btn-small btn-file"><span class="fileupload-new"><?php echo __('Select file', 'filesmanager'); ?></span><span class="fileupload-exists"><?php echo __('Change', 'filesmanager'); ?></span><input type="file" name="file" /></span>
|
<span class="btn btn-default btn-file"><span class="fileupload-new"><?php echo __('Select file', 'filesmanager'); ?></span><span class="fileupload-exists"><?php echo __('Change', 'filesmanager'); ?></span><input type="file" name="file" /></span>
|
||||||
|
<?php
|
||||||
|
echo (
|
||||||
|
Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn btn-primary')).
|
||||||
|
Form::close()
|
||||||
|
)
|
||||||
|
?>
|
||||||
<span class="fileupload-preview"></span>
|
<span class="fileupload-preview"></span>
|
||||||
<a href="#" class="close fileupload-exists" data-dismiss="fileupload">×</a>
|
<a href="#" class="close fileupload-exists" data-dismiss="fileupload">×</a>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
</div>
|
||||||
echo (
|
<div class="col-md-2">
|
||||||
Form::submit('upload_file', __('Upload', 'filesmanager'), array('class' => 'btn')).
|
|
||||||
Form::close()
|
</div>
|
||||||
)
|
</div>
|
||||||
?>
|
|
||||||
<!-- /Filesmanager_upload_files -->
|
<!-- /Filesmanager_upload_files -->
|
||||||
|
|
||||||
|
<br>
|
||||||
<!-- Filesmanger_path -->
|
<!-- Filesmanger_path -->
|
||||||
<ul class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$path_parts = explode ('/',$path);
|
$path_parts = explode ('/',$path);
|
||||||
@@ -41,9 +49,10 @@
|
|||||||
echo '<li'.$active.'><a href="index.php?id=filesmanager&path='.$s.'">'.$p.'</a> <span class="divider">/</span></li>';
|
echo '<li'.$active.'><a href="index.php?id=filesmanager&path='.$s.'">'.$p.'</a> <span class="divider">/</span></li>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ol>
|
||||||
<!-- /Filesmanger_path -->
|
<!-- /Filesmanger_path -->
|
||||||
|
|
||||||
|
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -95,7 +104,7 @@
|
|||||||
<div class="pull-right">
|
<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-small', 'onclick' => "return confirmDelete('".__('Delete file: :file', 'filesmanager', array(':file' => $file))."')"));
|
array('class' => 'btn btn-danger', 'onclick' => "return confirmDelete('".__('Delete file: :file', 'filesmanager', array(':file' => $file))."')"));
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user