1 <% content_for :head do %>
2 <%= javascript_include_tag "index" %>
5 <% unless STATUS == :api_offline or STATUS == :database_offline -%>
6 <% content_for :editmenu do -%>
7 <li><%= link_to t("browse.start_rjs.notes_layer_name"), notes_url(:format => :json), :id => "show_notes" %></li>
8 <li><%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %></li>
12 <% content_for :left_menu do %>
13 <li><%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %></li>
16 <%= render :partial => 'home_link' %>
17 <%= render :partial => 'sidebar' %>
18 <%= render :partial => 'search' %>
22 <p><%= t 'site.index.js_1' %></p>
23 <p><%= t 'site.index.js_2' %></p>
29 <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
30 <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
31 <a href="#" id="createnoteanchor">Report a problem</a>
35 <iframe id="linkloader" style="display: none">
38 <div id="attribution">
41 <td class="attribution_license"><%= t'site.index.license.license_url' %></td>
42 <td class="attribution_project"><%= t'site.index.license.project_url' %></td>
45 <td colspan="2" class="attribution_notice"><%= t'site.index.license.copyright' %></td>
50 <div id="new-note" class="hidden"><%= render :partial => "notes/new" %></div>