prototype mobile interface

This commit is contained in:
albert
2011-11-06 16:59:21 -05:00
parent 5158d1b274
commit 19e5e521f5
13 changed files with 288 additions and 33 deletions

View File

@@ -0,0 +1,19 @@
<div id="c-m-posts">
<%= render "header" %>
<% @post_set.posts.each do |post| %>
<%= PostPresenter.preview(post, :path_prefix => "/m/posts") %>
<% end %>
<footer>
<%= sequential_paginator(@post_set.posts) %>
</footer>
</div>
<% content_for(:page_title) do %>
<% if params[:tags].present? %>
<%= params[:tags] %> - <%= Danbooru.config.app_name %>
<% else %>
<%= Danbooru.config.app_name %>
<% end %>
<% end %>