try to make Tree view prettier

This commit is contained in:
Doug Bell 2011-03-25 15:15:23 -05:00
parent 698f40a6dd
commit f7fb7cea6b
2 changed files with 33 additions and 3 deletions

View file

@ -362,4 +362,34 @@ dl.accordion-menu dd.a-m-d {
overflow-x: hidden;
}
#treeTab {
height: 100%;
overflow: auto;
margin-bottom: 30px;
}
#treeCrumbtrail {
margin: 5px;
}
#treeDataTableContainer {
margin-bottom: 50px; /* Same as treeBottom height */
}
#treeBottom {
position: fixed;
bottom: 0px;
width: 100%;
background: white;
border-top: 2px outset gray;
}
#treeButtons {
margin : 5px;
float: left;
}
#treePagination {
margin: 5px;
float: left;
}

View file

@ -1125,7 +1125,7 @@ WebGUI.Admin.AssetTable
rowsPerPage : 100,
previousPageLinkLabel : window.admin.i18n.get('WebGUI', '< prev'),
nextPageLinkLabel : window.admin.i18n.get('WebGUI', 'next >'),
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
template : "{PreviousPageLink} <strong>{CurrentPageReport}</strong> {NextPageLink}"
});
// initialize the data source
@ -1210,7 +1210,7 @@ WebGUI.Admin.AssetTable.prototype.init
= function ( ) {
// Initialize the data table
this.dataTable
= new YAHOO.widget.DataTable( this.cfg.dataTableId,
= new YAHOO.widget.ScrollingDataTable( this.cfg.dataTableId,
this.columnDefs,
this.dataSource,
{
@ -1627,7 +1627,7 @@ WebGUI.Admin.Tree
WebGUI.Admin.Tree.superclass.constructor.call( this, admin, {
dataSourceUrl : '?op=admin;method=getTreeData;',
dataTableId : 'treeDataTableContainer',
paginatorIds : [ 'treePaginator' ]
paginatorIds : [ 'treePagination' ]
} );
// Add Rank column for ordering