From 1316624438effdb9deba233953799c39443c6208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maik=20Fr=C3=B6be?= Date: Sun, 5 Nov 2023 18:53:43 +0100 Subject: [PATCH 01/17] mf --- application/src/tira/data/HybridDatabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/tira/data/HybridDatabase.py b/application/src/tira/data/HybridDatabase.py index 2b4e3dbc..f8522bc6 100644 --- a/application/src/tira/data/HybridDatabase.py +++ b/application/src/tira/data/HybridDatabase.py @@ -1551,7 +1551,7 @@ def add_uploaded_run(self, task_id, vm_id, dataset_id, upload_id, uploaded_file) try: upload = modeldb.Upload.objects.get(vm__vm_id=vm_id, task__task_id=task_id, id=upload_id) except: - upload = modeldb.Upload.objects.get(vm__vm_id=vm_id, task__task_id=task_id, id=upload_id) + upload = modeldb.Upload.objects.get(vm__vm_id=vm_id, id=upload_id) upload.last_edit_date = now() upload.save() From 6eef1412ae42c45ec6621f2392e19bf17687c23b Mon Sep 17 00:00:00 2001 From: kavlahkaff Date: Mon, 6 Nov 2023 14:38:35 +0100 Subject: [PATCH 02/17] Made AddNewSubmission button responsive Made edit and delete buttons on submission responsive Made input from disabled fields copyable by changing to readonly Added padding to submission inputs --- .../src/tira/frontend-vuetify/src/App.vue | 5 +++++ .../submission-components/DockerSubmission.vue | 9 +++++++-- .../ExistingDockerSubmission.vue | 17 +++++++---------- .../submission-components/UploadSubmission.vue | 9 +++++++-- 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/application/src/tira/frontend-vuetify/src/App.vue b/application/src/tira/frontend-vuetify/src/App.vue index 1e6afaea..9692bcdb 100644 --- a/application/src/tira/frontend-vuetify/src/App.vue +++ b/application/src/tira/frontend-vuetify/src/App.vue @@ -18,6 +18,11 @@ padding: 0px !important; left: auto !important; } + #app #docker-submission-readonly-input input { + padding: 10px 0 0 10px !important; + color: #BDBDBD; + } + #app #task-search input { border: none !important; outline: none !important; diff --git a/application/src/tira/frontend-vuetify/src/submission-components/DockerSubmission.vue b/application/src/tira/frontend-vuetify/src/submission-components/DockerSubmission.vue index a2e0880f..7e71edd0 100644 --- a/application/src/tira/frontend-vuetify/src/submission-components/DockerSubmission.vue +++ b/application/src/tira/frontend-vuetify/src/submission-components/DockerSubmission.vue @@ -2,15 +2,20 @@ - + - + New Submission + + + New Submission + + diff --git a/application/src/tira/frontend-vuetify/src/submission-components/ExistingDockerSubmission.vue b/application/src/tira/frontend-vuetify/src/submission-components/ExistingDockerSubmission.vue index 64999908..cde6f37b 100644 --- a/application/src/tira/frontend-vuetify/src/submission-components/ExistingDockerSubmission.vue +++ b/application/src/tira/frontend-vuetify/src/submission-components/ExistingDockerSubmission.vue @@ -2,9 +2,7 @@ -
- -
+
mdi-delete-alert-outline Delete -
- {{ docker_software_details.description }} - - - - + {{ docker_software_details.description }} + + + + @@ -127,4 +124,4 @@ export default { } } } - + \ No newline at end of file diff --git a/application/src/tira/frontend-vuetify/src/submission-components/UploadSubmission.vue b/application/src/tira/frontend-vuetify/src/submission-components/UploadSubmission.vue index c743e21c..f73e4f6c 100644 --- a/application/src/tira/frontend-vuetify/src/submission-components/UploadSubmission.vue +++ b/application/src/tira/frontend-vuetify/src/submission-components/UploadSubmission.vue @@ -2,15 +2,20 @@ - + - + New Uploadgroup + + + New Uploadgroup + + From 61400acbb931bf9c5f33830b944f112e80f12be2 Mon Sep 17 00:00:00 2001 From: kavlahkaff Date: Mon, 6 Nov 2023 17:03:17 +0100 Subject: [PATCH 03/17] made overflow-y hidden in App.vue --- application/src/tira/frontend-vuetify/src/App.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/src/tira/frontend-vuetify/src/App.vue b/application/src/tira/frontend-vuetify/src/App.vue index 1e6afaea..d88710d2 100644 --- a/application/src/tira/frontend-vuetify/src/App.vue +++ b/application/src/tira/frontend-vuetify/src/App.vue @@ -8,6 +8,9 @@