diff --git a/src/sunstone/public/app/tabs/images-tab/datatable-common.js b/src/sunstone/public/app/tabs/images-tab/datatable-common.js index 8e75727f20..1c58e561d1 100644 --- a/src/sunstone/public/app/tabs/images-tab/datatable-common.js +++ b/src/sunstone/public/app/tabs/images-tab/datatable-common.js @@ -54,30 +54,40 @@ define(function(require) { "bSortClasses" : false, "bDeferRender": true, "aoColumnDefs": [ - {"bSortable": false, "aTargets": ["check"]}, - {"sWidth": "35px", "aTargets": [0]}, - {"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(tabId)}, - {"bVisible": false, "aTargets": ['_all']}, - {"sType": "file-size", "aTargets": [ 6 ] }, - {"sType": "num", "aTargets": [1, 11]} + { + "aTargets": [2, 3, 4, 5, 6, 7, 8, 9, 10], + "sClass": "overflow", + "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) { + $(nTd).attr('title', sData) + }, + "mRender": function ( data, type, full ) { + return null; + }, + }, + {"bSortable": false, "aTargets": ["check"]}, + {"sWidth": "35px", "aTargets": [0]}, + {"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(tabId)}, + {"bVisible": false, "aTargets": ['_all']}, + {"sType": "file-size", "aTargets": [ 6 ] }, + {"sType": "num", "aTargets": [1, 11]} ] } this.columns = [ - Locale.tr("ID"), - Locale.tr("Name"), - Locale.tr("Owner"), - Locale.tr("Group"), - Locale.tr("Datastore"), - Locale.tr("Size"), - Locale.tr("Type"), - Locale.tr("Registration time"), - Locale.tr("Persistent"), - Locale.tr("Status"), - Locale.tr("#VMS"), - Locale.tr("Target"), - Locale.tr("Labels"), - "search_data" + /* 1 */ Locale.tr("ID"), + /* 2 */ Locale.tr("Name"), + /* 3 */ Locale.tr("Owner"), + /* 4 */ Locale.tr("Group"), + /* 5 */ Locale.tr("Datastore"), + /* 6 */ Locale.tr("Size"), + /* 7 */ Locale.tr("Type"), + /* 8 */ Locale.tr("Registration time"), + /* 9 */ Locale.tr("Persistent"), + /* 10 */ Locale.tr("Status"), + /* 11 */ Locale.tr("#VMS"), + /* 12 */ Locale.tr("Target"), + /* 13 */ Locale.tr("Labels"), + /* 14 */ "search_data" ] this.conf.searchDropdownHTML = SearchDropdown({tableId: this.dataTableId}); diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js index d51c7e906e..b0797c0658 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js @@ -90,6 +90,7 @@ define(function(require) { } } }); + $("table#"+this.imageTable.dataTableId).css("table-layout", "fixed") that.imageTable.refreshResourceTableSelect(); // Select Image or Volatile disk. The div is hidden depending on the selection, and the diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/html.hbs b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/html.hbs index 764bafac1f..b18f316814 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/html.hbs +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/html.hbs @@ -13,6 +13,21 @@ {{! See the License for the specific language governing permissions and }} {{! limitations under the License. }} {{! -------------------------------------------------------------------------- }} + +