rearrange the moderate comment UI.

svn path=/plone.app.discussion/trunk/; revision=27735
This commit is contained in:
Timo Stollenwerk 2009-06-29 21:05:38 +00:00
parent d3f9b90546
commit 15b7347626
2 changed files with 23 additions and 7 deletions

View File

@ -15,6 +15,7 @@
<h1 class="documentFirstHeading" i18n:translate="title_review"> <h1 class="documentFirstHeading" i18n:translate="title_review">
Moderate comments Moderate comments
</h1> </h1>
<ul class="filter"> <ul class="filter">
<li class="all"> <li class="all">
<form method="post" <form method="post"
@ -46,11 +47,15 @@
</li> </li>
--> -->
</ul> </ul>
<form method="post" <form method="post"
action="#" action="#"
class="bulkactions" class="bulkactions"
tal:attributes="action string:${context/absolute_url}/@@bulk-actions"> tal:attributes="action string:${context/absolute_url}/@@bulk-actions">
<table id="review-comments" class="listing" style="width: 100%" tal:condition="items">
<thead>
<tr>
<th class="nosort bulkactions" colspan="7">
<select name="form.select.BulkAction"> <select name="form.select.BulkAction">
<option selected="selected" value="-1" i18n:translate="title_bulkactions">Bulk Actions</option> <option selected="selected" value="-1" i18n:translate="title_bulkactions">Bulk Actions</option>
<!--<option value="retract" i18n:translate="bulkactions_retract">Retract</option>--> <!--<option value="retract" i18n:translate="bulkactions_retract">Retract</option>-->
@ -67,10 +72,8 @@
value="Apply" value="Apply"
name="form.button.BulkAction" name="form.button.BulkAction"
i18n:attributes="value label_apply;" /> i18n:attributes="value label_apply;" />
</th>
</tr>
<table id="review-comments" class="listing" style="width: 100%" tal:condition="items">
<thead>
<tr> <tr>
<th class="nosort"><input name="check_all" type="checkbox" value="0" /></th> <th class="nosort"><input name="check_all" type="checkbox" value="0" /></th>
<th i18n:translate="heading_author">Commenter</th> <th i18n:translate="heading_author">Commenter</th>

View File

@ -51,11 +51,12 @@
---------------------------------------------------------------- */ ---------------------------------------------------------------- */
ul.filter { ul.filter {
margin: 0.5em 0 0.5em 0em; margin: 1em 0 0 1em;
} }
.filter li { .filter li {
display: inline; display: inline;
margin: 0 0.2em;
} }
.filter li a:link { .filter li a:link {
@ -68,10 +69,14 @@ ul.filter {
.filter .selected { .filter .selected {
background-color: #DEE7EC; background-color: #DEE7EC;
border-bottom: 1px solid #DEE7EC;
}
.bulkactions {
text-align: left;
} }
#dobulkaction { #dobulkaction {
margin: 0.2em 0; margin: 0.45em 0;
} }
form.workflow_action { form.workflow_action {
@ -81,3 +86,11 @@ form.workflow_action {
form.delete { form.delete {
float: right; float: right;
} }
#review-comments {
margin: 0;
}
#review-comments select {
margin: 0.1em 0;
}