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> <caption>Appeals</caption>
<thead> <thead>
<tr> <tr>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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