moved search box directly to template

This commit is contained in:
Jan-Christoph Borchardt 2011-08-10 22:56:44 +02:00
parent 05f3910718
commit 6af4c2dd0f
2 changed files with 14 additions and 19 deletions

View File

@ -5,11 +5,9 @@
/* FILE MENU */
.actions { padding:.6em; float:right; margin-right:13em; }
.actions input { margin:0; padding:.3em; }
.actions div { position: relative; display:inline-block; }
#file_menu { right:0; position:absolute; top:0; }
#file_menu a { display:block; float:left; background-image:none; text-decoration:none; }
.file_upload_form { display: inline; z-index: 5;}
#file_newfolder_form { display:inline; z-index: 6;}
.file_upload_form, #file_newfolder_form { display:inline; }
#fileSelector, #file_upload_submit, #file_newfolder_submit { display:none; }
.file_upload_wrapper, #file_newfolder_name { background-repeat:no-repeat; background-position:.5em .3em; padding-left:2em; }
.file_upload_wrapper { background:url("../img/file.png"); font-weight:bold; position:relative; top:-1.2em; left:-2em; display:-moz-inline-box; /* fallback for older firefox versions*/ display:inline-block; width:8em; }

View File

@ -1,7 +1,6 @@
<div id="controls">
<?php echo($_['breadcrumb']); ?>
<div class="actions">
<div syle="z-index:4;">
<form data-upload-id='1' class="file_upload_form" action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target_1">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
@ -12,12 +11,10 @@
</div>
<iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
</form>
</div><div style="z-index:5;">
<form id="file_newfolder_form">
<input type="text" name="file_newfolder_name" id="file_newfolder_name" value="" placeholder="<?php echo $l->t('New Folder')?>" />
</form>
</div>
</div>
<div id="file_action_panel">
</div>
</div>