@@ -207,7 +208,6 @@ SPDX-License-Identifier: MPL-2.0
/>
{/await}
{:else if type === QuizQuestionType.RANGE}
-
Range
{:else if type === QuizQuestionType.VOTING}
{#await import('$lib/editor/VotingEditorPart.svelte')}
diff --git a/frontend/src/lib/editor/settings-card.svelte b/frontend/src/lib/editor/settings-card.svelte
index 0ebc21b..7d6df6f 100644
--- a/frontend/src/lib/editor/settings-card.svelte
+++ b/frontend/src/lib/editor/settings-card.svelte
@@ -8,6 +8,7 @@ SPDX-License-Identifier: MPL-2.0
import type { EditorData } from '$lib/quiz_types';
import { getLocalization } from '$lib/i18n';
import Spinner from '$lib/Spinner.svelte';
+ import { createTippy } from 'svelte-tippy';
const { t } = getLocalization();
@@ -18,6 +19,10 @@ SPDX-License-Identifier: MPL-2.0
export let data: EditorData;
let custom_bg_color = Boolean(data.background_color);
+ const tippy = createTippy({
+ arrow: true,
+ animation: 'perspective-subtle'
+ });
$: data.background_color = custom_bg_color ? data.background_color : undefined;
@@ -45,10 +50,10 @@ SPDX-License-Identifier: MPL-2.0
>
+ type="text"
+ bind:value={data.title}
+ class="p-3 rounded-lg border-gray-500 border text-center w-1/3 text-lg font-semibold dark:bg-gray-500"
+ />-->
{#await import('$lib/inline-editor.svelte')}
{:then c}
@@ -58,8 +63,9 @@ SPDX-License-Identifier: MPL-2.0
@@ -134,12 +140,15 @@ SPDX-License-Identifier: MPL-2.0
-
@@ -160,11 +169,12 @@ SPDX-License-Identifier: MPL-2.0
Remove Background-Image
+ >Remove Background-Image
+
{:else}
{#await import('$lib/editor/uploader.svelte')}
diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json
index 22520aa..1325951 100644
--- a/frontend/src/lib/i18n/locales/en.json
+++ b/frontend/src/lib/i18n/locales/en.json
@@ -217,7 +217,10 @@
"check_choice_description": "All correct answers have to be chosen to score points",
"order_description": "Answers can be brought into the correct order",
"text_description": "Players can enter text",
- "range_description": "A number-range can be selected with a slider"
+ "range_description": "A number-range can be selected with a slider",
+ "need_more_help": "Need more help?",
+ "visit_docs": "Visit the docs.",
+ "enter_answer": "Enter an answer"
},
"import_page": {
"need_help": "Need help?",
diff --git a/frontend/src/routes/dashboard/+page.svelte b/frontend/src/routes/dashboard/+page.svelte
index ab5bd33..3c2501c 100644
--- a/frontend/src/routes/dashboard/+page.svelte
+++ b/frontend/src/routes/dashboard/+page.svelte
@@ -18,6 +18,7 @@ SPDX-License-Identifier: MPL-2.0
import StartGamePopup from '$lib/dashboard/start_game.svelte';
import Analytics from './Analytics.svelte';
import MediaComponent from '$lib/editor/MediaComponent.svelte';
+ import { createTippy } from 'svelte-tippy';
// import GrayButton from "$lib/components/buttons/gray.svelte";
@@ -31,6 +32,11 @@ SPDX-License-Identifier: MPL-2.0
let items_to_show = [];
let all_items: Array
;
let fuse;
+ const tippy = createTippy({
+ arrow: true,
+ animation: 'perspective-subtle',
+ placement: 'bottom'
+ });
let id_to_position_map = {};
@@ -117,7 +123,11 @@ SPDX-License-Identifier: MPL-2.0
-->
{#if create_button_clicked}
-
+
{$t('words.quiz')}
{$t('words.quiztivity')}