Styling for accept/delete buttons
This commit is contained in:
parent
4fb0ff8775
commit
9bf892c460
|
@ -45,8 +45,8 @@
|
|||
<tr><td>
|
||||
{% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %}
|
||||
<div class="suggestionactions">
|
||||
<a href="{{ suggestion.get_accept_url }}">Accept</a>
|
||||
<a href="{{ suggestion.get_delete_url }}">Delete</a>
|
||||
<a href="{{ suggestion.get_accept_url }}" class="sug-accept">Accept</a>
|
||||
<a href="{{ suggestion.get_delete_url }}" class="sug-delete">Delete</a>
|
||||
</div>
|
||||
</td>
|
||||
{% endfor %}
|
||||
|
|
|
@ -61,3 +61,7 @@ ul.breadcums li {
|
|||
.suggestionactions {
|
||||
float: right;
|
||||
}
|
||||
.suggestionactions a {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
|
|
@ -2,4 +2,6 @@ $(document).ready(function(){
|
|||
$('.button').button();
|
||||
$('ul.menu li').button();
|
||||
$('ul.breadcums').buttonset();
|
||||
$('.sug-accept').button({text: false, icons: { primary: "ui-icon-check" }});
|
||||
$('.sug-delete').button({text: false, icons: { primary: "ui-icon-close" }});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user