]> git.openstreetmap.org Git - rails.git/blob - app/views/webgl_error_panes/show.html.erb
Merge remote-tracking branch 'upstream/pull/6879'
[rails.git] / app / views / webgl_error_panes / show.html.erb
1 <div class="maplibre-error w-100 h-100 d-flex flex-column align-items-center justify-content-center text-center p-3 fs-5 lh-base bg-info-subtle text-info-emphasis" data-bs-theme="light">
2   <p class="maplibre-error-compact d-none position-absolute bottom-0 start-0 end-0 py-1 px-2 m-0 fw-bold">
3     <%= t(".compact_message") %>
4   </p>
5   <p class="d-none d-md-block">
6     <%= t(".description", :your_browser_does_not_support_webgl => content_tag(:b, t(".your_browser_does_not_support_webgl"))).html_safe %>
7   </p>
8   <p>
9     <%= link_to t(".read_more_about_webgl_url"), :target => "_blank", :rel => "noopener", :class => "btn btn-link text-info-emphasis fw-bold" do %>
10       <b><%= t(".webgl_is_required_for_this_map") %></b><br>
11       <small>
12         <i class="bi bi-info-circle-fill" aria-hidden="true"></i>
13         <%= t(".read_more_about_webgl") %>
14       </small>
15     <% end %>
16   </p>
17 </div>