@name = printable_name @node
@title = t('browse.node.node') + ' | ' + @name
%>
-<table width="100%">
- <tr>
- <td>
- <h2><%= t'browse.node.node_title', :node_name => h(@name) %></h2>
- </td>
- <td>
- <%= render :partial => "navigation" %>
- </td>
- </tr>
- <tr valign="top">
- <td>
- <%= render :partial => "node_details", :object => @node %>
- <hr />
- <%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "node", :action => "read"),
- :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history"),
- :edit_link => link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id)
- %>
- </td>
- <%= render :partial => "map", :object => @node %>
- </tr>
-</table>
+<% content_for :head do %>
+<%= stylesheet_link_tag 'browse' %>
+<% end %>
+
+<% content_for :heading do %>
+ <h2><%= t'browse.node.node_title', :node_name => @name %></h2>
+ <ul class='secondary-actions clearfix'>
+ <li><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %></li>
+ <li><%= link_to(t('browse.node.view_history'), :action => "node_history") %></li>
+ <% if @node.visible -%>
+ <li><%= link_to(t('browse.node.edit'), :controller => "site", :action => "edit", :lat => @node.lat, :lon => @node.lon, :zoom => 18, :node => @node.id) %></li>
+ <% end -%>
+ </ul>
+<% end %>
+<%= render :partial => "navigation" %>
+
+<% if @node.visible -%>
+<%= render :partial => "map", :object => @node %>
+<% end -%>
+
+<div class='column-1'>
+ <%= render :partial => "node_details", :object => @node %>
+</div>
\ No newline at end of file