From bffff2713b687904276209fbd211ebb12eaa7ee0 Mon Sep 17 00:00:00 2001 From: bee0005 Date: Mon, 3 Oct 2016 04:24:08 +0000 Subject: [PATCH] update home --- app/views/home/index.html.erb | 103 ++++++++++++++++-- db/migrate/20160920111650_create_nodes.rb | 2 +- .../production/css/calendar/fullcalendar.css | 1 - 3 files changed, 96 insertions(+), 10 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 36c393e..da55325 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -130,15 +130,14 @@ -
-
-
+
+
-

Nodes

+

Nodes Status

-

App Usage across versions

- 0.1.5.2 + Ping Connections / Total Node
@@ -211,7 +209,7 @@
-
+
60% Complete
@@ -237,13 +235,84 @@
-
+ +
+
+
+

Nodes List

+ +
+
+
+ +
+
+
+
+
@@ -265,6 +334,19 @@ $(document).ready(function() { + diff --git a/db/migrate/20160920111650_create_nodes.rb b/db/migrate/20160920111650_create_nodes.rb index 9eb0e74..0dca683 100644 --- a/db/migrate/20160920111650_create_nodes.rb +++ b/db/migrate/20160920111650_create_nodes.rb @@ -3,7 +3,7 @@ class CreateNodes < ActiveRecord::Migration create_table :nodes do |t| t.string :host_name - t.string :host_ip + t.string :host_ip, unique: true t.string :user_name t.string :user_password diff --git a/vendor/assets/components/gentelella/production/css/calendar/fullcalendar.css b/vendor/assets/components/gentelella/production/css/calendar/fullcalendar.css index e036061..fe6f1f1 100755 --- a/vendor/assets/components/gentelella/production/css/calendar/fullcalendar.css +++ b/vendor/assets/components/gentelella/production/css/calendar/fullcalendar.css @@ -487,7 +487,6 @@ temporary rendered events). overflow-y: scroll; overflow-x: hidden; } - .fc-scroller > * { /* we expect an immediate inner element */ position: relative; /* re-scope all positions */ width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */