app/views/resolve/index.html.erb in umlaut-3.0.5 vs app/views/resolve/index.html.erb in umlaut-3.1.0.pre1
- old
+ new
@@ -1,73 +1,47 @@
-
-<%= render :partial=>'background_updater' %>
-
-
-<div class="umlaut_resolve"> <!-- actual wrapper for both columns -->
- <div class="main_column">
-
-
- <h1>Find <%=@user_request.referent.type_of_thing.titlecase %></h1>
-
- <div class="resource_info">
- <table width="100%" cellpadding="3" cellspacing="0">
- <tr>
- <td>
- <%= render :partial=>'citation' %>
-
- <div class="resource_info_sections">
- <% html_sections(:resource_info).each do |section|
- %>
- <%= content_tag "div", :id => section[:div_id] do %>
- <%= render_section(section) %>
- <% end %>
- <% end %>
- </div>
-
- </td>
-
- <td align='right'>
- <div id="cover_image">
- <%= render_section(html_section_by_div_id("cover_image")) %>
- </div>
- </td>
- </tr>
- </table>
- </div>
-
-
- <div class="main_response_list">
- <% html_sections(:main).each do |section|
- %>
- <%= content_tag "div", :id => section[:div_id] do %>
- <%= render_section(section) %>
- <% end %>
- <% end %>
- </div>
-
- <!--close mainColumn-->
- </div>
-
- <div id="rightColumn" class="sidebar">
-
- <% html_sections(:sidebar).each do |section|
- %>
- <%= content_tag "div", :id => section[:div_id] do %>
- <%= render_section(section) %>
- <% end %>
- <% end %>
-
- <!-- service errors -->
- <div id="service_errors">
- <% html_sections(:service_errors).each do |section| %>
- <%= render_section(section) %>
- <% end %>
- </div>
-
- </div>
-
-
-<!-- close bothColumns -->
-</div>
-
-
-
+<%= render :partial=>'background_updater' %>
+<div class="row-fluid">
+
+ <div class="span8 umlaut-main">
+
+ <div class="umlaut-resource-info">
+ <div class="resource_info_sections">
+ <%= render :partial=> "manually_entered_warning" %>
+
+ <%= render :partial=>'citation' %>
+ <% html_sections(:resource_info).each do |section| %>
+ <%= content_tag "div", :id => section[:div_id] do %>
+ <%= render_section(section) %>
+ <% end %>
+ <% end %>
+ </div>
+
+ <%# need a div here for ajax bg loader to put bg loaded cover into %>
+ <div id="cover_image">
+ <%= render_section(html_section_by_div_id("cover_image")) %>
+ </div>
+
+ </div>
+
+ <div class="main_response_list">
+ <% html_sections(:main).each do |section| %>
+ <%= content_tag "div", :id => section[:div_id] do %>
+ <%= render_section(section) %>
+ <% end %>
+ <% end %>
+ </div>
+</div>
+
+ <div class="span4 umlaut-sidebar">
+ <% html_sections(:sidebar).each do |section| %>
+ <%= content_tag "div", :id => section[:div_id] do %>
+ <%= render_section(section) %>
+ <% end %>
+ <% end %>
+ <div id="service_errors">
+ <% html_sections(:service_errors).each do |section| %>
+ <%= render_section(section) %>
+ <% end %>
+ </div>
+ </div>
+ <%= render :partial=>"modal" %>
+</div>
\ No newline at end of file