fixes for mod dashboard

This commit is contained in:
albert
2011-10-15 02:33:11 -04:00
parent b81e23bb32
commit b378a15b37
11 changed files with 30 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Appeals</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Artist Updates</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Comment Activity</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Mod Actions</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Note Updates</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Tag Updates</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Uploads</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>User Feedback</caption>
<thead>
<tr>

View File

@@ -1,4 +1,4 @@
<table>
<table class="striped">
<caption>Wiki Page Updates</caption>
<thead>
<tr>

View File

@@ -1,9 +1,13 @@
<% form_tag(moderator_dashboard_path, :method => :get) do %>
<label for="min_date">Minimum Date</label>
<%= text_field_tag :min_date, @dashboard.min_date %><br>
<%= form_tag(moderator_dashboard_path, :method => :get, :class => "simple_form") do %>
<div class="input">
<label for="min_date">Minimum Date</label>
<%= text_field_tag :min_date, @dashboard.min_date %>
</div>
<label for="max_level">Max Level</label>
<%= user_level_select_tag(:max_level) %><br>
<div class="input">
<label for="max_level">Max Level</label>
<%= user_level_select_tag(:max_level) %><br>
</div>
<%= submit_tag "Search" %>
<% end %>

View File

@@ -1,11 +1,17 @@
<% form_tag(moderator_ip_addrs_path, :method => :get) do %>
<label for="user_ids">Search IPs</label>
<%= text_field_tag "search[ip_addr_eq]", params[:ip_addrs] %>
<%= form_tag(moderator_ip_addrs_path, :method => :get, :class => "simple_form") do %>
<div class="input">
<label for="user_ids">Search IPs</label>
<%= text_field_tag "search[ip_addr_eq]", params[:ip_addrs] %>
</div>
<%= submit_tag "Search" %>
<% end %>
<% form_tag(moderator_ip_addrs_path, :method => :get) do %>
<label for="user_ids">Search User IDs</label>
<%= text_field_tag "search[user_id_eq]", params[:user_ids] %>
<%= form_tag(moderator_ip_addrs_path, :method => :get, :class => "simple_form") do %>
<div class="input">
<label for="user_ids">Search User IDs</label>
<%= text_field_tag "search[user_id_eq]", params[:user_ids] %>
</div>
<%= submit_tag "Search" %>
<% end %>