-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create Settings Menu - Create Settings menu in app header - Move Language and Token widgets inside settings menu - Add icons to menu options - Display active language on language selection * Add Marker cluster toggle requires: wmo-im/wis2box#590 * Update mdi-icon for cluster
- Loading branch information
Showing
11 changed files
with
108 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
|
||
<template id="select-locale"> | ||
<div class="select-locale"> | ||
<v-menu :close-on-content-click="false"> | ||
<template v-slot:activator="{ props }"> | ||
<v-btn variant="text" color="#FFFFFF" class="font-weight-bold" v-bind="props"> | ||
<v-icon icon="mdi-cog" /> {{ $t('util.settings') }} | ||
</v-btn> | ||
</template> | ||
|
||
<v-list> | ||
<v-list-item class="px-0"> | ||
<select-locale :header="false" /> | ||
</v-list-item> | ||
<v-list-item class="px-0"> | ||
<token-auth :header="false" /> | ||
</v-list-item> | ||
<v-list-item class="px-0"> | ||
<v-btn block :ripple="false" variant="text" color="#014e9e" class="font-weight-bold"> | ||
<v-icon icon="mdi-map-marker-multiple" /> {{ $t('util.cluster') }} | ||
<template v-slot:append> | ||
<v-switch hide-details color="#014e9e" v-model="$root.cluster" /> | ||
</template> | ||
</v-btn> | ||
</v-list-item> | ||
</v-list> | ||
</v-menu> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { defineComponent } from "vue"; | ||
import SelectLocale from "./SelectLocale.vue"; | ||
import TokenAuth from "./TokenAuth.vue"; | ||
export default defineComponent({ | ||
name: "AppSettings", | ||
template: "#app-settings", | ||
components: { | ||
SelectLocale, | ||
TokenAuth, | ||
}, | ||
}); | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters