Commit 93df2de5 authored by Cynddl's avatar Cynddl
Browse files

[mod] Minor changes on header and comments.

parent dc1c8715
...@@ -198,6 +198,11 @@ blockquote { ...@@ -198,6 +198,11 @@ blockquote {
margin: 0 auto; margin: 0 auto;
background: #f9f9f9; background: #f9f9f9;
} }
#header a {
color: #222;
text-decoration: none;
}
h1 { h1 {
margin: 25px 0 0 0; padding: 30px 0; margin: 25px 0 0 0; padding: 30px 0;
font-family: 'DroidSansBold', Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif; font-family: 'DroidSansBold', Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
...@@ -310,7 +315,7 @@ h1 span { ...@@ -310,7 +315,7 @@ h1 span {
#global { #global {
position: relative; position: relative;
width: 960px; width: 960px;
margin: 25px auto 0 auto; margin: 25px auto 50px auto;
} }
/* Content */ /* Content */
...@@ -346,6 +351,20 @@ h1 span { ...@@ -346,6 +351,20 @@ h1 span {
font-weight: normal; font-weight: normal;
} }
/* View page */
div#comments {
border: 5px solid #f0f0f0;
padding: 0.5em;
}
dl#comments {
background-color: #f5f5f5;
padding: 0.5em;
}
/* Infrigement form */ /* Infrigement form */
#addForm.index { #addForm.index {
......
...@@ -74,6 +74,7 @@ $(document).ready(function() { ...@@ -74,6 +74,7 @@ $(document).ready(function() {
</ul> </ul>
{%endif%} {%endif%}
{% if not key %} {% if not key %}
<div id="comments">
<h3>{% trans "Comments" %}</h3> <h3>{% trans "Comments" %}</h3>
{% render_comment_list for v %} {% render_comment_list for v %}
<div class="toggle button">{% trans "Add comment" %}</div> <div class="toggle button">{% trans "Add comment" %}</div>
...@@ -83,6 +84,7 @@ $(document).ready(function() { ...@@ -83,6 +84,7 @@ $(document).ready(function() {
{% else %} {% else %}
<a class="button" href='/moderate/?key={{key}}&action=approve'>Approve Submission</a> <a class="button" href='/moderate/?key={{key}}&action=approve'>Approve Submission</a>
<a class="button" href='/moderate/?key={{key}}&action=delete'>Delete Submission</a> <a class="button" href='/moderate/?key={{key}}&action=delete'>Delete Submission</a>
</div>
{% endif %} {% endif %}
</div> </div>
{%endblock%} {%endblock%}
Supports Markdown
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