Changeset 17848

Show
Ignore:
Timestamp:
08/07/08 12:12:28 (4 months ago)
Author:
dpatil
Message:

some more UI changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/web/css/noframes.css

    r17845 r17848  
    4444  top: $$prm.custom.topmenu.height$$px; 
    4545  bottom: 0; 
    46   width: 196px; 
     46  width: 186px; 
    4747  margin: 0; 
    4848  overflow: auto; 
     
    7979 
    8080/* 
     81div#fixedBottomLine table.fixed { 
     82  padding-left: 196px;   
     83}*/ 
     84 
     85/* 
    8186div#fixedBottomFooter { 
    8287  height: 37px; 
     
    8590} 
    8691*/ 
     92 
     93div#fixedBottomLine { 
     94  width: 80%; 
     95  height: 29px; 
     96  left: 196px; 
     97} 
    8798 
    8899div#content { 
     
    94105 
    95106div#tcontent { 
    96         left: 30px; 
    97         position: relative;  
    98         top: 25px; 
    99         width: 96%; 
     107  padding: 0px; 
     108  padding-left: 196px; 
     109  padding-top: 0px; 
    100110} 
    101111 
     
    266276        background: url('jspRootUrl/images/menu/leftheading.png'); 
    267277        width: 160px; 
    268         height: 23px; 
     278        /*height: 23px;*/ 
    269279        padding-left: 14px; 
    270280        margin-top: 4px; 
     
    278288        background: url('jspRootUrl/images/menu/leftheading_business.png'); 
    279289        width: 160px; 
    280         height: 23px; 
     290        /*height: 23px;*/ 
    281291        padding-left: 14px; 
    282292        margin-top: 4px; 
     
    290300        background: url('jspRootUrl/images/menu/leftheading_projects.png'); 
    291301        width: 160px; 
    292         height: 23px; 
     302        /*height: 23px;*/ 
    293303        padding-left: 14px; 
    294304        margin-top: 4px; 
  • trunk/core/web/css/noframesie.css

    r17845 r17848  
    4040} 
    4141 
    42 div#tcontent { 
    43         left: 30px; 
    44         position: relative;  
    45         top: 25px; 
    46 } 
    47  
    4842/* Content for Resources Tab */ 
    4943div#tcontent { 
    5044  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;*/   
    5554} 
    5655 
     
    7978div#tLeftframe { 
    8079  top: 0px; 
    81   width: 155px; 
     80  width: 174px; 
    8281  height: 100%; 
    8382  padding: 62px 0 0 0; 
     
    8786#leftheading-person { 
    8887        background: url('jspRootUrl/images/menu/leftheading.png'); 
     88        background-repeat: no-repeat; 
    8989        width: 174px; 
    90         height: 23px; 
     90        /*height: 23px;*/ 
    9191        padding-left: 14px; 
    9292        margin-top: 4px; 
     
    9999#leftheading-business { 
    100100        background: url('jspRootUrl/images/menu/leftheading_business.png'); 
     101        background-repeat: no-repeat; 
    101102        width: 174px; 
    102         height: 23px; 
     103        /*height: 23px;*/ 
    103104        padding-left: 14px; 
    104105        margin-top: 4px; 
     
    111112#leftheading-project { 
    112113        background: url('jspRootUrl/images/menu/leftheading_projects.png'); 
     114        background-repeat: no-repeat;    
    113115        width: 174px; 
    114         height: 23px; 
     116        /*height: 23px;*/ 
    115117        padding-left: 14px; 
    116118        margin-top: 4px; 
  • trunk/core/web/html/resource/AllocateByProject.html

    r17829 r17848  
    8989<script type="text/javascript" src="${jSPRootURL}/src/allocateByProject-grid.js?${versionNumber}"></script> 
    9090<t:SpaceMainMenu /> 
    91 <t:Footer /> 
    9291<t:NavBar /> 
    9392<div id="tcontent"> 
    94         <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     93        <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    9594                <tr class="channelHeader"> 
    9695                        <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/AllocateByResource.html

    r17829 r17848  
    8888<script type="text/javascript" src="${jSPRootURL}/src/allocateByResource-grid.js?${versionNumber}"></script> 
    8989<t:SpaceMainMenu /> 
    90 <t:Footer /> 
    9190<t:NavBar /> 
    9291<div id="tcontent"> 
    93         <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     92        <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    9493                <tr class="channelHeader"> 
    9594                        <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/AssignmentSummary.html

    r17829 r17848  
    4848<script type="text/javascript" src="${jSPRootURL}/src/assignmentSummary-grid.js?${versionNumber}"></script> 
    4949        <t:SpaceMainMenu /> 
    50         <t:Footer /> 
    5150        <t:NavBar /> 
    5251        <div id="tcontent"> 
    53         <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     52        <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    5453                <tr class="channelHeader"> 
    5554                        <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/Directory.html

    r17717 r17848  
    22"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    33<t:Layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> 
    4  
    54<link rel="stylesheet" type="text/css" href="${jSPRootURL}/styles/column-tree.css?${versionNumber}"/> 
    65<style type="text/css"> 
     
    6665        <script type="text/javascript" src="${jSPRootURL}/src/directory-Panel.js?${versionNumber}"></script> 
    6766        <t:SpaceMainMenu /> 
    68         <t:Footer /> 
    6967        <t:NavBar/> 
    7068        <div id="tcontent"> 
     
    163161        </div> 
    164162<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";      
    167164</script> 
    168165</t:Layout> 
  • trunk/core/web/html/resource/ResourceAllocationSummary.html

    r17829 r17848  
    2929<script type="text/javascript" src="${jSPRootURL}/src/resourceAllocationSummary-grid.js?${versionNumber}"></script>  
    3030<t:SpaceMainMenu /> 
    31         <t:Footer/> 
    3231        <t:NavBar /> 
    3332        <div id="tcontent" > 
    34                 <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     33                <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    3534                        <tr class="channelHeader"> 
    3635                                <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/ViewDetails.html

    r17829 r17848  
    6666<script type="text/javascript" src="${jSPRootURL}/src/viewDetails-grid.js?${versionNumber}"></script> 
    6767<t:SpaceMainMenu /> 
    68 <t:Footer /> 
    6968<t:NavBar /> 
    7069<div id="tcontent"> 
    71         <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     70        <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    7271                <tr class="channelHeader"> 
    7372                        <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/ViewSummary.html

    r17829 r17848  
    5858<script type="text/javascript" src="${jSPRootURL}/src/viewSummary-grid.js?${versionNumber}"></script> 
    5959<t:SpaceMainMenu /> 
    60 <t:Footer /> 
    6160<t:NavBar /> 
    6261<div id="tcontent"> 
    63         <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     62        <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    6463                <tr class="channelHeader"> 
    6564                        <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/ViewVsAssignments.html

    r17829 r17848  
    6262<script type="text/javascript" src="${jSPRootURL}/src/viewVsAssignments-grid.js?${versionNumber}"></script> 
    6363<t:SpaceMainMenu /> 
    64 <t:Footer /> 
    6564<t:NavBar /> 
    6665<div id="tcontent"> 
    67         <table width="93%" border="0" cellpadding="0" cellspacing="0"> 
     66        <table width="98%" border="0" cellpadding="0" cellspacing="0"> 
    6867                <tr class="channelHeader"> 
    6968                        <td class="channelHeader" width="1%"><img 
  • trunk/core/web/html/resource/management/components/Layout.html

    r17639 r17848  
    1818if((navigator.userAgent.toLowerCase()).indexOf( "msie" ) != -1 ) { 
    1919        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>"); 
    2021} 
    2122// --> 
     
    136137         
    137138        var windowWidth = 0; 
    138         function getWindowWidth(){ 
     139        var windowHeight = 0;    
     140        function getWindowHeightWidth(){ 
    139141                if((navigator.userAgent.toLowerCase()).indexOf( "msie" ) != -1 ) { 
    140142                        //IF IE 
     
    142144                        //IE 6+ in 'standards compliant mode' 
    143145                                windowWidth = document.documentElement.clientWidth; 
     146                                windowHeight = document.documentElement.clientHeight; 
    144147                        } else { 
    145148                        //IE 4 compatible 
    146149                                windowWidth = document.body.clientWidth; 
     150                                windowHeight = document.body.clientHeight; 
    147151                        } 
    148152                }else{ 
    149153                        //Non-IE 
    150154                        windowWidth = window.innerWidth; 
     155                        windowHeight = window.innerHeight; 
    151156                } 
    152157        } 
     
    171176<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    172177</head> 
    173 <body onload="main_toolbar_setup();" class="main" id="tBodyWithFixedAreasSupport"
     178<body onload="main_toolbar_setup();" id="bodyWithFixedAreasSupport" class="main"
    174179        <t:body /> 
    175180</body> 
  • trunk/core/web/html/resource/management/components/NavBar.html

    r17829 r17848  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    22"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"> 
    44 
    55<div id="leftheading-project">${resource_management_title}</div> 
     
    88        <div class="left_column_top"> 
    99                <div id="group_heading" class="group_heading"> 
    10                         <a href="${jSPRootURL}/resource/management/Directory?module=310" style="text-decoration: none;">Directory</a>&nbsp;<br /> 
     10                        <span><a href="${jSPRootURL}/resource/management/Directory?module=310">Directory</a>&nbsp;</span><br /> 
    1111                </div> 
    1212                 
  • trunk/core/web/src/allocateByProject-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var comboList = comboListRecord; 
    109var grid; 
     
    1817 
    1918Ext.onReady(function(){ 
    20            windowHeight = document.getElementById('fixedBottomFooter').offsetTop-270; 
    21            getWindowWidth(); 
     19           getWindowHeightWidth(); 
    2220 
    2321           Ext.QuickTips.init(); 
     
    351349                        collapsible: false, 
    352350                        animCollapse: false, 
    353                 height: windowHeight
    354                         width: windowWidth-210, 
     351                height: windowHeight-310
     352                        width: windowWidth-230, 
    355353                        enableColumnMove: false, 
    356354                        clicksToEdit: 1, 
     
    606604window.onresize = resizeGrid; 
    607605function resizeGrid() { 
    608         getWindowWidth();  
     606        getWindowHeightWidth();  
    609607        try{ 
    610                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-270); 
    611                 grid.setWidth(windowWidth-210); 
     608                grid.setHeight(windowHeight-310); 
     609                grid.setWidth(windowWidth-230); 
    612610                grid.getView().refresh(); 
    613611        }catch(err){} 
  • trunk/core/web/src/allocateByResource-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var comboList = comboListRecord; 
    109var grid; 
     
    1817 
    1918Ext.onReady(function(){   
    20                 windowHeight = document.getElementById('fixedBottomFooter').offsetTop-270; 
    21             getWindowWidth(); 
     19            getWindowHeightWidth(); 
    2220             
    2321            Ext.QuickTips.init(); 
     
    351349                        collapsible: false, 
    352350                        animCollapse: false, 
    353                 height : windowHeight
    354                         width : windowWidth-210, 
     351                height : windowHeight-310
     352                        width : windowWidth-230, 
    355353                        enableColumnMove: false, 
    356354                        clicksToEdit: 1, 
     
    608606window.onresize = resizeGrid; 
    609607function resizeGrid() { 
    610         getWindowWidth(); 
     608        getWindowHeightWidth(); 
    611609        try{ 
    612                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-270); 
    613                 grid.setWidth(windowWidth-210); 
     610                grid.setHeight(windowHeight-310); 
     611                grid.setWidth(windowWidth-230); 
    614612                grid.getView().refresh(); 
    615613        }catch(err){} 
  • trunk/core/web/src/assignmentSummary-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var grid; 
    109var ds; 
     
    2423           document.getElementById('yearsId').value = year; 
    2524            
    26            windowHeight = document.getElementById('fixedBottomFooter').offsetTop-290; 
    27            getWindowWidth(); 
     25           getWindowHeightWidth(); 
    2826         
    2927           var gridWin;   
     
    231229                animCollapse: false, 
    232230                frame: true, 
    233                 height : windowHeight
    234                         width : windowWidth-210, 
     231                height : windowHeight-310
     232                        width : windowWidth-230, 
    235233                         enableColumnMove: false, 
    236234                title: gridTitle, 
     
    337335window.onresize = resizeGrid; 
    338336function resizeGrid() { 
    339         getWindowWidth();  
     337        getWindowHeightWidth();  
    340338        try{ 
    341                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-290); 
    342                 grid.setWidth(windowWidth-210); 
     339                grid.setHeight(windowHeight-310); 
     340                grid.setWidth(windowWidth-230); 
    343341                grid.getView().refresh(); 
    344342        }catch(err){} 
  • trunk/core/web/src/components/myAssignment-treeGrid.js

    r17838 r17848  
    4242                        stripeRows: true, 
    4343                        autoExpandColumn:'objectName', 
    44                         title: 'Asiignments', 
     44                        title: 'Assignments', 
    4545                        root_title: 'Assignments', 
    4646                        height:500, 
    4747                        width:505, 
    4848                        autoScroll: true, 
     49                        loadMask: true, 
    4950                        viewConfig : { 
    5051                enableRowBody : true, 
  • trunk/core/web/src/components/myAssignments-dashboard.js

    r17838 r17848  
    1313var assignmentTree; 
    1414var 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                                 this 
    22                         ); 
    23 Ext.Ajax.on('requestcomplete', function(conn, response, options){Ext.get(document.body).unmask()}, this); 
    2415 
    2516Ext.onReady(function(){ 
     
    6859            resizable :true, 
    6960            width:810, 
    70             height:420, 
     61            height:460, 
    7162            layout: 'border', 
    7263            items: [leftPanel, rightPanel,{region:'east', width: 2}] 
     
    155146        } 
    156147} 
    157  
    158 document.getElementById('tBodyWithFixedAreasSupport').style.height='83%'; 
  • trunk/core/web/src/directory-Panel.js

    r17829 r17848  
    1818        Ext.QuickTips.init(); 
    1919                 
    20         /*Resoruce right Role List list in business tab*/ 
     20        /*Resource right Role List list in business tab*/ 
    2121 
    2222        var businessRoleCombo = new Ext.form.ComboBox({ 
     
    12221222        }  
    12231223 
    1224  
    1225 document.getElementById('tBodyWithFixedAreasSupport').style.height='83%'; 
  • trunk/core/web/src/resourceAllocationSummary-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var grid; 
    109var xg = Ext.grid; 
     
    2322           document.getElementById('yearsId').value = year; 
    2423            
    25            windowHeight = document.getElementById('fixedBottomFooter').offsetTop-260; 
    26            getWindowWidth(); 
     24           getWindowHeightWidth(); 
    2725            
    2826           summary = new Ext.grid.GroupSummary();          
     
    193191                        collapsible: false, 
    194192                        animCollapse: false, 
    195                 height : windowHeight
    196                         width : windowWidth - 210, 
     193                height : windowHeight - 310
     194                        width : windowWidth - 230, 
    197195                        enableColumnMove: false, 
    198196                title: gridTitle       
     
    286284window.onresize = resizeGrid; 
    287285function resizeGrid() { 
    288         getWindowWidth();  
     286        getWindowHeightWidth();  
    289287        try{ 
    290                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-260); 
    291                 grid.setWidth(windowWidth - 210); 
     288                grid.setHeight(windowHeight - 310); 
     289                grid.setWidth(windowWidth - 230); 
    292290                grid.getView().refresh(); 
    293291        }catch(err){} 
  • trunk/core/web/src/viewDetails-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var grid; 
    109var ds; 
    1110Ext.onReady(function(){ 
    1211           Ext.QuickTips.init(); 
    13            windowHeight = document.getElementById('fixedBottomFooter').offsetTop-270; 
    14            getWindowWidth();                
     12           getWindowHeightWidth();                  
    1513           var xg = Ext.grid; 
    1614       var gridWin; 
     
    200198                sm: sm, 
    201199        frame: true,         
    202         height : windowHeight
    203                 width : windowWidth - 210, 
     200        height : windowHeight - 310
     201                width : windowWidth - 230, 
    204202                enableColumnMove: false, 
    205203        collapsible: false, 
     
    339337// method to resize grid on window resize event 
    340338function resizeGrid() { 
    341         getWindowWidth();  
     339        getWindowHeightWidth();  
    342340        try{ 
    343                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-270); 
    344                 grid.setWidth(windowWidth-210); 
     341                grid.setHeight(windowHeight-310); 
     342                grid.setWidth(windowWidth-230); 
    345343                grid.getView().refresh(); 
    346344        }catch(err){} 
  • trunk/core/web/src/viewSummary-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var columnModel; 
    109var grid; 
     
    5756           document.getElementById('yearsId').value = year; 
    5857            
    59            windowHeight = document.getElementById('fixedBottomFooter').offsetTop-265; 
    60            getWindowWidth(); 
     58           getWindowHeightWidth(); 
    6159            
    6260           summary = new Ext.grid.GroupSummary();           
     
    225223                store: ds, 
    226224            cm: columnModel, 
    227                 view: gridView,         
     225                view: gridView, 
    228226                plugins: summary, 
    229227                    autoExpandColumn : 'projectName', 
    230228                    sm: sm, 
    231229                frame: true, 
    232                     height: windowHeight
    233                         width : windowWidth-210, 
     230                    height: windowHeight-310
     231                        width : windowWidth-230, 
    234232                collapsible: false, 
    235233                animCollapse: false, 
     
    339337window.onresize = resizeGrid; 
    340338function resizeGrid() { 
    341         getWindowWidth();      
     339        getWindowHeightWidth();        
    342340        try{ 
    343                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-265); 
    344                 grid.setWidth(windowWidth-210); 
     341                grid.setHeight(windowHeight-310); 
     342                grid.setWidth(windowWidth-230); 
    345343                grid.getView().refresh(); 
    346344        }catch(err){} 
  • trunk/core/web/src/viewVsAssignments-grid.js

    r17829 r17848  
    66 * http://www.extjs.com/license 
    77 */ 
    8 var windowHeight = 0; 
    98var grid; 
    109var ds; 
     
    5554           document.getElementById('yearsId').value = year; 
    5655 
    57            windowHeight = document.getElementById('fixedBottomFooter').offsetTop-260; 
    58            getWindowWidth(); 
     56           getWindowHeightWidth(); 
    5957            
    6058           summary = new Ext.grid.GroupSummary();          
     
    284282                        animCollapse: false, 
    285283                        enableColumnMove: false, 
    286                 height : windowHeight
    287                         width : windowWidth - 210, 
     284                height : windowHeight - 310
     285                        width : windowWidth - 230, 
    288286                title: gridTitle       
    289287            });  
     
    378376window.onresize = resizeGrid; 
    379377function resizeGrid() { 
    380         getWindowWidth();  
     378        getWindowHeightWidth();  
    381379        try{ 
    382                 grid.setHeight(document.getElementById('fixedBottomFooter').offsetTop-260); 
    383                 grid.setWidth(windowWidth-210); 
     380                grid.setHeight(windowHeight-310); 
     381                grid.setWidth(windowWidth-230); 
    384382                grid.getView().refresh(); 
    385383        }catch(err){}