style: apply littwin-blue color to NTP settings checkbox

- Add accent-littwin-blue class to NTP active checkbox
- Increase checkbox size to w-4 h-4 for better visibility
- Maintain consistent brand coloring across UI components
This commit is contained in:
ISA
2025-07-31 16:31:16 +02:00
parent 4fe64382f3
commit c1ed09a21d
6 changed files with 17 additions and 6 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.670
NEXT_PUBLIC_APP_VERSION=1.6.671
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.670
NEXT_PUBLIC_APP_VERSION=1.6.671
NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,13 @@
## [1.6.671] 2025-07-31
- feat: hide logout button when admin is not logged in
- Add conditional rendering for "Abmelden" button based on isAdminLoggedIn state
- Button only appears when localStorage contains "isAdminLoggedIn": "true"
- Improves UI cleanliness by hiding unnecessary logout option for regular users
- Maintains existing admin warning banner and logout functionality when needed
---
## [1.6.670] 2025-07-31
- feat: implement modal chart system with conditional UI and message filtering

View File

@@ -77,6 +77,7 @@ const NTPSettings: React.FC = () => {
type="checkbox"
checked={active}
onChange={(e) => setActive(e.target.checked)}
className="accent-littwin-blue w-4 h-4"
/>
</div>

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cpl-v4",
"version": "1.6.670",
"version": "1.6.671",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cpl-v4",
"version": "1.6.670",
"version": "1.6.671",
"dependencies": {
"@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{
"name": "cpl-v4",
"version": "1.6.670",
"version": "1.6.671",
"private": true,
"scripts": {
"dev": "next dev",