---
src/app/services/graph_service.rb | 8 ++++----
src/public/stylesheets/components.css | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/app/services/graph_service.rb
b/src/app/services/graph_service.rb
index 9a2d12a..c0c9fc2 100644
--- a/src/app/services/graph_service.rb
+++ b/src/app/services/graph_service.rb
@@ -56,8 +56,8 @@ class GraphService
unless max_value = opts[:max_value]
max_value = 100 unless max_value =
Quota.maximum('maximum_running_instances')
end
- height = 80 unless height = opts[:height]
- width = 150 unless width = opts[:width]
+ height = 80 unless height = opts[:height].to_i
+ width = 150 unless width = opts[:width].to_i
raw_svg = ""
gp = gnuplot_open
@@ -143,8 +143,8 @@ class GraphService
def self.qos_avg_time_to_submit_graph (provider, opts = {})
#things we're checking for in opts: :height, :width
- height = 60 unless height = opts[:height]
- width = 100 unless width = opts[:width]
+ height = 60 unless height = opts[:height].to_i
+ width = 100 unless width = opts[:width].to_i
graph = Graph.new
gp = gnuplot_open
diff --git a/src/public/stylesheets/components.css
b/src/public/stylesheets/components.css
index eec50c0..467712a 100644
--- a/src/public/stylesheets/components.css
+++ b/src/public/stylesheets/components.css
@@ -251,9 +251,8 @@ ul.nav li.selected {
display: inline;
float: left;
margin-left: 10px;
- border: 1px solid black;
width: 140px;
- height: 20px;
+ height: 50px;
}
.pool_quota_usage_summary {
--
1.6.2.5
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel