Skip to content

Commit

Permalink
Closes-Bug: #1469454 - Performance/Usability Issues and code cleanup
Browse files Browse the repository at this point in the history
Change-Id: I919f37b8962cf5f41cca4dc8ccb2529818c15d03
  • Loading branch information
Sagar Gala committed Jun 27, 2015
1 parent 46d92f5 commit 8e54b3c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
28 changes: 14 additions & 14 deletions webroot/common/ui/js/sm.detail.tmpls.js
Expand Up @@ -36,20 +36,6 @@ define([
title: smwl.TITLE_OPENSTACK,
theme: detailTheme,
templateGeneratorConfig: [
{
key: 'parameters.openstack_mgmt_ip',
templateGenerator: 'LinkGenerator',
templateGeneratorConfig: {
template: 'http://{{params.openstack_mgmt_ip}}/horizon',
params: {
openstack_mgmt_ip: 'parameters.openstack_mgmt_ip'
}
}
},
{
key: 'parameters.keystone_ip',
templateGenerator: 'TextGenerator'
},
{
key: 'parameters.keystone_tenant',
templateGenerator: 'TextGenerator'
Expand All @@ -65,6 +51,20 @@ define([
{
key: 'parameters.keystone_region_name',
templateGenerator: 'TextGenerator'
},
{
key: 'parameters.openstack_mgmt_ip',
templateGenerator: 'LinkGenerator',
templateGeneratorConfig: {
template: 'http://{{params.openstack_mgmt_ip}}/horizon',
params: {
openstack_mgmt_ip: 'parameters.openstack_mgmt_ip'
}
}
},
{
key: 'parameters.keystone_ip',
templateGenerator: 'TextGenerator'
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion webroot/common/ui/js/sm.grid.config.js
Expand Up @@ -251,7 +251,7 @@ define([
if ($.isEmptyObject(dc.roles)) {
return ''
} else {
return (dc.roles.indexOf(roleValue) != -1) ? '<i class="icon-ok green"></i>' : '';
return (dc.roles.indexOf(roleValue) != -1) ? '<i class="icon-ok green cursor-default"></i>' : '';
}
},
exportConfig: {
Expand Down
1 change: 1 addition & 0 deletions webroot/setting/sm/ui/js/views/ClusterTabView.js
Expand Up @@ -32,6 +32,7 @@ define([
view: "TabsView",
viewConfig: {
theme: 'overcast',
active: 1,
activate: function (e, ui) {
var selTab = $(ui.newTab.context).text();
if (selTab == smwl.TITLE_SERVERS) {
Expand Down

0 comments on commit 8e54b3c

Please sign in to comment.