layout fixes

This commit is contained in:
albert
2011-11-03 17:14:41 -04:00
parent 5f2f24814d
commit f6367aab49
11 changed files with 19 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
@import "../common/000_vars.css.scss";
div#c-favorites {
section#content > h1 {
display: none;
font-size: $h3_size;
}
}

View File

@@ -1,2 +0,0 @@
module PostModerationDetailsHelper
end

View File

@@ -18,7 +18,7 @@
</aside>
<section id="content">
<h1>Posts</h1>
<h1>Favorites</h1>
<%= @favorite_set.presenter.post_previews_html(self) %>

View File

@@ -1,6 +1,6 @@
<div id="c-forum-topics">
<div id="a-search">
<h1>Search Forum Posts</h1>
<h1>Search Forum</h1>
<%= simple_form_for @search do |f| %>
<%= f.input :topic_title_matches, :label => "Title", :required => false %>
<%= f.input :body_matches, :label => "Body", :required => false %>

View File

@@ -50,10 +50,10 @@
</li>
<li><strong>Uploader</strong>: <%= link_to(post.uploader.name, user_path(post.uploader_id)) %> <%= time_ago_in_words(post.created_at) %> ago</li>
<% if post.is_flagged? %>
<li><strong>Flagged</strong>: <%= post_flag_reason(post) %></li>
<li><strong>Flagged</strong>: <%= post_flag_reasons(post) %></li>
<% end %>
<% if (post.is_flagged? || post.is_deleted?) && post.appeals.any? %>
<li><strong>Appeals</strong>: <%= post_appeal_reason(post) %></li>
<li><strong>Appeals</strong>: <%= post_appeal_reasons(post) %></li>
<% end %>
<li><strong>Hidden</strong>: <%= post.disapprovals.count %></li>
<li><strong>Tags</strong>: <%= post.tag_string %></li>

View File

@@ -1,5 +1,7 @@
<div id="c-note-versions">
<div id="a-index">
<h1>Note Changes</h1>
<table width="100%" class="striped">
<thead>
<tr>

View File

@@ -1,5 +1,7 @@
<div id="c-notes">
<div id="a-search">
<h1>Search Notes</h1>
<%= simple_form_for @search do |f| %>
<%= f.input :body_matches, :label => "Body", :required => false %>
<%= f.input :post_tag_match, :label => "Tags", :required => false %>

View File

@@ -1,5 +1,7 @@
<div id="c-post-versions">
<div id="a-index">
<h1>Changes</h1>
<% if @post_versions.empty? %>
<%= render "post_sets/blank" %>
<% else %>
@@ -11,5 +13,5 @@
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
Post Versions - <%= Danbooru.config.app_name %>
Post Changes - <%= Danbooru.config.app_name %>
<% end %>

View File

@@ -1,5 +1,7 @@
<div id="c-post-versions">
<div id="a-search">
<h1>Search Changes</h1>
<div id="search">
<%= simple_form_for(@search) do |f| %>
<%= f.input :updater_name_eq, :label => "User", :required => false %>
@@ -13,5 +15,5 @@
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
Search Post Versions - <%= Danbooru.config.app_name %>
Search Post Changes - <%= Danbooru.config.app_name %>
<% end %>

View File

@@ -9,7 +9,7 @@
</aside>
<section id="content">
<h1>Posts</h1>
<h1>Tag Subscriptions</h1>
<%= @post_set.presenter.post_previews_html(self) %>

View File

@@ -1,6 +1,6 @@
<div id="c-uploads">
<div id="a-new">
<h1>Upload Post</h1>
<h1>Upload</h1>
<div id="upload-guide-notice">
<p>Before uploading, please read the <%= link_to "how to upload guide", wiki_pages_path(:title => "howto:upload") %>.</p>