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

Styling for accept/delete buttons

parent 4fb0ff87
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
<tr><td> <tr><td>
{% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %} {% blocktrans with suggestion.user.get_full_name as user %}Suggested by {{ user }}{% endblocktrans %}
<div class="suggestionactions"> <div class="suggestionactions">
<a href="{{ suggestion.get_accept_url }}">Accept</a> <a href="{{ suggestion.get_accept_url }}" class="sug-accept">Accept</a>
<a href="{{ suggestion.get_delete_url }}">Delete</a> <a href="{{ suggestion.get_delete_url }}" class="sug-delete">Delete</a>
</div> </div>
</td> </td>
{% endfor %} {% endfor %}
......
...@@ -61,3 +61,7 @@ ul.breadcums li { ...@@ -61,3 +61,7 @@ ul.breadcums li {
.suggestionactions { .suggestionactions {
float: right; float: right;
} }
.suggestionactions a {
width: 20px;
height: 20px;
}
...@@ -2,4 +2,6 @@ $(document).ready(function(){ ...@@ -2,4 +2,6 @@ $(document).ready(function(){
$('.button').button(); $('.button').button();
$('ul.menu li').button(); $('ul.menu li').button();
$('ul.breadcums').buttonset(); $('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