From 6889828e7a37778d633d3efeaae266f0993f7fcd Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sat, 20 Sep 2025 23:47:42 +0530 Subject: [PATCH] easy adapter UI --- src/pug/index.pug | 4 ++++ src/stylus/style.styl | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/pug/index.pug b/src/pug/index.pug index 8255564..fbc5020 100644 --- a/src/pug/index.pug +++ b/src/pug/index.pug @@ -88,6 +88,10 @@ html(lang="en") .fa.fa-thermometer-full(class="error", v-if="80 <= state.rpi_temp", title="Raspberry Pi temperature too high.") + + .easy-adapter(v-if="config.settings.easy-adapter") + .round-dot + div.easy-adapter-text Easy Adapter .whitespace diff --git a/src/stylus/style.styl b/src/stylus/style.styl index 1af7448..8a0c5f5 100644 --- a/src/stylus/style.styl +++ b/src/stylus/style.styl @@ -92,6 +92,19 @@ tt color #444 .right color #e5aa3d + + .easy-adapter + padding 5px + margin 5px + + .round-dot + padding 5px + margin 5px + border-radius 100px + background-color #000000 + + .easy-adapter-text + text-align center .whitespace flex-grow 1