Author: ralfbecker
New Revision: 55129
URL: http://svn.stylite.de/viewvc/egroupware?rev=55129&view=rev
Log:
improve filemanager alignment and look, remove tarp in favor of just some empty space and take possible hidden file-upload into account width of path
Modified:
trunk/filemanager/js/app.js
trunk/filemanager/templates/default/app.css
trunk/filemanager/templates/default/index.xet
trunk/filemanager/templates/pixelegg/app.css
— trunk/filemanager/js/app.js (original)
+++ trunk/filemanager/js/app.js Wed Feb 24 11:41:18 2016
@@ -720,7 +720,7 @@
// Toggle button icon to the other view
button_widget.set_image(“list_”+(view == nm.controller.VIEW_ROW ? nm.controller.VIEW_TILE : nm.controller.VIEW_ROW));
@@ -737,7 +737,7 @@
{
template.loading.done(function() {
nm.applyFilters({view: view});
@@ -853,7 +853,7 @@
widget.options.onFinish = function() {
widget.options.onFinish = old_onfinish;
widget.options.onFinishOne = old_onfinishone;
@@ -893,8 +893,14 @@
{
widget.set_readonly(_ro);
}
-
// upload
-
else if (widget.disabled != _ro)
{
-
// fix width of path-widget to kope with hidden/shown upload
-
var path_parent = jQuery(this.path_widget[id].getDOMNode().parentNode);
-
var width = jQuery(widget.getDOMNode()).outerWidth(true);
-
path_parent.css('right', (parseInt(path_parent.css('right'))+(_ro?-1:1)*width)+'px');
-
widget.set_disabled(_ro);
}
}
— trunk/filemanager/templates/default/app.css (original)
+++ trunk/filemanager/templates/default/app.css Wed Feb 24 11:41:18 2016
@@ -24,7 +24,7 @@
#filemanager-index_filemanager-index-header_left {
float: left;
width: 100%;
- margin-bottom: 2px;
}
div.filemanager_navigation {
position: relative;
@@ -40,13 +40,13 @@
#filemanager-index_buttons {
float: right;
}
-img#filemanager-index_tarp {
- height: 22px;
+button#filemanager-index_button[change_view] {
- margin-right: 20px;
}
div.filemanager_navigation > label {
position: absolute;
left: 56px;
- right: 456px;
font-size: 140%;
white-space: nowrap;
}
— trunk/filemanager/templates/default/index.xet (original)
+++ trunk/filemanager/templates/default/index.xet Wed Feb 24 11:41:18 2016
@@ -52,7 +52,6 @@
-
<image id="tarp" src="buttonseparator"/>
<buttononly statustext="Rename, change permissions or ownership" id="button[edit]" onclick="app.filemanager.editprefs();" image="edit" background_image="true"/>
<buttononly statustext="Create directory" id="button[createdir]" onclick="app.filemanager.createdir();" image="button_createdir" ro_image="createdir_disabled" background_image="true"/>
<buttononly statustext="Create a link" id="button[symlink]" onclick="app.filemanager.symlink();" image="link" ro_image="link_disabled" background_image="true"/>
— trunk/filemanager/templates/pixelegg/app.css (original)
+++ trunk/filemanager/templates/pixelegg/app.css Wed Feb 24 11:41:18 2016
@@ -53,7 +53,7 @@
#filemanager-index_filemanager-index-header_left {
float: left;
width: 100%;
- margin-bottom: 2px;
}
div.filemanager_navigation {
position: relative;
@@ -69,13 +69,13 @@
#filemanager-index_buttons {
float: right;
}
-img#filemanager-index_tarp {
- height: 22px;
+button#filemanager-index_button[change_view] {
- margin-right: 20px;
}
div.filemanager_navigation > label {
position: absolute;
left: 56px;
- right: 456px;
font-size: 140%;
white-space: nowrap;
}
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs