Sha256: a7227c2f6d623c7bd32b95af680e997e869ee6c8d39d40bf6cac421867adf9bd
Contents?: true
Size: 943 Bytes
Versions: 4
Compression:
Stored size: 943 Bytes
Contents
%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(); });
Version data entries
4 entries across 4 versions & 1 rubygems