fixed styling for mod dash
This commit is contained in:
@@ -1,13 +1,18 @@
|
|||||||
div#moderator-dashboard {
|
div#c-moderator-dashboards {
|
||||||
div#comment-activity {
|
width: 60em;
|
||||||
width: 45%;
|
|
||||||
|
div#col1 {
|
||||||
|
width: 30em;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#post-activity {
|
div#col2 {
|
||||||
width: 45%;
|
width: 30em;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 2em;
|
}
|
||||||
|
|
||||||
|
div.activity {
|
||||||
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#ip-addr-search {
|
div#ip-addr-search {
|
||||||
@@ -19,11 +24,15 @@ div#moderator-dashboard {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
margin-bottom: 2em;
|
width: 26em;
|
||||||
}
|
}
|
||||||
|
|
||||||
caption {
|
caption {
|
||||||
font-weight: bold;
|
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" %>
|
<%= render "search" %>
|
||||||
|
|
||||||
<div id="col1">
|
<div id="col1">
|
||||||
<%= render "activity_upload" %>
|
<div class="activity"><%= render "activity_upload" %></div>
|
||||||
<%= render "activity_note" %>
|
<div class="activity"><%= render "activity_note" %></div>
|
||||||
<%= render "activity_tag" %>
|
<div class="activity"><%= render "activity_tag" %></div>
|
||||||
<%= render "activity_wiki_page" %>
|
<div class="activity"><%= render "activity_wiki_page" %></div>
|
||||||
<%= render "activity_artist" %>
|
<div class="activity"><%= render "activity_artist" %></div>
|
||||||
<%= render "activity_comment" %>
|
<div class="activity"><%= render "activity_comment" %></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="col2">
|
<div id="col2">
|
||||||
<%= render "activity_appeal" %>
|
<div class="activity"><%= render "activity_appeal" %></div>
|
||||||
<%= render "activity_user_feedback" %>
|
<div class="activity"><%= render "activity_user_feedback" %></div>
|
||||||
<%= render "activity_mod_action" %>
|
<div class="activity"><%= render "activity_mod_action" %></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div id="c-post-appeals">
|
<div id="c-post-appeals">
|
||||||
<div id="a-index">
|
<div id="a-index">
|
||||||
|
<h1>Appeals</h1>
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<div id="c-post-flags">
|
<div id="c-post-flags">
|
||||||
<div id="a-index">
|
<div id="a-index">
|
||||||
|
<h1>Flags</h1>
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<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