diff --git a/classquiz/kahoot_importer/import_quiz.py b/classquiz/kahoot_importer/import_quiz.py index 8b4eb7f..7275acd 100644 --- a/classquiz/kahoot_importer/import_quiz.py +++ b/classquiz/kahoot_importer/import_quiz.py @@ -11,6 +11,7 @@ from classquiz.kahoot_importer.get import get as get_quiz async def import_quiz(quiz_id: str, user: User) -> Quiz | str: """ Imports a quiz from Kahoot. + :param user: The user object :param quiz_id: The ID of the quiz to import. :return: True if the import was successful, False otherwise. """ diff --git a/frontend/src/routes/import.svelte b/frontend/src/routes/import.svelte new file mode 100644 index 0000000..c0c4afd --- /dev/null +++ b/frontend/src/routes/import.svelte @@ -0,0 +1,67 @@ + + + + +{#if is_loading} + +{:else} + +
+{/if} \ No newline at end of file diff --git a/frontend/src/routes/index.svelte b/frontend/src/routes/index.svelte index 8036f8c..69f1528 100644 --- a/frontend/src/routes/index.svelte +++ b/frontend/src/routes/index.svelte @@ -15,7 +15,7 @@
ClassQuiz is a quiz-platform that allows you to create and manage quizzes.
- Other than that, there are no features.
+ The main feature is a KAHOOT!-import function that allows you to import quizzes from KAHOOT!-quizzes.