forked from MapComplete/MapComplete
Add custom theme for advanced users
This commit is contained in:
parent
004eead4ee
commit
9c42839f01
44 changed files with 635 additions and 326 deletions
|
|
@ -9,6 +9,7 @@ import {Basemap} from "../Logic/Leaflet/Basemap";
|
|||
import {State} from "../State";
|
||||
import {PendingChanges} from "./PendingChanges";
|
||||
import Locale from "./i18n/Locale";
|
||||
import {Utils} from "../Utils";
|
||||
|
||||
/**
|
||||
* Handles and updates the user badge
|
||||
|
|
@ -25,7 +26,7 @@ export class UserBadge extends UIElement {
|
|||
super(State.state.osmConnection.userDetails);
|
||||
this._userDetails = State.state.osmConnection.userDetails;
|
||||
this._pendingChanges = new PendingChanges();
|
||||
this._languagePicker = Locale.CreateLanguagePicker();
|
||||
this._languagePicker = Utils.CreateLanguagePicker();
|
||||
|
||||
this._logout = new FixedUiElement("<img src='assets/logout.svg' class='small-userbadge-icon' alt='logout'>")
|
||||
.onClick(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue