Commit 6c214fc4 by Brittany Cheng

basic paginator styles

parent dac66a99
......@@ -304,9 +304,21 @@ $discussion_input_width: 90%;
}
}
.discussion-paginator {
margin-top: 40px;
margin-top: 20px;
margin-bottom: 10px;
font-size: $comment_body_size;
text-align: center;
div {
display: inline-block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
background: #EEE;
margin: 0 5px;
padding: 4px 10px;
text-decoration: none;
}
}
}
......
......@@ -13,7 +13,6 @@
<div class="discussion-new-post control-button" href="javascript:void(0)">New Post</div>
</div>
<%include file="_paginator.html" />
% for thread in threads:
${renderer.render_thread(course_id, thread, edit_thread=False, show_comments=False)}
% endfor
......
......@@ -7,7 +7,6 @@
</div>
<div class="discussion-new-post control-button" href="javascript:void(0)">New Post</div>
</div>
<%include file="_paginator.html" />
% for thread in threads:
${renderer.render_thread(course_id, thread, edit_thread=False, show_comments=False)}
% endfor
......
......@@ -13,6 +13,5 @@
<script type="text/javascript">
var $$user_info = JSON.parse('${user_info | escape_quotes}');
var $$course_id = "${course_id}";
var $$tags = JSON.parse("${tags | escape_quotes}");
var $$annotated_content_info = JSON.parse("${annotated_content_info | escape_quotes}");
</script>
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