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:
@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=false
|
NEXT_PUBLIC_EXPORT_STATIC=false
|
||||||
NEXT_PUBLIC_USE_CGI=false
|
NEXT_PUBLIC_USE_CGI=false
|
||||||
# App-Versionsnummer
|
# 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)
|
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||||
|
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=true
|
NEXT_PUBLIC_EXPORT_STATIC=true
|
||||||
NEXT_PUBLIC_USE_CGI=true
|
NEXT_PUBLIC_USE_CGI=true
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.670
|
NEXT_PUBLIC_APP_VERSION=1.6.671
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
NEXT_PUBLIC_CPL_MODE=production
|
||||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -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
|
## [1.6.670] – 2025-07-31
|
||||||
|
|
||||||
- feat: implement modal chart system with conditional UI and message filtering
|
- feat: implement modal chart system with conditional UI and message filtering
|
||||||
|
|||||||
@@ -72,11 +72,12 @@ const NTPSettings: React.FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="col-span-2 flex items-center gap-2 mt-2">
|
<div className="col-span-2 flex items-center gap-2 mt-2">
|
||||||
<label className="text-xs font-medium">NTP aktiv:</label>
|
<label className="text-xs font-medium ">NTP aktiv:</label>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={active}
|
checked={active}
|
||||||
onChange={(e) => setActive(e.target.checked)}
|
onChange={(e) => setActive(e.target.checked)}
|
||||||
|
className="accent-littwin-blue w-4 h-4"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.670",
|
"version": "1.6.671",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.670",
|
"version": "1.6.671",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@headlessui/react": "^2.2.4",
|
"@headlessui/react": "^2.2.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.670",
|
"version": "1.6.671",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user