diff --git a/www/extras/yui-webgui/build/assetManager/assetManager.css b/www/extras/yui-webgui/build/assetManager/assetManager.css
index 75e2847ec..db7aa8aae 100644
--- a/www/extras/yui-webgui/build/assetManager/assetManager.css
+++ b/www/extras/yui-webgui/build/assetManager/assetManager.css
@@ -15,17 +15,6 @@ a:hover {
color: purple;
}
-/** Page stats **/
-#pageStats {
- float: right;
- text-align: right;
-}
-
-#pageLinks {
- float: right;
- text-align: right;
-}
-
/** Crumbtrail **/
#crumbtrail ol {
float: left;
@@ -74,51 +63,32 @@ a:hover {
}
/** Asset Manager table **/
-.assetManager {
- clear: both;
- width: 100%;
-}
-
-.assetManager th {
- border: solid #666;
- border-width: 0 1px 2px 0;
- background-color: #eee;
-}
-
-.assetManager th, .assetManager td {
- padding: 0 0.8em;
-}
-
-#assetManager th, #assetManager td, .assetManager {
- font-size: 0.8em;
-}
-
-.assetManager .center, .assetManager th {
- text-align: center;
-}
-
-.assetManager .right {
- text-align: right;
-}
.hasChildren {
font-family: "Courier New", monospace;
}
-.assetManager .rank {
- text-align: right;
+tr.highlight td {
+ background-color: #FED;
}
-.assetManager a:link, .assetManager a:visited, .assetManager a:active, .assetManager a:hover {
- font-size: 8pt;
+#dataTableContainer {
+ clear: both;
}
-.assetManager tr.alt td {
- background-color: #ddd;
+#dataTableContainer td, #dataTableContainer td a:link,
+#dataTableContainer td a:visited, #dataTableContainer td a:hover,
+#dataTableContainer td a:active {
+ font-size: 0.9em;
}
-.assetManager tr.highlight td {
- background-color: #CCF;
+#dataTableContainer table {
+ width: 100%;
+}
+
+#pagination {
+ clear: both;
+ text-align: right;
}
/** Actions **/
diff --git a/www/extras/yui-webgui/build/assetManager/assetManager.js b/www/extras/yui-webgui/build/assetManager/assetManager.js
index 3cabe6474..6697a9461 100644
--- a/www/extras/yui-webgui/build/assetManager/assetManager.js
+++ b/www/extras/yui-webgui/build/assetManager/assetManager.js
@@ -11,6 +11,8 @@ if ( typeof WebGUI.AssetManager == "undefined" ) {
WebGUI.AssetManager = {};
}
+// The extras folder
+WebGUI.AssetManager.extrasUrl = '/extras/';
/*---------------------------------------------------------------------------
WebGUI.AssetManager.addHighlightToRow ( child )
@@ -40,6 +42,106 @@ WebGUI.AssetManager.findRow
}
};
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatActions ( )
+ Format the Edit and More links for the row
+*/
+WebGUI.AssetManager.formatActions
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ elCell.innerHTML
+ = 'Edit'
+ + ' | More '
+ ;
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatAssetIdCheckbox ( )
+ Format the checkbox for the asset ID.
+*/
+WebGUI.AssetManager.formatAssetIdCheckbox
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ elCell.innerHTML = '';
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatAssetSize ( )
+ Format the asset class name
+*/
+WebGUI.AssetManager.formatAssetSize
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ elCell.innerHTML = oRecord.getData( "assetSize" );
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatClassName ( )
+ Format the asset class name
+*/
+WebGUI.AssetManager.formatClassName
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ elCell.innerHTML = '
'
+ + oRecord.getData( "className" );
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatLockedBy ( )
+ Format the asset class name
+*/
+WebGUI.AssetManager.formatLockedBy
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ var extras = WebGUI.AssetManager.extrasUrl;
+ elCell.innerHTML
+ = oRecord.getData( 'lockedBy' )
+ ? ''
+ + '
'
+ + ''
+ : ''
+ + '
'
+ + ''
+ ;
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatRank ( )
+ Format the input for the rank box
+*/
+WebGUI.AssetManager.formatRank
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ var rank = oRecord.getData("lineage").match(/[1-9][0-9]{0,5}$/);
+ elCell.innerHTML = '';
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatRevisionDate ( )
+ Format the asset class name
+*/
+WebGUI.AssetManager.formatRevisionDate
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ var revisionDate = new Date( oRecord.getData( "revisionDate" ) * 1000 );
+ elCell.innerHTML = revisionDate.getFullYear() + '-' + ( revisionDate.getMonth() + 1 )
+ + '-' + revisionDate.getDate() + ' ' + ( revisionDate.getHours() )
+ + ':' + revisionDate.getMinutes()
+ ;
+};
+
+/*---------------------------------------------------------------------------
+ WebGUI.AssetManager.formatTitle ( )
+ Format the link for the title
+*/
+WebGUI.AssetManager.formatTitle
+= function ( elCell, oRecord, oColumn, orderNumber ) {
+ elCell.innerHTML = ''
+ + ( oRecord.getData( 'childCount' ) > 0 ? "+" : " " )
+ + ' '
+ + oRecord.getData( 'title' )
+ + ''
+ ;
+};
+
/*---------------------------------------------------------------------------
WebGUI.AssetManager.hideMoreMenu ( event, element )
Hide the more menu located inside element after a short delay.
@@ -61,8 +163,6 @@ WebGUI.AssetManager.initManager
WebGUI.AssetManager.initMoreMenus();
- // Start the data source
-
};