47a74dd77b
* initial restructuring * stuff * lock version number * just keep using current mapinfobox * fix map upperRightUI layout * make mapsWidth work and add mobile * remove filterBoxOpen for now * redo the mobile menu in react * get account menu and invite lightbox working * fixed maps scrolling * make other routes work * fix signed out home page * fix accountbox toggling * add metacode edit routes * lots of fixes * fix map chat layout and tab bug * improve topic card readability and fix dragging bug * fixup mapchat stuff * fix up navigation to use react-router * jquery no longer handling access requests * handle case where user hasn't loaded yet * this shouldn't have been removed * add frame for topic view * rewrite map instructions * fix toast (and sign out bug) * fix apps pages and missing routes * made our request invite page look nice * filter box in react * forgot to add one proptype * remove extra comments * handle page title and mobile title updates * reenable google analytics * make filterbox use onclickoutside * reenable topic view in react * fix csrf auth token * fix little homepage styling issue * try putting preparevizdata in a timeout * installing render log to count * little fixes * fixup filters * make filter map function names more readable * eslint helps * renaming for clarity * use onclickoutside for account/sign in box * add some logging to see whether this is source of many renders * turns out chatview was heavily hogging memory * tiimeout not needed
31 lines
1.4 KiB
Text
31 lines
1.4 KiB
Text
<%#
|
|
# @file
|
|
# Main application file. Holds scaffolding present on every page.
|
|
# Then a certain non-partial view (no _ preceding filename) will be
|
|
# displayed within, based on URL
|
|
#%>
|
|
|
|
<%= render :partial => 'layouts/head' %>
|
|
<body class="<%= current_user ? 'authenticated' : 'unauthenticated' %>">
|
|
<div class="main" id="react-app"></div>
|
|
<%= yield %>
|
|
<div id="exploreMapsHeader">
|
|
<div class="exploreMapsBar exploreElement">
|
|
<div class="exploreMapsMenu">
|
|
<div class="exploreMapsCenter">
|
|
<% if current_user && current_user.admin %>
|
|
<a href="<%= oauth_applications_path %>" class="activeMaps exploreMapsButton <%= params[:controller] == 'doorkeeper/applications' ? 'active' : nil %>">
|
|
<div class="exploreMapsIcon"></div>Registered Apps
|
|
</a>
|
|
<% end %>
|
|
<a href="<%= oauth_authorized_applications_path %>" class="authedApps exploreMapsButton <%= params[:controller] == 'doorkeeper/authorized_applications' ? 'active' : nil %>">
|
|
<div class="exploreMapsIcon"></div>Authorized Apps
|
|
</a>
|
|
<a href="/" class="myMaps exploreMapsButton">
|
|
<div class="exploreMapsIcon"></div>Maps
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<%= render :partial => 'layouts/foot' %>
|