Add file manager filter to top
This commit is contained in:
parent
ac1527acf0
commit
c599e8a54d
@ -1,5 +1,4 @@
|
||||
<!-- create overlay page -->
|
||||
|
||||
<div id="popup_mkdir" class="overlay">
|
||||
<div class="popup">
|
||||
<h2> Make Directory </h2>
|
||||
@ -106,25 +105,11 @@
|
||||
|
||||
<!-- file manager -->
|
||||
<div class="col-md-8 col-sm-8 col-xs-12">
|
||||
<div class="x_panel">
|
||||
<div class="x_title">
|
||||
<h2>File Manager</h2>
|
||||
<ul class="nav navbar-right panel_toolbox">
|
||||
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="#">Settings 1</a>
|
||||
</li>
|
||||
<li><a href="#">Settings 2</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<div class="panel panel-body">
|
||||
<div class="x_title" id="file_manager_filter_div">
|
||||
<h2 style="width:130px">File Manager</h2>
|
||||
</div>
|
||||
<div class="x_content">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12" id="file_manager_div">
|
||||
<%= raw file_manager_table %>
|
||||
</div>
|
||||
@ -298,8 +283,27 @@ function draw_chart(du){
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#file_manager_table').dataTable( {
|
||||
"bSort": false
|
||||
var table = $('#file_manager_table').dataTable( {
|
||||
"bSort": false,
|
||||
initComplete: function(){
|
||||
$('#file_manager_table_filter').detach().appendTo("#file_manager_filter_div").css({
|
||||
'width':'250px'
|
||||
});
|
||||
$('#file_manager_table_length').detach().appendTo("#file_manager_filter_div").css({
|
||||
'width':'150px',
|
||||
'float':'right'
|
||||
});
|
||||
$('#file_manager_filter_div').css({
|
||||
'width':'100%',
|
||||
'height':'48px',
|
||||
});
|
||||
$('#file_manager_filter_div input').css({
|
||||
'width':'70%',
|
||||
'height':'70%',
|
||||
'font-size':'14px',
|
||||
'padding':'5px'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
var options = {
|
||||
|
Loading…
Reference in New Issue
Block a user