fixed styling for mod dash
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
div#moderator-dashboard {
|
||||
div#comment-activity {
|
||||
width: 45%;
|
||||
div#c-moderator-dashboards {
|
||||
width: 60em;
|
||||
|
||||
div#col1 {
|
||||
width: 30em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
div#post-activity {
|
||||
width: 45%;
|
||||
div#col2 {
|
||||
width: 30em;
|
||||
float: left;
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
div.activity {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
div#ip-addr-search {
|
||||
@@ -19,11 +24,15 @@ div#moderator-dashboard {
|
||||
}
|
||||
|
||||
table {
|
||||
margin-bottom: 2em;
|
||||
width: 26em;
|
||||
}
|
||||
|
||||
caption {
|
||||
font-weight: bold;
|
||||
font-size: 1.5em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
5
app/controllers/mod_actions_controller.rb
Normal file
5
app/controllers/mod_actions_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class ModActionsController < ApplicationController
|
||||
def index
|
||||
@mod_actions = ModAction.search(params[:search]).paginate(params[:page])
|
||||
end
|
||||
end
|
||||
25
app/views/mod_actions/index.html.erb
Normal file
25
app/views/mod_actions/index.html.erb
Normal file
@@ -0,0 +1,25 @@
|
||||
<div id="c-mod-actions">
|
||||
<div id="a-index">
|
||||
<h1>Mod Actions</h1>
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>User</th>
|
||||
<th>Message</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @mod_actions.each do |mod_action| %>
|
||||
<tr>
|
||||
<td><%= mod_action.created_at %></td>
|
||||
<td><%= link_to mod_action.creator.name, user_path(mod_action.creator) %></td>
|
||||
<td><%= format_text(mod_actiond.description) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<%= sequential_paginator(@mod_actions) %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -5,18 +5,18 @@
|
||||
<%= render "search" %>
|
||||
|
||||
<div id="col1">
|
||||
<%= render "activity_upload" %>
|
||||
<%= render "activity_note" %>
|
||||
<%= render "activity_tag" %>
|
||||
<%= render "activity_wiki_page" %>
|
||||
<%= render "activity_artist" %>
|
||||
<%= render "activity_comment" %>
|
||||
<div class="activity"><%= render "activity_upload" %></div>
|
||||
<div class="activity"><%= render "activity_note" %></div>
|
||||
<div class="activity"><%= render "activity_tag" %></div>
|
||||
<div class="activity"><%= render "activity_wiki_page" %></div>
|
||||
<div class="activity"><%= render "activity_artist" %></div>
|
||||
<div class="activity"><%= render "activity_comment" %></div>
|
||||
</div>
|
||||
|
||||
<div id="col2">
|
||||
<%= render "activity_appeal" %>
|
||||
<%= render "activity_user_feedback" %>
|
||||
<%= render "activity_mod_action" %>
|
||||
<div class="activity"><%= render "activity_appeal" %></div>
|
||||
<div class="activity"><%= render "activity_user_feedback" %></div>
|
||||
<div class="activity"><%= render "activity_mod_action" %></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div id="c-post-appeals">
|
||||
<div id="a-index">
|
||||
<h1>Appeals</h1>
|
||||
<table width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<div id="c-post-flags">
|
||||
<div id="a-index">
|
||||
<h1>Flags</h1>
|
||||
<table width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
3843
danbooru.struct.sql
Normal file
3843
danbooru.struct.sql
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user