diff --git a/server/routers/api-router.js b/server/routers/api-router.js index 1c2ff9ea..4cb9d22c 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 e02dab80..3ff5b48e 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 4e46096f..31436e79 100644 --- a/src/components/GroupList.vue +++ b/src/components/GroupList.vue @@ -8,7 +8,10 @@ >