Changeset 17848
- Timestamp:
- 08/07/08 12:12:28 (4 months ago)
- Files:
-
- trunk/core/web/css/noframes.css (modified) (7 diffs)
- trunk/core/web/css/noframesie.css (modified) (5 diffs)
- trunk/core/web/html/resource/AllocateByProject.html (modified) (1 diff)
- trunk/core/web/html/resource/AllocateByResource.html (modified) (1 diff)
- trunk/core/web/html/resource/AssignmentSummary.html (modified) (1 diff)
- trunk/core/web/html/resource/Directory.html (modified) (3 diffs)
- trunk/core/web/html/resource/ResourceAllocationSummary.html (modified) (1 diff)
- trunk/core/web/html/resource/ViewDetails.html (modified) (1 diff)
- trunk/core/web/html/resource/ViewSummary.html (modified) (1 diff)
- trunk/core/web/html/resource/ViewVsAssignments.html (modified) (1 diff)
- trunk/core/web/html/resource/management/components/Layout.html (modified) (4 diffs)
- trunk/core/web/html/resource/management/components/NavBar.html (modified) (2 diffs)
- trunk/core/web/src/allocateByProject-grid.js (modified) (4 diffs)
- trunk/core/web/src/allocateByResource-grid.js (modified) (4 diffs)
- trunk/core/web/src/assignmentSummary-grid.js (modified) (4 diffs)
- trunk/core/web/src/components/myAssignment-treeGrid.js (modified) (1 diff)
- trunk/core/web/src/components/myAssignments-dashboard.js (modified) (3 diffs)
- trunk/core/web/src/directory-Panel.js (modified) (2 diffs)
- trunk/core/web/src/resourceAllocationSummary-grid.js (modified) (4 diffs)
- trunk/core/web/src/viewDetails-grid.js (modified) (3 diffs)
- trunk/core/web/src/viewSummary-grid.js (modified) (4 diffs)
- trunk/core/web/src/viewVsAssignments-grid.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/web/css/noframes.css
r17845 r17848 44 44 top: $$prm.custom.topmenu.height$$px; 45 45 bottom: 0; 46 width: 1 96px;46 width: 186px; 47 47 margin: 0; 48 48 overflow: auto; … … 79 79 80 80 /* 81 div#fixedBottomLine table.fixed { 82 padding-left: 196px; 83 }*/ 84 85 /* 81 86 div#fixedBottomFooter { 82 87 height: 37px; … … 85 90 } 86 91 */ 92 93 div#fixedBottomLine { 94 width: 80%; 95 height: 29px; 96 left: 196px; 97 } 87 98 88 99 div#content { … … 94 105 95 106 div#tcontent { 96 left: 30px; 97 position: relative; 98 top: 25px; 99 width: 96%; 107 padding: 0px; 108 padding-left: 196px; 109 padding-top: 0px; 100 110 } 101 111 … … 266 276 background: url('jspRootUrl/images/menu/leftheading.png'); 267 277 width: 160px; 268 height: 23px;278 /*height: 23px;*/ 269 279 padding-left: 14px; 270 280 margin-top: 4px; … … 278 288 background: url('jspRootUrl/images/menu/leftheading_business.png'); 279 289 width: 160px; 280 height: 23px;290 /*height: 23px;*/ 281 291 padding-left: 14px; 282 292 margin-top: 4px; … … 290 300 background: url('jspRootUrl/images/menu/leftheading_projects.png'); 291 301 width: 160px; 292 height: 23px;302 /*height: 23px;*/ 293 303 padding-left: 14px; 294 304 margin-top: 4px; trunk/core/web/css/noframesie.css
r17845 r17848 40 40 } 41 41 42 div#tcontent {43 left: 30px;44 position: relative;45 top: 25px;46 }47 48 42 /* Content for Resources Tab */ 49 43 div#tcontent { 50 44 width: 80%; 51 height: 100%; 52 overflow-y: auto; 53 overflow-x: auto; 54 padding-left: 196px; 45 top: 104px; 46 left: 100px; 47 position: absolute; 48 height: auto; 49 overflow: hidden; 50 padding-left: 22px; 51 /*overflow-y: auto; 52 top: 25px; 53 overflow-x: auto;*/ 55 54 } 56 55 … … 79 78 div#tLeftframe { 80 79 top: 0px; 81 width: 1 55px;80 width: 174px; 82 81 height: 100%; 83 82 padding: 62px 0 0 0; … … 87 86 #leftheading-person { 88 87 background: url('jspRootUrl/images/menu/leftheading.png'); 88 background-repeat: no-repeat; 89 89 width: 174px; 90 height: 23px;90 /*height: 23px;*/ 91 91 padding-left: 14px; 92 92 margin-top: 4px; … … 99 99 #leftheading-business { 100 100 background: url('jspRootUrl/images/menu/leftheading_business.png'); 101 background-repeat: no-repeat; 101 102 width: 174px; 102 height: 23px;103 /*height: 23px;*/ 103 104 padding-left: 14px; 104 105 margin-top: 4px; … … 111 112 #leftheading-project { 112 113 background: url('jspRootUrl/images/menu/leftheading_projects.png'); 114 background-repeat: no-repeat; 113 115 width: 174px; 114 height: 23px;116 /*height: 23px;*/ 115 117 padding-left: 14px; 116 118 margin-top: 4px; trunk/core/web/html/resource/AllocateByProject.html
r17829 r17848 89 89 <script type="text/javascript" src="${jSPRootURL}/src/allocateByProject-grid.js?${versionNumber}"></script> 90 90 <t:SpaceMainMenu /> 91 <t:Footer />92 91 <t:NavBar /> 93 92 <div id="tcontent"> 94 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">93 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 95 94 <tr class="channelHeader"> 96 95 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/AllocateByResource.html
r17829 r17848 88 88 <script type="text/javascript" src="${jSPRootURL}/src/allocateByResource-grid.js?${versionNumber}"></script> 89 89 <t:SpaceMainMenu /> 90 <t:Footer />91 90 <t:NavBar /> 92 91 <div id="tcontent"> 93 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">92 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 94 93 <tr class="channelHeader"> 95 94 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/AssignmentSummary.html
r17829 r17848 48 48 <script type="text/javascript" src="${jSPRootURL}/src/assignmentSummary-grid.js?${versionNumber}"></script> 49 49 <t:SpaceMainMenu /> 50 <t:Footer />51 50 <t:NavBar /> 52 51 <div id="tcontent"> 53 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">52 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 54 53 <tr class="channelHeader"> 55 54 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/Directory.html
r17717 r17848 2 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 3 <t:Layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> 4 5 4 <link rel="stylesheet" type="text/css" href="${jSPRootURL}/styles/column-tree.css?${versionNumber}"/> 6 5 <style type="text/css"> … … 66 65 <script type="text/javascript" src="${jSPRootURL}/src/directory-Panel.js?${versionNumber}"></script> 67 66 <t:SpaceMainMenu /> 68 <t:Footer />69 67 <t:NavBar/> 70 68 <div id="tcontent"> … … 163 161 </div> 164 162 <script type="text/javascript"> 165 document.getElementById('tLeftframe').style.zIndex = "1"; 166 document.getElementById('fixedBottomFooter').style.zIndex = "1"; 163 //document.getElementById('tLeftframe').style.zIndex = "1"; 167 164 </script> 168 165 </t:Layout> trunk/core/web/html/resource/ResourceAllocationSummary.html
r17829 r17848 29 29 <script type="text/javascript" src="${jSPRootURL}/src/resourceAllocationSummary-grid.js?${versionNumber}"></script> 30 30 <t:SpaceMainMenu /> 31 <t:Footer/>32 31 <t:NavBar /> 33 32 <div id="tcontent" > 34 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">33 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 35 34 <tr class="channelHeader"> 36 35 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/ViewDetails.html
r17829 r17848 66 66 <script type="text/javascript" src="${jSPRootURL}/src/viewDetails-grid.js?${versionNumber}"></script> 67 67 <t:SpaceMainMenu /> 68 <t:Footer />69 68 <t:NavBar /> 70 69 <div id="tcontent"> 71 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">70 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 72 71 <tr class="channelHeader"> 73 72 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/ViewSummary.html
r17829 r17848 58 58 <script type="text/javascript" src="${jSPRootURL}/src/viewSummary-grid.js?${versionNumber}"></script> 59 59 <t:SpaceMainMenu /> 60 <t:Footer />61 60 <t:NavBar /> 62 61 <div id="tcontent"> 63 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">62 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 64 63 <tr class="channelHeader"> 65 64 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/ViewVsAssignments.html
r17829 r17848 62 62 <script type="text/javascript" src="${jSPRootURL}/src/viewVsAssignments-grid.js?${versionNumber}"></script> 63 63 <t:SpaceMainMenu /> 64 <t:Footer />65 64 <t:NavBar /> 66 65 <div id="tcontent"> 67 <table width="9 3%" border="0" cellpadding="0" cellspacing="0">66 <table width="98%" border="0" cellpadding="0" cellspacing="0"> 68 67 <tr class="channelHeader"> 69 68 <td class="channelHeader" width="1%"><img trunk/core/web/html/resource/management/components/Layout.html
r17639 r17848 18 18 if((navigator.userAgent.toLowerCase()).indexOf( "msie" ) != -1 ) { 19 19 document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\""+JSPRootURL+"/styles/noframesie.css?"+VERSION_NUMBER+"\"/>"); 20 document.write("<style type=\"text/css\"> html { overflow: hidden; }</style>"); 20 21 } 21 22 // --> … … 136 137 137 138 var windowWidth = 0; 138 function getWindowWidth(){ 139 var windowHeight = 0; 140 function getWindowHeightWidth(){ 139 141 if((navigator.userAgent.toLowerCase()).indexOf( "msie" ) != -1 ) { 140 142 //IF IE … … 142 144 //IE 6+ in 'standards compliant mode' 143 145 windowWidth = document.documentElement.clientWidth; 146 windowHeight = document.documentElement.clientHeight; 144 147 } else { 145 148 //IE 4 compatible 146 149 windowWidth = document.body.clientWidth; 150 windowHeight = document.body.clientHeight; 147 151 } 148 152 }else{ 149 153 //Non-IE 150 154 windowWidth = window.innerWidth; 155 windowHeight = window.innerHeight; 151 156 } 152 157 } … … 171 176 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 172 177 </head> 173 <body onload="main_toolbar_setup();" class="main" id="tBodyWithFixedAreasSupport">178 <body onload="main_toolbar_setup();" id="bodyWithFixedAreasSupport" class="main"> 174 179 <t:body /> 175 180 </body> trunk/core/web/html/resource/management/components/NavBar.html
r17829 r17848 1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <div id="tLeftframe"xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" align="left">3 <div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" align="left"> 4 4 5 5 <div id="leftheading-project">${resource_management_title}</div> … … 8 8 <div class="left_column_top"> 9 9 <div id="group_heading" class="group_heading"> 10 < a href="${jSPRootURL}/resource/management/Directory?module=310" style="text-decoration: none;">Directory</a> <br />10 <span><a href="${jSPRootURL}/resource/management/Directory?module=310">Directory</a> </span><br /> 11 11 </div> 12 12 trunk/core/web/src/allocateByProject-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var comboList = comboListRecord; 10 9 var grid; … … 18 17 19 18 Ext.onReady(function(){ 20 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-270; 21 getWindowWidth(); 19 getWindowHeightWidth(); 22 20 23 21 Ext.QuickTips.init(); … … 351 349 collapsible: false, 352 350 animCollapse: false, 353 height: windowHeight ,354 width: windowWidth-2 10,351 height: windowHeight-310, 352 width: windowWidth-230, 355 353 enableColumnMove: false, 356 354 clicksToEdit: 1, … … 606 604 window.onresize = resizeGrid; 607 605 function resizeGrid() { 608 getWindow Width();606 getWindowHeightWidth(); 609 607 try{ 610 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-270);611 grid.setWidth(windowWidth-2 10);608 grid.setHeight(windowHeight-310); 609 grid.setWidth(windowWidth-230); 612 610 grid.getView().refresh(); 613 611 }catch(err){} trunk/core/web/src/allocateByResource-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var comboList = comboListRecord; 10 9 var grid; … … 18 17 19 18 Ext.onReady(function(){ 20 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-270; 21 getWindowWidth(); 19 getWindowHeightWidth(); 22 20 23 21 Ext.QuickTips.init(); … … 351 349 collapsible: false, 352 350 animCollapse: false, 353 height : windowHeight ,354 width : windowWidth-2 10,351 height : windowHeight-310, 352 width : windowWidth-230, 355 353 enableColumnMove: false, 356 354 clicksToEdit: 1, … … 608 606 window.onresize = resizeGrid; 609 607 function resizeGrid() { 610 getWindow Width();608 getWindowHeightWidth(); 611 609 try{ 612 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-270);613 grid.setWidth(windowWidth-2 10);610 grid.setHeight(windowHeight-310); 611 grid.setWidth(windowWidth-230); 614 612 grid.getView().refresh(); 615 613 }catch(err){} trunk/core/web/src/assignmentSummary-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var grid; 10 9 var ds; … … 24 23 document.getElementById('yearsId').value = year; 25 24 26 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-290; 27 getWindowWidth(); 25 getWindowHeightWidth(); 28 26 29 27 var gridWin; … … 231 229 animCollapse: false, 232 230 frame: true, 233 height : windowHeight ,234 width : windowWidth-2 10,231 height : windowHeight-310, 232 width : windowWidth-230, 235 233 enableColumnMove: false, 236 234 title: gridTitle, … … 337 335 window.onresize = resizeGrid; 338 336 function resizeGrid() { 339 getWindow Width();337 getWindowHeightWidth(); 340 338 try{ 341 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-290);342 grid.setWidth(windowWidth-2 10);339 grid.setHeight(windowHeight-310); 340 grid.setWidth(windowWidth-230); 343 341 grid.getView().refresh(); 344 342 }catch(err){} trunk/core/web/src/components/myAssignment-treeGrid.js
r17838 r17848 42 42 stripeRows: true, 43 43 autoExpandColumn:'objectName', 44 title: 'As iignments',44 title: 'Assignments', 45 45 root_title: 'Assignments', 46 46 height:500, 47 47 width:505, 48 48 autoScroll: true, 49 loadMask: true, 49 50 viewConfig : { 50 51 enableRowBody : true, trunk/core/web/src/components/myAssignments-dashboard.js
r17838 r17848 13 13 var assignmentTree; 14 14 var assignorOrAssigneeCombo; 15 16 Ext.Ajax.on('beforerequest', function(conn, options){17 if(options.url.indexOf('BlogEntries')<0){18 Ext.get(document.body).mask('Loading...');19 }20 },21 this22 );23 Ext.Ajax.on('requestcomplete', function(conn, response, options){Ext.get(document.body).unmask()}, this);24 15 25 16 Ext.onReady(function(){ … … 68 59 resizable :true, 69 60 width:810, 70 height:4 20,61 height:460, 71 62 layout: 'border', 72 63 items: [leftPanel, rightPanel,{region:'east', width: 2}] … … 155 146 } 156 147 } 157 158 document.getElementById('tBodyWithFixedAreasSupport').style.height='83%';trunk/core/web/src/directory-Panel.js
r17829 r17848 18 18 Ext.QuickTips.init(); 19 19 20 /*Reso ruce right Role List list in business tab*/20 /*Resource right Role List list in business tab*/ 21 21 22 22 var businessRoleCombo = new Ext.form.ComboBox({ … … 1222 1222 } 1223 1223 } 1224 1225 document.getElementById('tBodyWithFixedAreasSupport').style.height='83%';trunk/core/web/src/resourceAllocationSummary-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var grid; 10 9 var xg = Ext.grid; … … 23 22 document.getElementById('yearsId').value = year; 24 23 25 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-260; 26 getWindowWidth(); 24 getWindowHeightWidth(); 27 25 28 26 summary = new Ext.grid.GroupSummary(); … … 193 191 collapsible: false, 194 192 animCollapse: false, 195 height : windowHeight ,196 width : windowWidth - 2 10,193 height : windowHeight - 310, 194 width : windowWidth - 230, 197 195 enableColumnMove: false, 198 196 title: gridTitle … … 286 284 window.onresize = resizeGrid; 287 285 function resizeGrid() { 288 getWindow Width();286 getWindowHeightWidth(); 289 287 try{ 290 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-260);291 grid.setWidth(windowWidth - 2 10);288 grid.setHeight(windowHeight - 310); 289 grid.setWidth(windowWidth - 230); 292 290 grid.getView().refresh(); 293 291 }catch(err){} trunk/core/web/src/viewDetails-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var grid; 10 9 var ds; 11 10 Ext.onReady(function(){ 12 11 Ext.QuickTips.init(); 13 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-270; 14 getWindowWidth(); 12 getWindowHeightWidth(); 15 13 var xg = Ext.grid; 16 14 var gridWin; … … 200 198 sm: sm, 201 199 frame: true, 202 height : windowHeight ,203 width : windowWidth - 2 10,200 height : windowHeight - 310, 201 width : windowWidth - 230, 204 202 enableColumnMove: false, 205 203 collapsible: false, … … 339 337 // method to resize grid on window resize event 340 338 function resizeGrid() { 341 getWindow Width();339 getWindowHeightWidth(); 342 340 try{ 343 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-270);344 grid.setWidth(windowWidth-2 10);341 grid.setHeight(windowHeight-310); 342 grid.setWidth(windowWidth-230); 345 343 grid.getView().refresh(); 346 344 }catch(err){} trunk/core/web/src/viewSummary-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var columnModel; 10 9 var grid; … … 57 56 document.getElementById('yearsId').value = year; 58 57 59 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-265; 60 getWindowWidth(); 58 getWindowHeightWidth(); 61 59 62 60 summary = new Ext.grid.GroupSummary(); … … 225 223 store: ds, 226 224 cm: columnModel, 227 view: gridView, 225 view: gridView, 228 226 plugins: summary, 229 227 autoExpandColumn : 'projectName', 230 228 sm: sm, 231 229 frame: true, 232 height: windowHeight ,233 width : windowWidth-2 10,230 height: windowHeight-310, 231 width : windowWidth-230, 234 232 collapsible: false, 235 233 animCollapse: false, … … 339 337 window.onresize = resizeGrid; 340 338 function resizeGrid() { 341 getWindow Width();339 getWindowHeightWidth(); 342 340 try{ 343 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-265);344 grid.setWidth(windowWidth-2 10);341 grid.setHeight(windowHeight-310); 342 grid.setWidth(windowWidth-230); 345 343 grid.getView().refresh(); 346 344 }catch(err){} trunk/core/web/src/viewVsAssignments-grid.js
r17829 r17848 6 6 * http://www.extjs.com/license 7 7 */ 8 var windowHeight = 0;9 8 var grid; 10 9 var ds; … … 55 54 document.getElementById('yearsId').value = year; 56 55 57 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-260; 58 getWindowWidth(); 56 getWindowHeightWidth(); 59 57 60 58 summary = new Ext.grid.GroupSummary(); … … 284 282 animCollapse: false, 285 283 enableColumnMove: false, 286 height : windowHeight ,287 width : windowWidth - 2 10,284 height : windowHeight - 310, 285 width : windowWidth - 230, 288 286 title: gridTitle 289 287 }); … … 378 376 window.onresize = resizeGrid; 379 377 function resizeGrid() { 380 getWindow Width();378 getWindowHeightWidth(); 381 379 try{ 382 grid.setHeight( document.getElementById('fixedBottomFooter').offsetTop-260);383 grid.setWidth(windowWidth-2 10);380 grid.setHeight(windowHeight-310); 381 grid.setWidth(windowWidth-230); 384 382 grid.getView().refresh(); 385 383 }catch(err){}
