+
{{ title }}
diff --git a/software/src/components/basics/sectionDivider.vue b/software/src/components/basics/sectionDivider.vue
index 09f3aa4..9511928 100644
--- a/software/src/components/basics/sectionDivider.vue
+++ b/software/src/components/basics/sectionDivider.vue
@@ -7,7 +7,7 @@ defineProps({
-
+
@@ -26,4 +26,22 @@ defineProps({
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/software/src/components/navigation/companyFooter.vue b/software/src/components/navigation/companyFooter.vue
index b3bc29e..cc4f4eb 100644
--- a/software/src/components/navigation/companyFooter.vue
+++ b/software/src/components/navigation/companyFooter.vue
@@ -24,17 +24,17 @@ watch(() => route.path, () => {
inset
app
>
-
-
-
-
-
-
-
+
+
+
+
+
- {{ item.title.charAt(0).toUpperCase() + item.title.slice(1) }}
-
+ {{ item.title.charAt(0).toUpperCase() + item.title.slice(1) }}
@@ -43,9 +43,11 @@ watch(() => route.path, () => {
+
-
- Filter:
+
+
+
@@ -55,14 +57,6 @@ watch(() => route.path, () => {
-
-
-
-
-
-
- {{ new Date().getFullYear() }} — Tobias Zoghaib
-
diff --git a/software/src/components/navigation/navigationBar.vue b/software/src/components/navigation/navigationBar.vue
new file mode 100644
index 0000000..6084978
--- /dev/null
+++ b/software/src/components/navigation/navigationBar.vue
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/software/src/components/navigation/navigationPrependItems.vue b/software/src/components/navigation/navigationPrependItems.vue
index 356631e..ee88d1f 100644
--- a/software/src/components/navigation/navigationPrependItems.vue
+++ b/software/src/components/navigation/navigationPrependItems.vue
@@ -1,7 +1,4 @@
@@ -14,30 +11,69 @@ const router = useRouter()
>
+
+
-
+
+
+
+
+
+
+
+ {{ $t('band.allBands', 2) }}
+
+
+
+ {{ $t('concert.allConcerts', 2) }}
+
+
+
+ {{ $t('location.allLocations', 2) }}
+
+
+
+
+
+
+
+
{{ $t('band.allBands', 2) }}
-
+
{{ $t('concert.allConcerts', 2) }}
-
+
{{ $t('location.allLocations', 2) }}
-
+
\ No newline at end of file
diff --git a/software/src/components/navigation/urlBar.vue b/software/src/components/navigation/urlBar.vue
index 9dd02a7..e6e9150 100644
--- a/software/src/components/navigation/urlBar.vue
+++ b/software/src/components/navigation/urlBar.vue
@@ -19,9 +19,12 @@ watch(() => router.currentRoute.value.fullPath, () => {
elevation="0"
height="50"
>
-
-
-
+
+
+
router.currentRoute.value.fullPath, () => {
icon="mdi-arrow-right"
@click="router.go(1)"
/>
-
+
@@ -49,12 +48,20 @@ watch(() => router.currentRoute.value.fullPath, () => {
/>
-
+
+
diff --git a/software/src/components/pageParts/heroImage.vue b/software/src/components/pageParts/heroImage.vue
index 9fa9425..ba5bc5a 100644
--- a/software/src/components/pageParts/heroImage.vue
+++ b/software/src/components/pageParts/heroImage.vue
@@ -30,7 +30,7 @@ defineProps({
-
+
-}
\ No newline at end of file
diff --git a/software/src/data/models/exercises/exerciseModel.ts b/software/src/data/models/exercises/exerciseModel.ts
index 11ce800..f65e2d9 100644
--- a/software/src/data/models/exercises/exerciseModel.ts
+++ b/software/src/data/models/exercises/exerciseModel.ts
@@ -1,3 +1,5 @@
+import { ExerciseGroupModel } from "./exerciseGroupModel"
+
export class ExerciseModel {
id = -1
nameDe: string = ""
@@ -6,4 +8,5 @@ export class ExerciseModel {
descriptionDe: string = ""
descriptionEn: string = ""
solved: boolean = false
+ exerciseGroup: ExerciseGroupModel
}
\ No newline at end of file
diff --git a/software/src/locales/de.json b/software/src/locales/de.json
index dfdcc85..117f833 100644
--- a/software/src/locales/de.json
+++ b/software/src/locales/de.json
@@ -162,7 +162,7 @@
"help": {
"scoreBoard": {
"exerciseGroupNr": "Aufgabengruppe {0}: ",
- "exerciseNr": "Aufgabe {0}"
+ "exerciseNr": "Aufgabe {0}.{1}: "
}
},
"bannerMessages": {
diff --git a/software/src/locales/en.json b/software/src/locales/en.json
index 292f5da..f166288 100644
--- a/software/src/locales/en.json
+++ b/software/src/locales/en.json
@@ -162,7 +162,7 @@
"help": {
"scoreBoard": {
"exerciseGroupNr": "Exercise Group {0}: ",
- "exerciseNr": "Exercise {0}"
+ "exerciseNr": "Exercise {0}.{1}: "
}
},
"bannerMessages": {
diff --git a/software/src/pages/bands/bandDetailPage/bandMemberSection.vue b/software/src/pages/bands/bandDetailPage/bandMemberSection.vue
index 76a2c3b..5af4294 100644
--- a/software/src/pages/bands/bandDetailPage/bandMemberSection.vue
+++ b/software/src/pages/bands/bandDetailPage/bandMemberSection.vue
@@ -14,7 +14,7 @@ const bandStore = useBandStore()
-
+
@@ -22,7 +22,7 @@ const bandStore = useBandStore()
-
+
-
+
@@ -48,7 +48,8 @@ locationStore.getLocations()
-import scoreCard from './scoreCard.vue';
import { useExerciseStore } from '@/stores/exercise.store';
import outlinedButton from '@/components/basics/outlinedButton.vue';
import { generateResultsPdf } from '@/scripts/pdfScripts';
import { usePreferencesStore } from '@/stores/preferences.store';
+import cardView from '@/components/basics/cardView.vue';
+import { LanguageEnum } from '@/data/enums/languageEnum';
const exerciseStore = useExerciseStore()
const preferencesStore = usePreferencesStore()
exerciseStore.getAllExercises()
+
+function getDotColor(exerciseGroupNr: number) {
+ switch(exerciseGroupNr) {
+ case 0: return "purple"
+ case 1: return "orange"
+ case 2: return "blue"
+ case 3: return "pink"
+ }
+}
@@ -26,18 +36,50 @@ exerciseStore.getAllExercises()
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+ {{
+ (preferencesStore.language == LanguageEnum.GERMAN
+ ? exercise.exerciseGroup.nameDe
+ : exercise.exerciseGroup.nameEn)
+ }}
+
+
+
+
+
+ {{ preferencesStore.language == LanguageEnum.GERMAN ? exercise.descriptionDe : exercise.descriptionEn }}
+
+
+
+
+
diff --git a/software/src/pages/misc/helpPage/scoreCard.vue b/software/src/pages/misc/helpPage/scoreCard.vue
deleted file mode 100644
index 3d47b1e..0000000
--- a/software/src/pages/misc/helpPage/scoreCard.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('help.scoreBoard.exerciseNr', [exercise.exerciseNr]) }}
-
-
-
-
-
-
-
-
- {{ (preferencesStore.language == LanguageEnum.GERMAN ? exercise.nameDe : exercise.nameEn) }}
-
-
-
- {{ (preferencesStore.language == LanguageEnum.GERMAN ?
- exercise.descriptionDe : exercise.descriptionEn) }}
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/software/src/pages/misc/homePage/topLocationsSection.vue b/software/src/pages/misc/homePage/topLocationsSection.vue
index dbfe2d6..65339b5 100644
--- a/software/src/pages/misc/homePage/topLocationsSection.vue
+++ b/software/src/pages/misc/homePage/topLocationsSection.vue
@@ -17,11 +17,21 @@ const locationStore = useLocationStore()
-
+
-
+
-
+
-
+
{{ concert.name }}
diff --git a/software/src/pages/misc/searchPage/index.vue b/software/src/pages/misc/searchPage/index.vue
index cb157ab..b482c2a 100644
--- a/software/src/pages/misc/searchPage/index.vue
+++ b/software/src/pages/misc/searchPage/index.vue
@@ -122,7 +122,8 @@ const searchStore = useSearchStore()
v-else-if="searchStore.locations.length > 0"
>
({
/** All exercise groups with sub-exercises */
- exerciseGroups: ref>([]),
+ exercises: ref>([]),
/** Request to server sent, waiting for data response */
fetchInProgress: ref(false)
@@ -23,7 +23,7 @@ export const useExerciseStore = defineStore("exerciseStore", {
await fetchAllExerciseGroups()
.then(result => {
- this.exerciseGroups = result.data
+ this.exercises = result.data
this.fetchInProgress = false
})
},