forked from MapComplete/MapComplete
Feature(inspector): add link in menu, add icon
This commit is contained in:
parent
4d0d92d250
commit
7c6224fd3e
3 changed files with 12 additions and 1 deletions
|
|
@ -50,6 +50,7 @@
|
|||
import Squares2x2 from "@babeard/svelte-heroicons/mini/Squares2x2"
|
||||
import EnvelopeOpen from "@babeard/svelte-heroicons/mini/EnvelopeOpen"
|
||||
import PanoramaxLink from "./PanoramaxLink.svelte"
|
||||
import MagnifyingGlassCircle from "@babeard/svelte-heroicons/outline/MagnifyingGlassCircle"
|
||||
|
||||
export let state: ThemeViewState
|
||||
let userdetails = state.osmConnection.userDetails
|
||||
|
|
@ -262,6 +263,11 @@
|
|||
</Page>
|
||||
</div>
|
||||
|
||||
<a class="flex" href={window.location.protocol + "//" + window.location.host + "/inspector.html"}>
|
||||
<MagnifyingGlassCircle class="mr-2 h-6 w-6" />
|
||||
<Tr t={Translations.t.inspector.menu} />
|
||||
</a>
|
||||
|
||||
<a class="flex" href="https://github.com/pietervdvn/MapComplete/" target="_blank">
|
||||
<Github class="h-6 w-6" />
|
||||
<Tr t={Translations.t.general.attribution.gotoSourceCode} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue