diff options
Diffstat (limited to 'lib/oxidized/api')
-rw-r--r-- | lib/oxidized/api/web/public/css/oxidized.css | 12 | ||||
-rw-r--r-- | lib/oxidized/api/web/views/nodes.haml | 5 |
2 files changed, 13 insertions, 4 deletions
diff --git a/lib/oxidized/api/web/public/css/oxidized.css b/lib/oxidized/api/web/public/css/oxidized.css index 8455513..9df98c6 100644 --- a/lib/oxidized/api/web/public/css/oxidized.css +++ b/lib/oxidized/api/web/public/css/oxidized.css @@ -4,7 +4,6 @@ body { } a:link { - /* color: #268bd2; */ color: #dc322f; text-decoration: none; } @@ -20,6 +19,16 @@ a:hover { a:active { } +.center { + margin-left: auto; + margin-right: auto; + text-align: center; +} + +th { + color: #2aa198; +} + tr.odd { background: #eee8d5; } @@ -32,4 +41,3 @@ tr:hover { background: #586e75; color: #fdf6e3; } - diff --git a/lib/oxidized/api/web/views/nodes.haml b/lib/oxidized/api/web/views/nodes.haml index 4bc0b14..87549cc 100644 --- a/lib/oxidized/api/web/views/nodes.haml +++ b/lib/oxidized/api/web/views/nodes.haml @@ -1,8 +1,7 @@ %html !=haml :head %body - %a(href="/reload") reload list of nodes - %table + %table{:class=>'center'} %tr %th Name %th IP @@ -25,3 +24,5 @@ %a(href="/node/fetch/#{node[:full_name]}") config %td %a(href="/node/next/#{node[:full_name]}") update + %p{:class=>'center'} + %a(href="/reload") reload list of nodes |