Commit 9e5ebbf9 by dragonfi

Add border to assessment mode

parent 568115bb
...@@ -95,6 +95,11 @@ ...@@ -95,6 +95,11 @@
height:33.33px; height:33.33px;
} }
.mentoring .assessment-question-block {
border: 5px solid #e5ebee;
padding: 20px;
}
.mentoring .assessment-checkmark { .mentoring .assessment-checkmark {
margin-right: 10px; margin-right: 10px;
} }
......
...@@ -3,15 +3,19 @@ ...@@ -3,15 +3,19 @@
You need to complete <a href="{{ missing_dependency_url }}">the previous step</a> before You need to complete <a href="{{ missing_dependency_url }}">the previous step</a> before
attempting this step. attempting this step.
</div> </div>
{% if self.title or self.header %} {% if self.title or self.header %}
<div class="title"> <div class="title">
<h2 class="main">{{ self.title.content }}</h2> {% if self.title %} <h2 class="main">{{ self.title.content }}</h2> {% endif %}
<div class="header">{{ self.header.content|safe }}</div> {% if self.header %} <div class="header">{{ self.header.content|safe }}</div> {% endif %}
</div> </div>
{% endif %} {% endif %}
<div class="{{self.mode}}-question-block">
{% for name, c in named_children %} {% for name, c in named_children %}
{{c.body_html|safe}} {{c.body_html|safe}}
{% endfor %} {% endfor %}
{% if self.display_submit %} {% if self.display_submit %}
<div class="grade" data-score="{{ self.score.1 }}" <div class="grade" data-score="{{ self.score.1 }}"
...@@ -38,4 +42,5 @@ ...@@ -38,4 +42,5 @@
</div> </div>
{% endif %} {% endif %}
<div class="messages"></div> <div class="messages"></div>
</div>
</div> </div>
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