From 084d62b4e3482d95f22fa16e963971eec1ee1599 Mon Sep 17 00:00:00 2001 From: bee0005 Date: Mon, 3 Oct 2016 06:38:07 +0000 Subject: [PATCH] update --- app/views/home/index.html.erb | 2 +- app/views/node/detail.html.erb | 51 ++++++++++++++++-- app/views/node/index.html.erb | 54 +++++++++++++++++++ .../gentelella/production/css/custom.css | 6 +++ .../gentelella/production/less/custom.css | 4 ++ 5 files changed, 111 insertions(+), 6 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 5ee5a21..ecf511b 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -153,7 +153,7 @@
-
+
Ping Connections / Total Node diff --git a/app/views/node/detail.html.erb b/app/views/node/detail.html.erb index 2865bda..a9d9bf1 100644 --- a/app/views/node/detail.html.erb +++ b/app/views/node/detail.html.erb @@ -70,6 +70,33 @@
+
+
+
+

Node List

+ +
+
+
+ +
+
+
+ +
+
@@ -126,8 +153,7 @@
- -
+

Node Detail

@@ -155,20 +181,35 @@
- + <% if node["ping"].eql? "true" %> + + <% else %> + + <% end %> +
<% if node["ping"].eql? "true" %>
- + <% if node["ssh"].eql? "on" %> + + <% else %> + + <% end %> +
- + <% if node["gluster"].eql? "on" %> + + <% else %> + + <% end %> +
diff --git a/app/views/node/index.html.erb b/app/views/node/index.html.erb index 5d163c8..940af4b 100644 --- a/app/views/node/index.html.erb +++ b/app/views/node/index.html.erb @@ -70,6 +70,36 @@
+
+
+
+

Node List

+ +
+
+
+
+
+

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

+
+
+
+
+
+
+
@@ -126,6 +156,30 @@
+
+
+
+

Node Detail Click host name

+ +
+
+
+ +
+
+
diff --git a/vendor/assets/components/gentelella/production/css/custom.css b/vendor/assets/components/gentelella/production/css/custom.css index 2de23a3..af19f27 100755 --- a/vendor/assets/components/gentelella/production/css/custom.css +++ b/vendor/assets/components/gentelella/production/css/custom.css @@ -358,6 +358,12 @@ body { .fixed_height_200 { height: 200px; } +.fixed_height_230 { + height: 230px; +} +.fixed_height_300 { + height: 300px; +} .overflow_hidden { overflow: hidden } diff --git a/vendor/assets/components/gentelella/production/less/custom.css b/vendor/assets/components/gentelella/production/less/custom.css index 3a28314..6ab02c9 100755 --- a/vendor/assets/components/gentelella/production/less/custom.css +++ b/vendor/assets/components/gentelella/production/less/custom.css @@ -430,6 +430,10 @@ body { height: 200px; } +.fixed_height_220 { + height: 220px; +} + .overflow_hidden { overflow: hidden }