Skip to content

Commit 97f960a

Browse files
committed
pause to change tasks
1 parent 59b8a5c commit 97f960a

File tree

6 files changed

+1008
-3
lines changed

6 files changed

+1008
-3
lines changed

docs/downloaded.txt

Lines changed: 479 additions & 0 deletions
Large diffs are not rendered by default.

docs/get_recordings-from-s3.sh

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.

teleband/dashboards/views.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@ class AssignmentListView(UserPassesTestMixin, generic.ListView):
1515
def get_queryset(self) -> QuerySet[Any]:
1616
results = Assignment.objects.prefetch_related(
1717
"piece",
18+
"piece_plan",
19+
"enrollment",
20+
"enrollment__user",
21+
"enrollment__course",
22+
"enrollment__instrument",
1823
"enrollment__course__owner",
1924
"instrument",
2025
"submissions__attachments",
2126
"submissions__grade",
2227
"submissions__self_grade",
28+
"activity",
2329
).all()
2430
return results
2531

teleband/static/css/project.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@
1111
background-color: #f2dede;
1212
border-color: #eed3d7;
1313
}
14+
15+
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#usage_notes */
16+
.dashboard colgroup {
17+
border-inline-start: 2px solid black;
18+
}
19+
20+
.dashboard td, .dashboard th {
21+
border-inline-end: 1px dashed black;
22+
}
23+
24+
.dashboard thead, .dashboard tbody{
25+
border-block-end: 2px solid black;
26+
}
27+
28+
.dashboard tr {
29+
border-block-end: 1px dashed black;
30+
}

teleband/static/sass/project.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
// project specific CSS goes here
66

7+
8+
.dashboard col td {
9+
background-color: red;
10+
/* border-inline-start: ; */
11+
}
12+
713
////////////////////////////////
814
//Variables//
915
////////////////////////////////

teleband/templates/assignments/assignment_list.html

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,30 @@
22

33
{% block content %}
44
hello<br>
5-
<table>
5+
{% comment %} https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#usage_notes {% endcomment %}
6+
<table class="dashboard">
7+
<colgroup>
8+
<col span="1" class="idnum">
9+
</colgroup>
10+
<colgroup>
11+
<col span="2" class="course">
12+
</colgroup>
13+
<colgroup>
14+
<col span="4" class="piece">
15+
</colgroup>
16+
<colgroup>
17+
<col span="3" class="student">
18+
</colgroup>
19+
<colgroup>
20+
<col span="4" class="assignment">
21+
</colgroup>
22+
<colgroup>
23+
<col span="5" class="submissions">
24+
</colgroup>
25+
<colgroup>
26+
<col span="3" class="attachments">
27+
</colgroup>
28+
<colgroup>
629
<thead>
730
<tr>
831
<th>ID</th>
@@ -38,9 +61,9 @@
3861
<th>submitted</th>
3962
</tr>
4063
</thead>
41-
<tbody>
4264

4365
{% for assn in assignment_list %}
66+
<tbody>
4467
{% if assn.submissions.all|length == 0 %}
4568
<tr>
4669
<td>{{ assn.id }}</td>
@@ -89,7 +112,7 @@
89112
{% endfor %}
90113
{% endfor %}
91114
{% endif %}
115+
</tbody>
92116
{% endfor %}
93-
</tbody>
94117
</table>
95118
{% endblock content %}

0 commit comments

Comments
 (0)