Skip to content
Snippets Groups Projects
Commit 138f308f authored by Simon Hager's avatar Simon Hager
Browse files

fix: add favicon, head title

parent aeb90799
No related branches found
No related tags found
No related merge requests found
Pipeline #275450 passed with stage
in 2 minutes and 43 seconds
import { IsObject, IsString } from 'class-validator'; import { IsBoolean, IsObject, IsOptional, IsString } from 'class-validator';
export default class SubmitLog { export default class SubmitLog {
@IsString() @IsString()
...@@ -11,8 +11,12 @@ export default class SubmitLog { ...@@ -11,8 +11,12 @@ export default class SubmitLog {
search: string; search: string;
@IsObject() @IsObject()
rawSearchResult: any; rawSearchResult: object;
@IsObject() @IsObject()
selection: any; @IsOptional()
selection?: object;
@IsBoolean()
success: boolean;
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title> <title>OSM Place Search Logger</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
frontend/public/favicon-16x16.png

758 B

frontend/public/favicon-32x32.png

1.69 KiB

frontend/public/favicon.ico

4.19 KiB | W: | H:

frontend/public/favicon.ico

15 KiB | W: | H:

frontend/public/favicon.ico
frontend/public/favicon.ico
frontend/public/favicon.ico
frontend/public/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
...@@ -24,10 +24,11 @@ ...@@ -24,10 +24,11 @@
<v-btn icon @click="onSearchClick"> <v-btn icon @click="onSearchClick">
<v-icon>mdi-magnify</v-icon> <v-icon>mdi-magnify</v-icon>
</v-btn> </v-toolbar </v-btn>
>Diese Webapplikation speichert Ihre Such-Anfragen an Nominatim in entpersonalisierter </v-toolbar>
Form und rein zu Lehr- und Forschungszwecken sowie zur Verbesserung der Suche in This web application stores your search queries to Nominatim in a non-personalized
OpenStreetMap-Daten. form and is used for educational and research purposes only, as well as to improve
searches in the awesome OpenStreetMap project.
</v-card> </v-card>
<div style="max-height: 70vh; overflow-y: auto"> <div style="max-height: 70vh; overflow-y: auto">
<result-table <result-table
...@@ -95,7 +96,8 @@ function submitSolution(result: Feature) { ...@@ -95,7 +96,8 @@ function submitSolution(result: Feature) {
sessionId: sessionId.value, sessionId: sessionId.value,
search: queryString.value, search: queryString.value,
rawSearchResult: rawSearchResult.value, rawSearchResult: rawSearchResult.value,
selection: result selection: result,
success: true,
}) })
}).then(reset) }).then(reset)
} }
...@@ -113,7 +115,7 @@ function noSolutionFound() { ...@@ -113,7 +115,7 @@ function noSolutionFound() {
sessionId: sessionId.value, sessionId: sessionId.value,
search: queryString.value, search: queryString.value,
rawSearchResult: rawSearchResult.value, rawSearchResult: rawSearchResult.value,
selection: 'none' success: false
}) })
}).then(reset) }).then(reset)
} }
...@@ -181,5 +183,4 @@ const selectedGeoJson = computed(() => { ...@@ -181,5 +183,4 @@ const selectedGeoJson = computed(() => {
.site-title { .site-title {
color: #8c195f; color: #8c195f;
} }
</style> </style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment