mirror of
https://github.com/correl/codereview.git
synced 2025-04-10 17:00:04 -09:00
Updated buttons to use the jQuery theme
This commit is contained in:
parent
fb4be59b12
commit
bd2d939fb0
3 changed files with 14 additions and 1 deletions
templates
|
@ -17,5 +17,5 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
<div class="comment-buttons">
|
||||
<a href="#comment-{{ comment.pk }}" rel="respond">Reply</a>
|
||||
<a class="button" href="#comment-{{ comment.pk }}" rel="respond">Reply</a>
|
||||
</div>
|
||||
|
|
|
@ -7,6 +7,18 @@
|
|||
<script type="text/javascript" src="/media/js/jquery-1.4.2.min.js"></script>
|
||||
<script type="text/javascript" src="/media/js/jquery-ui-1.8.6.custom.min.js"></script>
|
||||
<title>{% block title %}CodeReview{% endblock %}</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
function styleButtons() {
|
||||
$('input[type=submit], input[type=button], .button').button();
|
||||
}
|
||||
$(document).ready(function() {
|
||||
styleButtons();
|
||||
});
|
||||
$(document).ajaxComplete(function() {
|
||||
styleButtons();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
updateButtons();
|
||||
}
|
||||
});
|
||||
styleButtons();
|
||||
}
|
||||
</script>
|
||||
<h2>#{{ review.pk }} - <span id="review-description">{{ review.description }}</span></h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue