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 >
|
||||
<north border="0" height="38px" flex="true" collapsible="true">
|
||||
<vbox pack="center" align="center">
|
||||
<vbox pack="top" align="center">
|
||||
<tree fixedLayout="true">
|
||||
<treecols>
|
||||
<treecol label="Name" height="29px"/>
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
var TIMETRACKER_OFFSET_TOP = 120;
|
||||
|
||||
zkResourcesLoadList = addResourcesLoadListMethods( {});
|
||||
|
||||
function addResourcesLoadListMethods(object) {
|
||||
|
|
@ -84,13 +82,8 @@ function addResourcesLoadListMethods(object) {
|
|||
var leftpanel_ = leftpanel();
|
||||
|
||||
var onScroll = function() {
|
||||
timetrackergap_.style["position"] = "relative";
|
||||
timetrackergap_.style["left"] = "-" + scrolledpannel_.scrollLeft + "px";
|
||||
|
||||
leftpanel_.style["position"] = "relative";
|
||||
leftpanel_.style["top"] = "-" + scrolledpannel_.scrollTop + "px";
|
||||
|
||||
resourcesloadgraph_.style["position"] = "relative";
|
||||
resourcesloadgraph_.scrollLeft = scrolledpannel_.scrollLeft;
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -17,3 +17,28 @@
|
|||
* 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/>.
|
||||
*/
|
||||
|
||||
// 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;
|
||||
margin-top:10px;
|
||||
}
|
||||
|
||||
.listdetails {
|
||||
position:relative;
|
||||
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;
|
||||
}
|
||||
|
||||
#timetrackerheader table {
|
||||
height:15px;
|
||||
height:15px;
|
||||
}
|
||||
|
||||
#timetrackerheader .z-grid-body {
|
||||
display:none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.taskheaderscontainer, .leftpanelgap, .plannergraph div {
|
||||
position:relative";
|
||||
.taskheaderscontainer, .leftpanelgap, .plannergraph div,
|
||||
.resourcesloadgraph div {
|
||||
position:relative;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue