removed show more from latestreviewerspanel and some style corrections on peer button icons.

This commit is contained in:
Emil Siverhall 2011-08-08 16:20:08 +02:00
parent a4df7447d5
commit a3649b56ed
4 changed files with 6 additions and 9 deletions
src/main
java/se/su/dsv/scipro/peer/panels
webapp/css/blueprint/plugins/buttons

@ -15,9 +15,7 @@
</table> </table>
<i><span wicket:id="noReviewersFoundMessage"></span></i> <i><span wicket:id="noReviewersFoundMessage"></span></i>
</div> </div>
<div>
<a href="#" wicket:id="showMore">Show more...</a>
</div>
</wicket:panel> </wicket:panel>
</body> </body>
</html> </html>

@ -87,7 +87,7 @@ public class LatestReviewPanel extends Panel {
add(listView); add(listView);
add(new AjaxLink<Void>("showMore") { /*add(new AjaxLink<Void>("showMore") {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@Override @Override
@ -103,7 +103,7 @@ public class LatestReviewPanel extends Panel {
return listView.size() < totalCount; return listView.size() < totalCount;
} }
}); });*/
} }
public LatestReviewPanel(String id) { public LatestReviewPanel(String id) {

@ -55,11 +55,10 @@
<div> <div>
<a wicket:id="reviewLink" href="#" class="button">Review this request <a wicket:id="reviewLink" href="#" class="button">Review this request
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/>
</a> </a>
<span wicket:id="notReviewableMsg" class="disabled-button"> <span wicket:id="notReviewableMsg" class="disabled-button">
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/>
</span> </span>
</div> </div>

@ -53,8 +53,8 @@ button img, a.disabled-button, a.button img{
span.disabled-button { span.disabled-button {
cursor: default; cursor: default;
font-style: italic; font-style: italic;
padding-right: 30px; padding-right: 10px;
background: url(icons/cross.png) no-repeat 95%; background: 95%;
} }