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

73 lines
2.8 KiB
Text
Raw Normal View History

2014-08-10 17:06:58 +00:00
<!-- from left to right on the screen -->
<div class="upperLeftUI">
<!-- home button -->
<div class="homeButton">
2014-10-18 23:26:34 +00:00
<a href="<%= root_url %>"></a>
2014-08-10 17:06:58 +00:00
</div> <!-- end homeButton -->
<!-- search box -->
<div class="sidebarSearch">
2014-08-27 02:51:50 +00:00
<input type="text" class="sidebarSearchField" placeholder="Search for topics, maps, and mappers..."></input>
2014-10-01 17:18:24 +00:00
<div id="searchLoading"></div>
2014-08-10 17:06:58 +00:00
<div class="sidebarSearchIcon"></div>
<div class="clearfloat"></div>
</div> <!-- end sidebarSearch -->
<div class="clearfloat"></div>
</div><!-- end upperLeftUI -->
<div class="upperRightUI">
2014-08-27 02:51:50 +00:00
<div class="mapElement upperRightEl upperRightMapButtons">
2014-08-10 17:06:58 +00:00
<!-- Realtime -->
<div class="sidebarCollaborate upperRightEl">
2014-08-27 02:51:50 +00:00
<div class="sidebarCollaborateIcon upperRightIcon blue"></div>
2014-08-10 17:06:58 +00:00
<div class="sidebarCollaborateBox upperRightBox">
2014-09-03 23:05:25 +00:00
<h3 class="realtimeBoxTitle">REALTIME</h3>
<span class="realtimeOnOff rtOff">OFF</span>
2014-08-10 17:06:58 +00:00
<span class="realtimeOnOff rtOn">ON</span>
<div class="clearfloat"></div>
<div class="realtimeMapperList">
<ul>
<li class="rtMapper littleRtOn rtMapperSelf">
<%= image_tag user.image.url(:square), :size => "24x24", :class => "rtUserImage" %>
2014-08-10 17:06:58 +00:00
<%= user.name %> (me)
2014-09-03 23:05:25 +00:00
<div class="littleJuntoIcon"></div>
2014-08-10 17:06:58 +00:00
</li>
</ul>
</div>
</div>
</div> <!-- end sidebarCollaborate a.k.a realtime -->
<!-- filtering -->
<div class="sidebarFilter upperRightEl">
2014-08-27 02:51:50 +00:00
<div class="sidebarFilterIcon upperRightIcon"></div>
2014-08-10 17:06:58 +00:00
<div class="sidebarFilterBox upperRightBox">
<%= render :partial => 'shared/filterBox' %>
</div>
</div> <!-- end sidebarFilter -->
<!-- fork map -->
<div class="sidebarFork upperRightEl">
2014-08-27 02:51:50 +00:00
<div class="sidebarForkIcon upperRightIcon"></div>
2014-08-10 17:06:58 +00:00
</div> <!-- end sidebarFork -->
<div class="clearfloat"></div>
</div> <!-- end mapElement -->
<!-- create new map -->
2014-08-27 02:51:50 +00:00
<div class="addMap openLightbox upperRightEl upperRightIcon" data-open="newmap">
2014-08-10 17:06:58 +00:00
</div><!-- end addMap -->
<!-- Account / Sign in -->
<div class="sidebarAccount upperRightEl">
<div class="sidebarAccountIcon">
<%= image_tag user.image.url(:square), :size => "32x32" %>
2014-08-10 17:06:58 +00:00
</div>
<div class="sidebarAccountBox upperRightBox">
<%= render :partial => 'layouts/account' %>
</div>
</div><!-- end sidebarAccount -->
2014-10-18 23:26:34 +00:00
2014-08-10 17:06:58 +00:00
<div class="clearfloat"></div>
</div><!-- end upperRightUI -->