2013-01-11 23:49:59 +00:00
|
|
|
<%#
|
|
|
|
# @file
|
|
|
|
# Located at /
|
|
|
|
# Shows 3 most recently created topics, synapses, and maps.
|
2014-08-10 17:06:58 +00:00
|
|
|
#%>
|
2013-07-09 16:32:13 +00:00
|
|
|
|
2014-08-02 02:50:23 +00:00
|
|
|
<% if !authenticated? %>
|
2014-08-10 23:13:25 +00:00
|
|
|
<% content_for :title, "Home | Metamaps" %>
|
|
|
|
<div id="yield">
|
|
|
|
<div class="homeWrapper">
|
2014-10-22 17:41:06 +00:00
|
|
|
<div class="homeTextWrapper">
|
|
|
|
<div class="homeLogo"></div>
|
|
|
|
<div class="homeText">
|
|
|
|
Welcome to the collaborative, realtime design and sensemaking playground
|
|
|
|
for members of The Value Web globally.
|
|
|
|
</div>
|
|
|
|
<div class="learnMore">LEARN MORE:</div>
|
|
|
|
<div class="homeLinks">
|
|
|
|
<a id="toMetamaps" href="http://metamaps.cc" data-bypass="true"></a>
|
|
|
|
<a id="toTheValueWeb" href="http://www.thevalueweb.org" data-bypass="true"></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-18 23:26:34 +00:00
|
|
|
|
|
|
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { class: "loginAnywhere" }) do |f| %>
|
|
|
|
<div class="accountInput accountEmail">
|
|
|
|
<%= f.email_field :email, :placeholder => "Email" %>
|
|
|
|
</div>
|
|
|
|
<div class="accountInput accountPassword">
|
|
|
|
<%= f.password_field :password, :placeholder => "Password" %>
|
|
|
|
</div>
|
|
|
|
<div class="accountSubmit"><%= f.submit "SIGN IN" %></div>
|
|
|
|
<% if devise_mapping.rememberable? -%>
|
|
|
|
<div class="accountRememberMe">
|
|
|
|
<%= f.label :remember_me, "Stay signed in" %>
|
|
|
|
<%= f.check_box :remember_me %>
|
|
|
|
<div class="clearfloat"></div>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
|
|
|
<div class="clearfloat"></div>
|
|
|
|
<div class="accountForgotPass">
|
|
|
|
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
|
|
|
|
<%= link_to "Forgot password?", new_password_path(resource_name),
|
|
|
|
:data => { :bypass => 'true'} %>
|
|
|
|
<% end -%>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2014-10-22 17:41:06 +00:00
|
|
|
<div class="clearfloat"></div>
|
2014-08-10 23:13:25 +00:00
|
|
|
</div>
|
2014-10-18 23:26:34 +00:00
|
|
|
</div><!-- end yield -->
|
2014-08-10 23:13:25 +00:00
|
|
|
<script>
|
|
|
|
Metamaps.currentSection = "";
|
|
|
|
Metamaps.currentPage = "";
|
|
|
|
</script>
|
2014-08-02 02:50:23 +00:00
|
|
|
<% elsif authenticated? %>
|
2014-11-29 06:37:06 +00:00
|
|
|
<% content_for :title, "Explore Active Maps | Metamaps" %>
|
2014-08-10 23:13:25 +00:00
|
|
|
<script>
|
2014-11-29 06:37:06 +00:00
|
|
|
Metamaps.Maps.Active = <%= @maps.to_json.html_safe %>;
|
2014-08-10 17:06:58 +00:00
|
|
|
Metamaps.currentSection = "";
|
|
|
|
Metamaps.currentPage = "";
|
|
|
|
Metamaps.GlobalUI.Search.isOpen = true;
|
|
|
|
Metamaps.GlobalUI.Search.lock();
|
2014-08-10 23:13:25 +00:00
|
|
|
</script>
|
2014-08-10 17:06:58 +00:00
|
|
|
<% end %>
|