Aligning Show Usage button in application topology page
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/201ce211 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/201ce211 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/201ce211 Branch: refs/heads/stratos-4.1.x Commit: 201ce211ed087e8a952f9795a0c9e4f4f93db577 Parents: 2c130c1 Author: Thanuja <[email protected]> Authored: Wed Sep 23 17:46:30 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Mon Sep 28 18:44:18 2015 +0530 ---------------------------------------------------------------------- .../console/themes/theme0/css/custom.css | 2 -- .../console/themes/theme0/js/custom/applications_topology.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/201ce211/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom.css ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom.css b/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom.css index 4ba82c7..0689f91 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom.css +++ b/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom.css @@ -238,6 +238,4 @@ h3.panel-title { button.show-usage { float: right; margin-bottom: 5px; - font-size: 14px; - padding: 5px 8px; } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/201ce211/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js index 7c214dd..3e3b35a 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js +++ b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications_topology.js @@ -215,7 +215,7 @@ function update(source) { accessURLHTML + "<strong>HostNames: </strong>" + d.hostNames + "<br/>" + "<strong>Service Name: </strong>" + d.serviceName + "<br/>" + - "<strong>Status: </strong>" + d.status + + "<strong>Status: </strong>" + d.status + "<br/>" + "<button class='btn btn-info show-usage' id=" + d.name + " name='clusterUsage' onClick='showClusterUsage(this.id)'>Show Usage</button>"; } else if (d.type == 'members') { if ((typeof d.ports != 'undefined') && (d.ports.length > 0)) { @@ -249,7 +249,7 @@ function update(source) { } else { div_html = "<strong>Alias: </strong>" + d.name + "<br/>" + - "<strong>Status: </strong>" + d.status + + "<strong>Status: </strong>" + d.status + "<br/>" + "<button class='btn btn-info show-usage' id=" + d.name + " name='appUsage' onClick='showApplicationUsage(this.id)'>Show Usage</button>"; }
