diff --git a/tin/apps/courses/models.py b/tin/apps/courses/models.py index 4f96a377..c4132946 100644 --- a/tin/apps/courses/models.py +++ b/tin/apps/courses/models.py @@ -60,7 +60,7 @@ class Course(models.Model): archived = models.BooleanField(default=False) permission = models.CharField(max_length=1, choices=PERMISSIONS, default="r") - objects: CourseQuerySet = CourseQuerySet.as_manager() # type: ignore[assignment-type] + objects = CourseQuerySet.as_manager() def __str__(self): return self.name diff --git a/tin/static/css/choose.css b/tin/static/css/choose.css index 12397861..313670a9 100644 --- a/tin/static/css/choose.css +++ b/tin/static/css/choose.css @@ -25,6 +25,16 @@ padding-top: 10px; } +@media (max-width: 768px) { + .row { + flex-direction: column; + } + + .col { + width: 100%; + } +} + .card { position: relative; display: flex; diff --git a/tin/templates/assignments/custom_file_action.html b/tin/templates/assignments/custom_file_action.html index bc552008..b2a8d966 100644 --- a/tin/templates/assignments/custom_file_action.html +++ b/tin/templates/assignments/custom_file_action.html @@ -1,14 +1,5 @@ {% extends "base.html" %} -{% block head %} - - -{% endblock %} - {% block title %} {% if not action %} Create a File Action diff --git a/tin/templates/assignments/manage_files.html b/tin/templates/assignments/manage_files.html index 73ed4d20..81d3b5e2 100644 --- a/tin/templates/assignments/manage_files.html +++ b/tin/templates/assignments/manage_files.html @@ -55,7 +55,6 @@
No actions available
{% endfor %}