ItEr30S05RFComportamentoGraficoPlanificadorItEr23S12: Timetracker graphical enhancements in resourcesload tab
This commit is contained in:
parent
bd75cf1665
commit
03a4194e09
4 changed files with 34 additions and 14 deletions
|
|
@ -53,7 +53,7 @@
|
||||||
|
|
||||||
<borderlayout >
|
<borderlayout >
|
||||||
<north border="0" height="38px" flex="true" collapsible="true">
|
<north border="0" height="38px" flex="true" collapsible="true">
|
||||||
<vbox pack="center" align="center">
|
<vbox pack="top" align="center">
|
||||||
<tree fixedLayout="true">
|
<tree fixedLayout="true">
|
||||||
<treecols>
|
<treecols>
|
||||||
<treecol label="Name" height="29px"/>
|
<treecol label="Name" height="29px"/>
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var TIMETRACKER_OFFSET_TOP = 120;
|
|
||||||
|
|
||||||
zkResourcesLoadList = addResourcesLoadListMethods( {});
|
zkResourcesLoadList = addResourcesLoadListMethods( {});
|
||||||
|
|
||||||
function addResourcesLoadListMethods(object) {
|
function addResourcesLoadListMethods(object) {
|
||||||
|
|
@ -84,13 +82,8 @@ function addResourcesLoadListMethods(object) {
|
||||||
var leftpanel_ = leftpanel();
|
var leftpanel_ = leftpanel();
|
||||||
|
|
||||||
var onScroll = function() {
|
var onScroll = function() {
|
||||||
timetrackergap_.style["position"] = "relative";
|
|
||||||
timetrackergap_.style["left"] = "-" + scrolledpannel_.scrollLeft + "px";
|
timetrackergap_.style["left"] = "-" + scrolledpannel_.scrollLeft + "px";
|
||||||
|
|
||||||
leftpanel_.style["position"] = "relative";
|
|
||||||
leftpanel_.style["top"] = "-" + scrolledpannel_.scrollTop + "px";
|
leftpanel_.style["top"] = "-" + scrolledpannel_.scrollTop + "px";
|
||||||
|
|
||||||
resourcesloadgraph_.style["position"] = "relative";
|
|
||||||
resourcesloadgraph_.scrollLeft = scrolledpannel_.scrollLeft;
|
resourcesloadgraph_.scrollLeft = scrolledpannel_.scrollLeft;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -17,3 +17,28 @@
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Check if this is advanced location tab
|
||||||
|
|
||||||
|
function plannergraph() {
|
||||||
|
return YAHOO.util.Selector.query('.plannergraph div')[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function listenToScroll() {
|
||||||
|
|
||||||
|
var timetrackergap_ = timetrackergap();
|
||||||
|
var scrolledpannel_ = scrolledpannel();
|
||||||
|
var resourcesloadgraph_ = resourcesloadgraph();
|
||||||
|
var leftpanel_ = leftpanel();
|
||||||
|
|
||||||
|
var onScroll = function() {
|
||||||
|
timetrackergap_.style["left"] = "-" + scrolledpannel_.scrollLeft + "px";
|
||||||
|
leftpanel_.style["top"] = "-" + scrolledpannel_.scrollTop + "px";
|
||||||
|
resourcesloadgraph_.scrollLeft = scrolledpannel_.scrollLeft;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
YAHOO.util.Selector.query('.rightpanellayout div')[0].onscroll = onScroll;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -607,24 +607,26 @@ div.z-tree {
|
||||||
display:visible;
|
display:visible;
|
||||||
margin-top:10px;
|
margin-top:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.listdetails {
|
.listdetails {
|
||||||
position:relative;
|
position:relative;
|
||||||
top:-18px;
|
top:-18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plannerlayout div.z-tree, .plannerlayout div.z-grid,
|
||||||
.plannerlayout div.z-tree, .plannerlayout div.z-grid {
|
.resourcesload div.z-tree, .resourcesload div.z-grid {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#timetrackerheader table {
|
#timetrackerheader table {
|
||||||
height:15px;
|
height:15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#timetrackerheader .z-grid-body {
|
#timetrackerheader .z-grid-body {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.taskheaderscontainer, .leftpanelgap, .plannergraph div {
|
.taskheaderscontainer, .leftpanelgap, .plannergraph div,
|
||||||
position:relative";
|
.resourcesloadgraph div {
|
||||||
|
position:relative;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Reference in a new issue