Added static files for assgnments

parent ef0ae82b
header {
color: black;
background-color: white;
font-family: 'Futura';
font-size: 40px;
text-align: center;
}
h1 {
color: cornflowerblue;
color: black;
font-family: 'Futura';
text-align: center;
font-size: 28px;
text-align: left;
}
li {
color: red;
color: black;
font-family: 'Futura';
font-size: 18px;
text-align: center;
}
a:visited {
color: black;
}
body {
background-color: azure;
text-align: left;
}
header {
color: black;
background-color: white;
font-family: 'Futura';
font-size: 40px;
text-align: center;
}
h1 {
color: cornflowerblue;
color: black;
font-family: 'Futura';
font-size: 48px;
text-align: center;
}
li {
color: red;
color: black;
font-family: 'Futura';
font-size: 18px;
text-align: center;
font-size: 24px;
text-align: left;
}
a:visited {
color: black;
}
body {
background-color: azure;
color: blue;
}
......@@ -14,6 +14,43 @@
<li><b>Description:</b> {{ assignment.description }}</li>
<li><b>Perfect score:</b> {{ assignment.max_points }}</li>
<li><b>Passing score:</b> {{ assignment.passing_score }}</li>
<li><img src="{% static 'assignments/css/assignment.png' %}" alt="assignment"></li>
<li>{% if assignment.pk == 1 %}
<img src="{% static 'assignments/img/Lab 1.jpeg' %}" alt="Lab 1">
{% endif %}
{% if assignment.pk == 2 %}
<img src="{% static 'assignments/img/Lab 2.jpg' %}" alt="Lab 2">
{% endif %}
{% if assignment.pk == 3 %}
<img src="{% static 'assignments/img/Exercise 1.jpg' %}" alt="Exercise 1">
{% endif %}
{% if assignment.pk == 4 %}
<img src="{% static 'assignments/img/Exercise 2.jpg' %}" alt="Exercise 2">
{% endif %}
{% if assignment.pk == 5 %}
<img src="{% static 'assignments/img/Probset 1.jpg' %}" alt="Probset 1">
{% endif %}
{% if assignment.pk == 6 %}
<img src="{% static 'assignments/img/Quiz 3.png' %}" alt="Quiz 3">
{% endif %}</li>
</ul>
{% if pk == 1 %}
<img src="{% static 'assignments/img/Lab 1.jpeg' %}" alt="Lab 1">
{% endif %}
{% if pk == 2 %}
<img src="{% static 'assignments/img/Lab 2.jpg' %}" alt="Lab 2">
{% endif %}
{% if pk == 3 %}
<img src="{% static 'assignments/img/Exercise 1.jpg' %}" alt="Exercise 1">
{% endif %}
{% if pk == 4 %}
<img src="{% static 'assignments/img/Exercise 2.jpg' %}" alt="Exercise 2">
{% endif %}
{% if pk == 5 %}
<img src="{% static 'assignments/img/Probset 1.jpg' %}" alt="Probset 1">
{% endif %}
{% if pk == 6 %}
<img src="{% static 'assignments/img/Quiz 3.png' %}" alt="Quiz 3">
{% endif %}
{% endblock %}
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