mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Filemanager: Anonymous UI style improvements
- add refresh button - add some background colour & logo
This commit is contained in:
parent
2e12d92d51
commit
f6687dd310
@ -56,6 +56,7 @@ class AnonymousList extends filemanager_ui
|
||||
|
||||
// Override and take over get_rows so we can customize
|
||||
$content['nm']['get_rows'] = '.' . get_class($this) . '.get_rows';
|
||||
$content['nm']['show_refresh'] = true;
|
||||
|
||||
return parent::listview($content, $msg);
|
||||
}
|
||||
|
@ -48,8 +48,15 @@
|
||||
</grid>
|
||||
</template>
|
||||
<template id="filemanager.index.header_left" template="" lang="" group="0" version="1.9.002">
|
||||
<file label="Upload" statustext="Select file to upload in current directory" id="upload" progress_dropdownlist = "true" drop_target="filemanager-index" multiple="true" onFinishOne="app.filemanager.uploadOnOne"/>
|
||||
</template>
|
||||
<!-- Anonymous view has some extras - logo & button -->
|
||||
<image src="logo" disabled="!@show_refresh" hideOnReadonly="true" width="150px"/>
|
||||
<buttononly id="reload" statustext="Reload" onclick="app.filemanager.et2.getInstanceManager().refresh()"
|
||||
disabled="!@show_refresh" hideOnReadonly="true"
|
||||
background_image="true" image="reload"/>
|
||||
<file label="Upload" statustext="Select file to upload in current directory" id="upload"
|
||||
progress_dropdownlist="true" drop_target="filemanager-index" multiple="true"
|
||||
onFinishOne="app.filemanager.uploadOnOne"/>
|
||||
</template>
|
||||
<template id="filemanager.index.header_row" template="" lang="" group="0" version="1.9.002">
|
||||
<buttononly id="home" statustext="Go to your home directory" image="gohome" background_image="true" onclick="app.filemanager.change_dir('~',widget);"/>
|
||||
<buttononly id="up" statustext="Up" image="goup" background_image="true" onclick="app.filemanager.change_dir('..',widget);"/>
|
||||
|
@ -24,52 +24,53 @@ select#filemanager-index_filter, span.selectcols, #filemanager-index_filemanager
|
||||
display: none !important;
|
||||
}
|
||||
div#filemanager-index_buttons img#filemanager-index_button\[change_view\] {
|
||||
display: inline-block !important;
|
||||
position: absolute;
|
||||
right: 360px;
|
||||
top: 4px;
|
||||
display: inline-block !important;
|
||||
position: absolute;
|
||||
right: 360px;
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
.nextmatch_header_row {
|
||||
background-color: #fbfbfb;
|
||||
}
|
||||
|
||||
div.filemanager_navigation {
|
||||
margin: -5px 0 8px 10px !important;
|
||||
margin: -5px 0 8px 10px !important;
|
||||
}
|
||||
|
||||
div.filemanager_navigation > label {
|
||||
right: 427px !important;
|
||||
}
|
||||
|
||||
div.search {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 190px;
|
||||
}
|
||||
|
||||
div#filemanager-index_buttons div.et2_file {
|
||||
width: 160px;
|
||||
margin-top: 3px;
|
||||
padding-right: 20px;
|
||||
width: 160px;
|
||||
margin-top: 3px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
div.et2_nextmatch div.nextmatch_header_row {
|
||||
padding-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
div.et2_nextmatch thead{
|
||||
display: none;
|
||||
|
||||
div.et2_nextmatch thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.nextmatch_header {
|
||||
|
||||
}
|
||||
|
||||
div.search {
|
||||
position: relative;
|
||||
width: 35%;
|
||||
right: 6px;
|
||||
max-width: 98%;
|
||||
top: 0;
|
||||
float: right !important;
|
||||
#filemanager-index_nm_reload et2-image {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
div.search {
|
||||
width: 25%;
|
||||
max-width: 98%;
|
||||
}
|
||||
|
||||
div.search .et2_searchbox .flex {
|
||||
width: 100%;
|
||||
float: right;
|
||||
padding-right: 0;
|
||||
width: 100%;
|
||||
float: right;
|
||||
padding-right: 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user