try to make Tree view prettier
This commit is contained in:
parent
698f40a6dd
commit
f7fb7cea6b
2 changed files with 33 additions and 3 deletions
|
|
@ -362,4 +362,34 @@ dl.accordion-menu dd.a-m-d {
|
||||||
overflow-x: hidden;
|
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;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1125,7 +1125,7 @@ WebGUI.Admin.AssetTable
|
||||||
rowsPerPage : 100,
|
rowsPerPage : 100,
|
||||||
previousPageLinkLabel : window.admin.i18n.get('WebGUI', '< prev'),
|
previousPageLinkLabel : window.admin.i18n.get('WebGUI', '< prev'),
|
||||||
nextPageLinkLabel : window.admin.i18n.get('WebGUI', 'next >'),
|
nextPageLinkLabel : window.admin.i18n.get('WebGUI', 'next >'),
|
||||||
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
|
template : "{PreviousPageLink} <strong>{CurrentPageReport}</strong> {NextPageLink}"
|
||||||
});
|
});
|
||||||
|
|
||||||
// initialize the data source
|
// initialize the data source
|
||||||
|
|
@ -1210,7 +1210,7 @@ WebGUI.Admin.AssetTable.prototype.init
|
||||||
= function ( ) {
|
= function ( ) {
|
||||||
// Initialize the data table
|
// Initialize the data table
|
||||||
this.dataTable
|
this.dataTable
|
||||||
= new YAHOO.widget.DataTable( this.cfg.dataTableId,
|
= new YAHOO.widget.ScrollingDataTable( this.cfg.dataTableId,
|
||||||
this.columnDefs,
|
this.columnDefs,
|
||||||
this.dataSource,
|
this.dataSource,
|
||||||
{
|
{
|
||||||
|
|
@ -1627,7 +1627,7 @@ WebGUI.Admin.Tree
|
||||||
WebGUI.Admin.Tree.superclass.constructor.call( this, admin, {
|
WebGUI.Admin.Tree.superclass.constructor.call( this, admin, {
|
||||||
dataSourceUrl : '?op=admin;method=getTreeData;',
|
dataSourceUrl : '?op=admin;method=getTreeData;',
|
||||||
dataTableId : 'treeDataTableContainer',
|
dataTableId : 'treeDataTableContainer',
|
||||||
paginatorIds : [ 'treePaginator' ]
|
paginatorIds : [ 'treePagination' ]
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// Add Rank column for ordering
|
// Add Rank column for ordering
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue