Commit 9bf892c4 authored by Michal Čihař's avatar Michal Čihař

Styling for accept/delete buttons

parent 4fb0ff87
......@@ -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" }});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment