ItEr55S11RFAspectosGraficosRecursoLimitantesItEr54S12: Added static dependencies and styling for limitingResource elements
This commit is contained in:
parent
f904272b36
commit
d3eb02cecb
4 changed files with 39 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<c:set var="self" value="${requestScope.arg.self}"/>
|
||||
|
||||
<div id="${self.uuid}" class="row_resourceload resourceload-${self.resourceLoadType}"
|
||||
<div id="${self.uuid}" class="row_resourceload resourcequeue-${self.resourceLoadType}"
|
||||
z.autoz="true" ${self.outerAttrs}">
|
||||
<span class="resourceload_name">${self.resourceLoadName}</span>
|
||||
<c:forEach var="child" items="${self.children}">
|
||||
|
|
|
|||
|
|
@ -3,9 +3,33 @@
|
|||
|
||||
<c:set var="self" value="${requestScope.arg.self}"/>
|
||||
|
||||
<div id="${self.uuid}" ${self.outerAttrs} class="resourceloadlist"
|
||||
z.type="ganttz.resourceload.resourcesloadlist.ResourcesLoadList">
|
||||
<div id="${self.uuid}" ${self.outerAttrs} class="limitingresourceslist"
|
||||
z.type="ganttz.limitingresources.limitingresourceslist.LimitingResourcesList">
|
||||
<c:forEach var="child" items="${self.children}">
|
||||
${z:redraw(child, null)}
|
||||
</c:forEach>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- FIX: hardcoded dependency list test -->
|
||||
<div z.autoz="true" z.type="ganttz.dependencylist.Dependencylist" id="z_7i_p73">
|
||||
<div id="listdependencies">
|
||||
|
||||
<div type="END_START" z.ctx="uuid(z_7i_383)" idtaskend="z_7i_v73" idtaskorig="z_7i_t73" z.type="ganttz.dependency.Dependency" id="z_7i_283" class="dependency">
|
||||
<img class="start extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/pixel.gif" style="top: -35px; height: 5px; left: 222px; width:1px;">
|
||||
<img class="mid extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/pixel.gif" style="top: -30px; width: 58px; left: 222px;height:1px;">
|
||||
<img class="end extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/pixel.gif" style="top: -35px; left: 280px; height: 5px;width:1px;">
|
||||
<img class="arrow extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/arrow.png" style="top: -45px; left: 275px; image-orientation: 270deg;">
|
||||
</div>
|
||||
|
||||
<div type="END_START" idtaskend="z_7i_v73" idtaskorig="z_7i_t73" z.type="ganttz.dependency.Dependency" id="z_7i_283" class="dependency">
|
||||
<img class="start extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/pixel.gif" style="top: -31px; left: 242px; height: 20px;width:1px;">
|
||||
<img class="mid extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/pixel.gif" style="top: -49px; width: 18px; left: 242px;height:1px;">
|
||||
<img class="end extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/pixel.gif" style="top: -31px; left: 242px; height: 20px;width:1px;">
|
||||
<img class="arrow extra_padding" src="/navalplanner-webapp/zkau/web/ganttz/img/arrow.png" style="top: -36px; left: 252px;border-color:red;">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -32,7 +32,7 @@ function addLimitingResourcesListMethods(object) {
|
|||
}
|
||||
|
||||
function resourceloadlist() {
|
||||
return YAHOO.util.Selector.query('.resourceloadlist')[0];
|
||||
return YAHOO.util.Selector.query('.limitingresourceslist')[0];
|
||||
}
|
||||
|
||||
function taskspanelgap() {
|
||||
|
|
@ -60,7 +60,7 @@ function addLimitingResourcesListMethods(object) {
|
|||
object.init = function(cmp) {
|
||||
this.adjustTimeTrackerSize(cmp);
|
||||
YAHOO.util.Event.addListener(window, 'resize',
|
||||
zkResourcesLoadList.adjustTimeTrackerSize, cmp);
|
||||
zkLimitingResourcesList.adjustTimeTrackerSize, cmp);
|
||||
scrollSync = new ScrollSync(cmp);
|
||||
scrollSync.synchXChangeTo(timetracker);
|
||||
|
||||
|
|
@ -89,12 +89,12 @@ function addLimitingResourcesListMethods(object) {
|
|||
watermark().style["height"] = cmp.clientHeight + "px";
|
||||
timetracker().style["width"] = cmp.clientWidth + "px";
|
||||
/* Set watermark width */
|
||||
YAHOO.util.Selector.query('.resourceloadlist')[0].style["width"] = YAHOO.util.Selector
|
||||
YAHOO.util.Selector.query('.limitingresourceslist')[0].style["width"] = YAHOO.util.Selector
|
||||
.query('.second_level_')[0].clientWidth
|
||||
+ "px";
|
||||
YAHOO.util.Selector.query('.rightpanellayout tr#watermark td')[0].style["height"] =
|
||||
/* Calculate min : taskspanelgap().clientHeight + 120 + 'px'; ) */
|
||||
YAHOO.util.Selector.query('.resourceloadlist')[0].clientHeight + 120
|
||||
YAHOO.util.Selector.query('.limitingresourceslist')[0].clientHeight + 120
|
||||
+ "px";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -607,6 +607,14 @@ tr.z-vbox-sep {
|
|||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* ---------- Start Limiting resources --------------- */
|
||||
.limitingresourceslist .row_resourceload {
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
/* ---------- End Limiting resources ----------------- */
|
||||
|
||||
|
||||
.timetrackergap {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue