index.html 683 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends 'base.html' %}

{% load static %}



{% block content %}

<div class="row">
	<div class="col-md-12">
		<h2>Disciplinas</h2>
		<table id="lista_disciplinas" class="table">
			<thead>
				<tr>
					<th>Código</th>
					<th>Nome</th>
					<th>Nota Média</th>
				</tr>
			</thead>
			<tbody>
				{% for key, value in courses.items %}
					<tr>
						<td>
							<a href="{% url 'course:detail' degree_id=degree.code codigo_disciplina=key %}">{{key}}</a>
						</td>
						<td> {{key}} </td>
						<td> {{value.nota.0 | floatformat:2}} &plusmn {{value.nota.1 | floatformat:2}} </td>
					</tr>
				{% endfor %}
			</tbody>
		</table>
	</div>
</div>
	
{% endblock content %}