.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{% block content %}
|
||||
<h2>Subspecialties</h2>
|
||||
|
||||
|
||||
This page shows the questions that are currently displayed in maxims. The questions are grouped by subspecialty. Examinations that use the same questions are grouped together.
|
||||
|
||||
{% for subspecialty, formats in format_map %}
|
||||
<h4>{{subspecialty}}</h4>
|
||||
@@ -11,7 +11,6 @@
|
||||
{% for format in formats %}
|
||||
<li>
|
||||
<h5>Name: {{format}}</h5>
|
||||
|
||||
<form>
|
||||
<input type="hidden" name="question" value="{{ format.format }}">
|
||||
<button
|
||||
@@ -21,6 +20,13 @@
|
||||
class="btn btn-small view-exams">View exams</button>
|
||||
</form>
|
||||
<span class="result"></span>
|
||||
|
||||
<span class="subs">Also in (subspecialty): {% for sub in format.specialties.all %}
|
||||
{{sub}},
|
||||
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
<br/>
|
||||
<pre>{{format.format}}</pre>
|
||||
</li>
|
||||
@@ -56,11 +62,18 @@
|
||||
}
|
||||
.result {
|
||||
float: right;
|
||||
border: 1px white dashed;
|
||||
}
|
||||
h5 {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
h5, h4{
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
.subs {
|
||||
color: darkgreen;
|
||||
size: 0.8em;
|
||||
float: right;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user