styles
This commit is contained in:
@@ -225,6 +225,7 @@ span.wait {
|
|||||||
|
|
||||||
span.ui-icon {
|
span.ui-icon {
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-top: 0.2em;
|
||||||
margin-right: 0.25em;
|
margin-right: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<%- if flash[:notice] -%>
|
<%- if flash[:notice] -%>
|
||||||
<div class="ui-corner-all ui-state-highlight" id="notice"><span class="ui-icon ui-icon-info"></span> <%= flash[:notice] %></div>
|
<div class="ui-corner-all ui-state-highlight" id="notice"><span class="ui-icon ui-icon-info"></span> <%= flash[:notice] %></div>
|
||||||
<%- else -%>
|
<%- else -%>
|
||||||
<div class="ui-corner-all ui-state-highlight" id="notice" style="display: none;"><span class="ui-icon ui-icon-info"></span> </div>
|
<div class="ui-corner-all ui-state-highlight" id="notice" style="display: none;"><span class="ui-icon ui-icon-info"></span></div>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
||||||
<div id="page">
|
<div id="page">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Uploader: <%= link_to_unless(post.uploader.nil?, post.uploader_name, user_path(post.uploader)) %></li>
|
<li>Uploader: <%= link_to_unless(post.uploader.nil?, post.uploader_name, user_path(post.uploader)) %></li>
|
||||||
<li>Uploaded: <%= time_ago_in_words(post.created_at).gsub(/about/, "") %> ago</li>
|
<li>Date: <time datetime="<%= post.created_at.iso8601 %>" title="<%= post.created_at.to_date %>"><%= time_ago_in_words(post.created_at).gsub(/about/, "") %> ago</time></li>
|
||||||
<% if post.approver %>
|
<% if post.approver %>
|
||||||
<li>Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %></li>
|
<li>Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -28,6 +28,4 @@
|
|||||||
<abbr title="Active">A</abbr>
|
<abbr title="Active">A</abbr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<li><%= link_to "Tag History", post_versions_path(:search => {:post_id_eq => post.id}) %></li>
|
|
||||||
<li><%= link_to "Note History", note_versions_path(:search => {:post_id_eq => post.id}) %></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
@@ -22,11 +22,20 @@
|
|||||||
<h1>Information</h1>
|
<h1>Information</h1>
|
||||||
<%= render :partial => "posts/partials/show/information", :locals => {:post => @post} %>
|
<%= render :partial => "posts/partials/show/information", :locals => {:post => @post} %>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h1>Options</h1>
|
<h1>Options</h1>
|
||||||
<%= render :partial => "posts/partials/show/options", :locals => {:post => @post} %>
|
<%= render :partial => "posts/partials/show/options", :locals => {:post => @post} %>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h1>History</h1>
|
||||||
|
<ul>
|
||||||
|
<li><%= link_to "Tags", post_versions_path(:search => {:post_id_eq => @post.id}) %></li>
|
||||||
|
<li><%= link_to "Notes", note_versions_path(:search => {:post_id_eq => @post.id}) %></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<section id="content">
|
<section id="content">
|
||||||
|
|||||||
Reference in New Issue
Block a user