mirror of
https://github.com/bellingcat/osm-search.git
synced 2026-06-12 13:38:31 +03:00
Minor frontend tweaks (link to wiki)
This commit is contained in:
@@ -24,8 +24,21 @@
|
||||
v-model="f.parameter"
|
||||
:items="$store.state.osmKeys"
|
||||
@input="getValues"
|
||||
></v-combobox
|
||||
></v-col>
|
||||
>
|
||||
<template
|
||||
v-slot:append
|
||||
v-if="f.parameter != '' && f.parameter != null"
|
||||
>
|
||||
<a
|
||||
:href="'https://wiki.openstreetmap.org/wiki/Key:' + f.parameter"
|
||||
target="_blank"
|
||||
class="super"
|
||||
>
|
||||
<v-icon x-small>mdi-open-in-new</v-icon></a
|
||||
>
|
||||
</template>
|
||||
</v-combobox></v-col
|
||||
>
|
||||
<v-col>
|
||||
<!-- Dropdown for type of comparison between parameter and value -->
|
||||
<v-select
|
||||
@@ -63,7 +76,12 @@
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-btn color="secondary" text @click="addFilter">Add condition</v-btn>
|
||||
<v-btn style="margin-left: auto" color="primary" text @click="addCustom"
|
||||
<v-btn
|
||||
style="margin-left: auto"
|
||||
color="primary"
|
||||
text
|
||||
@click="addCustom"
|
||||
:disabled="filters[0].parameter == ''"
|
||||
>Add custom feature</v-btn
|
||||
>
|
||||
</v-card-actions>
|
||||
|
||||
@@ -25,18 +25,12 @@
|
||||
</div>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<!-- <a
|
||||
class="outlink"
|
||||
target="_blank"
|
||||
:href="`https://www.google.com/maps/search/?api=1&query=${result.lat},${result.lng}`"
|
||||
> -->
|
||||
<v-btn
|
||||
:href="`https://www.google.com/maps/search/?api=1&query=${result.lat},${result.lng}`"
|
||||
text
|
||||
target="_blank"
|
||||
>({{ result.lat.toFixed(5) }}, {{ result.lng.toFixed(5) }})</v-btn
|
||||
>
|
||||
<!-- </a> -->
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-col>
|
||||
|
||||
Reference in New Issue
Block a user