From 9d84335b7cf77e2765cdac4e6cf1412c917b2e57 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Mon, 13 Sep 2010 11:35:20 +0200 Subject: [PATCH] Adapted resourcesload layout for vertical adjustment FEA: ItEr60S16AdaptacionsPantallasNavalPlan --- .../web/ganttz/zul/plannerLayout.zul | 26 +++++++++++++++++++ .../web/ganttz/zul/resourcesLoadLayout.zul | 4 +-- .../main/webapp/common/layout/template.zul | 4 ++- .../src/main/webapp/planner/css/ganttzk.css | 12 ++++++++- 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/ganttzk/src/main/resources/web/ganttz/zul/plannerLayout.zul b/ganttzk/src/main/resources/web/ganttz/zul/plannerLayout.zul index 6848fc21b..d7d88e977 100644 --- a/ganttzk/src/main/resources/web/ganttz/zul/plannerLayout.zul +++ b/ganttzk/src/main/resources/web/ganttz/zul/plannerLayout.zul @@ -1,5 +1,31 @@ + + + + + + diff --git a/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul b/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul index 196c61983..8aed780cf 100644 --- a/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul +++ b/ganttzk/src/main/resources/web/ganttz/zul/resourcesLoadLayout.zul @@ -21,14 +21,14 @@ - + - + diff --git a/navalplanner-webapp/src/main/webapp/common/layout/template.zul b/navalplanner-webapp/src/main/webapp/common/layout/template.zul index 62bcd0726..33f8a2476 100644 --- a/navalplanner-webapp/src/main/webapp/common/layout/template.zul +++ b/navalplanner-webapp/src/main/webapp/common/layout/template.zul @@ -108,7 +108,9 @@ -
+ +
+
diff --git a/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css b/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css index 1d4b59a24..045450ba3 100644 --- a/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css +++ b/navalplanner-webapp/src/main/webapp/planner/css/ganttzk.css @@ -1191,6 +1191,16 @@ body .perspectives-column { background-color: #484e4d; } +/* Workaround for zk 100% height just root components */ +.main-area {height: 100%;} .main-area .z-center-body > span {height: 100%;} .main-area .z-center-body > span > div { height: 100%;} -.main-area .z-center-body > span > div > span { height: 100%;} \ No newline at end of file +.main-area .z-center-body > span > div > span { height: 100%;} +.main-area .z-center-body > span > div > div { height: 100%;} +.main-area .z-center-body > span > div > div > span { height: 100%;} + +.main-area > span {height: 100%;} +.main-area > span > div { height: 100%;} +.main-area > span > div > span { height: 100%;} +.main-area > span > div > div { height: 100%;} +.main-area > span > div > div > span { height: 100%;} \ No newline at end of file