diff --git a/server/routers/api-router.js b/server/routers/api-router.js index 1c2ff9ea9..4cb9d22c6 100644 --- a/server/routers/api-router.js +++ b/server/routers/api-router.js @@ -12,6 +12,10 @@ router.get("/api/status-page/config", async (_request, response) => { config.statusPageTheme = "light"; } + if (! config.title) { + config.title = "Uptime Kuma"; + } + response.json(config); }); diff --git a/src/assets/app.scss b/src/assets/app.scss index e02dab807..3ff5b48e3 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -374,3 +374,18 @@ h2 { background-color: #4caf50; border-color: #4caf50; } + +[contenteditable=true] { + &:focus { + outline: 0 solid #eee; + border: 1px solid #aaa; + border-radius: 8px; + } + + &::after { + margin-left: 5px; + content: "🖊️"; + font-size: 13px; + color: #eee; + } +} diff --git a/src/components/GroupList.vue b/src/components/GroupList.vue index 4e46096f0..31436e797 100644 --- a/src/components/GroupList.vue +++ b/src/components/GroupList.vue @@ -8,7 +8,10 @@ >