diff --git a/sorteerhoed/HITStore.py b/sorteerhoed/HITStore.py index be1ba52..f557fb0 100644 --- a/sorteerhoed/HITStore.py +++ b/sorteerhoed/HITStore.py @@ -134,6 +134,7 @@ class HIT(Base): session = object_session(self) q = session.query(Assignment).\ filter(Assignment.submit_page_at < self.created_at).\ + filter(Assignment.worker_id != None).\ group_by(Assignment.worker_id).\ order_by(Assignment.created_at.desc()) if assignment and assignment.worker_id: diff --git a/www/worker_specs/index.html b/www/worker_specs/index.html index b6962f8..62e6bda 100644 --- a/www/worker_specs/index.html +++ b/www/worker_specs/index.html @@ -81,7 +81,7 @@

worker input

- +
@@ -105,11 +105,11 @@
-
+
- - + +
diff --git a/www/worker_specs/style.css b/www/worker_specs/style.css index 2fa83d6..2686f84 100644 --- a/www/worker_specs/style.css +++ b/www/worker_specs/style.css @@ -203,3 +203,7 @@ html, body{ .columns .column{ flex-grow: 1; } + +.scan img{ + vertical-align:bottom; +} \ No newline at end of file