metamaps--metamaps/app/views/layouts/_lowermapelements.html.erb

19 lines
992 B
Text
Raw Permalink Normal View History

<div class="mapControls mapElement">
2014-11-12 18:40:00 +00:00
<div class="takeScreenshot mapControl"><div class="tooltips">Capture Screenshot</div></div>
2014-11-12 18:31:15 +00:00
<div class="zoomExtents mapControl"><div class="tooltips">Center View</div></div>
<div class="zoomIn mapControl"><div class="tooltips">Zoom In</div></div>
2014-11-14 13:21:09 +00:00
<div class="zoomOut mapControl"><div class="tooltips">Zoom Out</div></div>
2014-08-10 17:06:58 +00:00
</div>
<div class="infoAndHelp">
<%= render :partial => 'maps/mapinfobox' %>
2016-10-07 16:16:37 +00:00
<% starred = current_user && @map && current_user.starred_map?(@map)
starClass = starred ? 'starred' : ''
tooltip = starred ? 'Star' : 'Unstar' %>
<div class="starMap infoElement mapElement <%= starClass %>"><div class="tooltipsAbove"><%= tooltip %></div></div>
<div class="mapInfoIcon infoElement mapElement"><div class="tooltipsAbove">Map Info</div></div>
<div class="openCheatsheet openLightbox infoElement mapElement" data-open="cheatsheet"><div class="tooltipsAbove">Help</div></div>
<div class="clearfloat"></div>
</div>