From 69f6e33a65d763719b3cdfa7dbff91c8d0fc6d7c Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Fri, 28 Sep 2012 11:20:46 -0700 Subject: [PATCH] CS-16413: Fix load time for infrastructure main page -Disable API calls for infrastructure page -Re-style infrastructure labels --- ui/css/cloudstack3.css | 9 +++++++++ ui/scripts/system.js | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index fd970c41f61..19b0aee4794 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -10009,6 +10009,15 @@ div.ui-dialog div.autoscaler div.field-group div.form-container form div.form-it font-size: 11px; } +/*CS-16413: Disable infrastructure totals*/ +.system-dashboard.zone .status_box li span.header { + display: block; + width: 156px; + font-size: 16px; + text-align: center; + top: 31px; +} + /*Action icons*/ .action.edit .icon { background-position: 1px -1px; diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 7b242bc45ad..5a718fc486a 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -337,6 +337,11 @@ }); }; + // re: CS-16413 -- Disable API calls + return args.response.success({ + data: {} + }); + dataFns.zoneCount({}); } },