From ec9c3e01197b47ae4278bd3ef4ebcbd79fa0b890 Mon Sep 17 00:00:00 2001 From: Florian Zumpe Date: Sat, 26 Sep 2026 21:08:25 +0200 Subject: [PATCH] added missing classes in ui logic --- public/js/editor-ui.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/public/js/editor-ui.js b/public/js/editor-ui.js index 1e3c357..5e2b219 100644 --- a/public/js/editor-ui.js +++ b/public/js/editor-ui.js @@ -22,27 +22,47 @@ globalThis.Wegwichtel = globalThis.Wegwichtel || {}; poiList: 'editor-poi-list', poiLon: 'editor-poi-lon', poiRadius: 'editor-poi-radius', + poiSave: 'editor-poi-save', poiTitle: 'editor-poi-title', routeActivated: 'editor-route-activated', routeBack: 'editor-route-back', routeDescription: 'editor-route-description', + routeDetailTitle: 'editor-route-detail-title', routeDetailView: 'editor-route-detail-view', routeForm: 'editor-route-form', routeGpx: 'editor-route-gpx', routeId: 'editor-route-id', routeList: 'editor-route-list', + routeListTitle: 'editor-route-list-title', routeListView: 'editor-route-list-view', routeName: 'editor-route-name', + routeSave: 'editor-route-save', status: 'editor-status' }); const classes = Object.freeze({ + button: 'editor-button', + coordinateGrid: 'editor-coordinate-grid', + dialog: 'editor-dialog', + dialogHeader: 'editor-dialog-header', + dialogShell: 'editor-dialog-shell', + form: 'editor-form', iconButton: 'editor-icon-button', iconRow: 'editor-icon-row', muted: 'editor-muted', poiItem: 'editor-poi-item', + poiList: 'editor-poi-list', + poiToolbar: 'editor-poi-toolbar', + primaryButton: 'editor-primary-button', routeGroup: 'editor-route-group', - routeItem: 'editor-route-item' + routeItem: 'editor-route-item', + routeList: 'editor-route-list', + roundButton: 'editor-round-button', + secondaryButton: 'editor-secondary-button', + status: 'editor-status', + toolbar: 'editor-toolbar', + toolbarBack: 'editor-toolbar-back', + view: 'editor-view' }); const state = {