add nav help for posts

This commit is contained in:
albert
2013-02-25 20:41:08 -05:00
parent c6d03f2d3a
commit cea05698af
9 changed files with 66 additions and 29 deletions

View File

@@ -0,0 +1,5 @@
<div class="clearfix"></div>
<div id="nav-help" class="ui-corner-all nav-notice">
<p class="hint">Press <span class="key">&larr;</span> or <span class="key">&rarr;</span> to navigate pages [<%= link_to "close", "#", :id => "close-nav-help-link" %>]</p>
</div>

View File

@@ -0,0 +1,3 @@
<div id="nav-help" class="ui-corner-all nav-notice">
<p class="hint">Press <span class="key">&larr;</span> or <span class="key">&rarr;</span> to navigate posts and <span class="key">space</span> to scroll [<%= link_to "close", "#", :id => "close-nav-help-link" %>]</p>
</div>

View File

@@ -1,8 +1,8 @@
<div id="tag-seq-nav" class="ui-corner-all nav-notice">
<div id="search-seq-nav" class="ui-corner-all nav-notice">
<ul>
<li>
<li class="active">
<%= link_to "&laquo;prev".html_safe, show_seq_post_path(post, :tags => params[:tags], :seq => "prev"), :rel => "prev" %>
<span class="tag-name">Search: <%= params[:tags] %></span>
<span class="search-name">Search: <%= params[:tags] %></span>
<%= link_to "next&raquo;".html_safe, show_seq_post_path(post, :tags => params[:tags], :seq => "next"), :rel => "next" %>
</li>
</ul>