forked from MapComplete/MapComplete
UX(menu drawer): add extra category, reorder buttons
This commit is contained in:
parent
6bf193f86f
commit
b9360d1dff
3 changed files with 52 additions and 42 deletions
|
@ -292,6 +292,7 @@
|
||||||
"aboutCurrentThemeTitle": "About this map",
|
"aboutCurrentThemeTitle": "About this map",
|
||||||
"aboutMapComplete": "About MapComplete",
|
"aboutMapComplete": "About MapComplete",
|
||||||
"filter": "Filter data",
|
"filter": "Filter data",
|
||||||
|
"legal": "Legal notices",
|
||||||
"moreUtilsTitle": "Discover more",
|
"moreUtilsTitle": "Discover more",
|
||||||
"openHereDifferentApp": "Open the current location in other applications",
|
"openHereDifferentApp": "Open the current location in other applications",
|
||||||
"showIntroduction": "Show introduction",
|
"showIntroduction": "Show introduction",
|
||||||
|
|
|
@ -788,7 +788,7 @@
|
||||||
"11": {
|
"11": {
|
||||||
"options": {
|
"options": {
|
||||||
"0": {
|
"0": {
|
||||||
"quesiton": "All platforms"
|
"question": "All platforms"
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"question": "Made with Android"
|
"question": "Made with Android"
|
||||||
|
|
|
@ -160,11 +160,20 @@
|
||||||
<ReviewsOverview {state} />
|
<ReviewsOverview {state} />
|
||||||
</div>
|
</div>
|
||||||
</Page>
|
</Page>
|
||||||
|
<div class="hidden-on-mobile w-full">
|
||||||
|
<Page {onlyLink} shown={pg.hotkeys}>
|
||||||
|
<svelte:fragment slot="header">
|
||||||
|
<BoltIcon />
|
||||||
|
<Tr t={Translations.t.hotkeyDocumentation.title} />
|
||||||
|
</svelte:fragment>
|
||||||
|
<HotkeyTable />
|
||||||
|
</Page>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="self-end">
|
<div class="self-end">
|
||||||
<LogoutButton osmConnection={state.osmConnection} />
|
<LogoutButton osmConnection={state.osmConnection} />
|
||||||
</div>
|
</div>
|
||||||
</LoginToggle>
|
</LoginToggle>
|
||||||
|
|
||||||
<LanguagePicker />
|
<LanguagePicker />
|
||||||
</SidebarUnit>
|
</SidebarUnit>
|
||||||
|
|
||||||
|
@ -261,6 +270,15 @@
|
||||||
<ShareIcon />
|
<ShareIcon />
|
||||||
<Tr t={t.openHereDifferentApp} />
|
<Tr t={t.openHereDifferentApp} />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
</SidebarUnit>
|
</SidebarUnit>
|
||||||
|
|
||||||
<!-- About MC: various outward links, legal info, ... -->
|
<!-- About MC: various outward links, legal info, ... -->
|
||||||
|
@ -274,46 +292,13 @@
|
||||||
<Tr t={Translations.t.general.morescreen.createYourOwnTheme} />
|
<Tr t={Translations.t.general.morescreen.createYourOwnTheme} />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="hidden-on-mobile w-full">
|
|
||||||
<Page {onlyLink} shown={pg.hotkeys}>
|
|
||||||
<svelte:fragment slot="header">
|
|
||||||
<BoltIcon />
|
|
||||||
<Tr t={Translations.t.hotkeyDocumentation.title} />
|
|
||||||
</svelte:fragment>
|
|
||||||
<HotkeyTable />
|
|
||||||
</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://source.mapcomplete.org/MapComplete/MapComplete/" target="_blank">
|
|
||||||
<Forgejo class="h-6 w-6" />
|
|
||||||
<Tr t={Translations.t.general.attribution.gotoSourceCode} />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a
|
|
||||||
class="flex"
|
|
||||||
href="https://source.mapcomplete.org/MapComplete/MapComplete/issues"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
<Bug class="h-6 w-6" />
|
|
||||||
<Tr t={Translations.t.general.attribution.openIssueTracker} />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="flex" href="mailto:info@mapcomplete.org">
|
<a class="flex" href="mailto:info@mapcomplete.org">
|
||||||
<EnvelopeOpen class="h-6 w-6" />
|
<EnvelopeOpen class="h-6 w-6" />
|
||||||
<Tr t={Translations.t.general.attribution.emailCreators} />
|
<Tr t={Translations.t.general.attribution.emailCreators} />
|
||||||
</a>
|
</a>
|
||||||
<a class="flex" href={`${Constants.weblate}projects/mapcomplete/`} target="_blank">
|
|
||||||
<TranslateIcon class="h-6 w-6" />
|
|
||||||
<Tr t={Translations.t.translations.activateButton} />
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="flex" href="https://en.osm.town/@MapComplete" target="_blank">
|
<a class="flex" href="https://en.osm.town/@MapComplete" target="_blank">
|
||||||
<Mastodon class="h-6 w-6" />
|
<Mastodon class="h-6 w-6" />
|
||||||
|
@ -325,6 +310,30 @@
|
||||||
<Tr t={Translations.t.general.attribution.donate} />
|
<Tr t={Translations.t.general.attribution.donate} />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
<a
|
||||||
|
class="flex"
|
||||||
|
href="https://source.mapcomplete.org/MapComplete/MapComplete/issues"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<Bug class="h-6 w-6" />
|
||||||
|
<Tr t={Translations.t.general.attribution.openIssueTracker} />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a class="flex" href="https://source.mapcomplete.org/MapComplete/MapComplete/" target="_blank">
|
||||||
|
<Forgejo class="h-6 w-6" />
|
||||||
|
<Tr t={Translations.t.general.attribution.gotoSourceCode} />
|
||||||
|
</a>
|
||||||
|
<a class="flex" href={`${Constants.weblate}projects/mapcomplete/`} target="_blank">
|
||||||
|
<TranslateIcon class="h-6 w-6" />
|
||||||
|
<Tr t={Translations.t.translations.activateButton} />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</SidebarUnit>
|
||||||
|
<SidebarUnit>
|
||||||
|
<h3>
|
||||||
|
<Tr t={Translations.t.general.menu.legal} />
|
||||||
|
</h3>
|
||||||
<Page {onlyLink} shown={pg.copyright}>
|
<Page {onlyLink} shown={pg.copyright}>
|
||||||
<svelte:fragment slot="header">
|
<svelte:fragment slot="header">
|
||||||
<Copyright />
|
<Copyright />
|
||||||
|
@ -332,7 +341,6 @@
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
<CopyrightPanel {state} />
|
<CopyrightPanel {state} />
|
||||||
</Page>
|
</Page>
|
||||||
|
|
||||||
<Page {onlyLink} shown={pg.copyright_icons}>
|
<Page {onlyLink} shown={pg.copyright_icons}>
|
||||||
<svelte:fragment slot="header">
|
<svelte:fragment slot="header">
|
||||||
<Copyright />
|
<Copyright />
|
||||||
|
@ -349,11 +357,12 @@
|
||||||
<PrivacyPolicy {state} />
|
<PrivacyPolicy {state} />
|
||||||
</Page>
|
</Page>
|
||||||
|
|
||||||
<div class="subtle self-end">
|
|
||||||
{Constants.vNumber}
|
|
||||||
{#if $isAndroid}
|
|
||||||
Android
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
</SidebarUnit>
|
</SidebarUnit>
|
||||||
|
|
||||||
|
<div class="subtle self-end">
|
||||||
|
{Constants.vNumber}
|
||||||
|
{#if $isAndroid}
|
||||||
|
Android
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue