diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-16 10:04:12 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-16 10:04:12 +0300 |
commit | d74a152bba73095a0c7090dc078a7023eeb9ad18 (patch) | |
tree | 43f0a47fc93bcdd22f5799d41989582fc57c1cc9 /lib/oxidized/api/web/views/nodes.haml | |
parent | 2af41e1769225ac42027f2f686763389296bab79 (diff) |
remove web API
It is now separately in oxidized-web package
Diffstat (limited to 'lib/oxidized/api/web/views/nodes.haml')
-rw-r--r-- | lib/oxidized/api/web/views/nodes.haml | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/oxidized/api/web/views/nodes.haml b/lib/oxidized/api/web/views/nodes.haml deleted file mode 100644 index 336a4c2..0000000 --- a/lib/oxidized/api/web/views/nodes.haml +++ /dev/null @@ -1,34 +0,0 @@ -%html - !=haml :head - %body - %table{:id=>'nodesTable', :class=>'center tablesorter'} - %thead - %tr - %th Name - %th IP - %th Group - %th Last Status - %th Last Time - %th Config - %th Update - %tbody - -trclass = %w(even odd) - -@data.sort_by{|e|e[:name]}.each do |node| - -klass = trclass.rotate!.first - %tr{:class=>klass} - %td - %a(href="/node/show/#{node[:name]}") #{node[:name]} - %td= node[:ip] - %td= node[:group] - %td= node[:status] - %td= node[:time] - %td - %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 - :javascript - $(function(){ - $("#nodesTable").tablesorter(); - }); |