Skip to content

Commit bf261bd

Browse files
committed
test4: New settings page for renaming relays with update rtc time button
1 parent 0cf49ec commit bf261bd

File tree

2 files changed

+391
-0
lines changed

2 files changed

+391
-0
lines changed

data/index.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,37 @@
505505
padding: 4px 0;
506506
border-top: 1px solid #252525;
507507
}
508+
509+
.navbar {
510+
width: 100%;
511+
max-width: 600px;
512+
margin-bottom: 1rem;
513+
display: flex;
514+
justify-content: center;
515+
padding: 8px;
516+
background: #1e1e1e;
517+
border-radius: 12px;
518+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
519+
}
520+
521+
.nav-btn {
522+
background: #252525;
523+
color: #2196F3;
524+
border: none;
525+
padding: 10px 24px;
526+
border-radius: 6px;
527+
cursor: pointer;
528+
font-size: 0.9rem;
529+
text-transform: uppercase;
530+
letter-spacing: 1px;
531+
transition: all 0.3s;
532+
}
533+
534+
.nav-btn:hover {
535+
background: #2196F3;
536+
color: white;
537+
transform: translateY(-1px);
538+
}
508539
</style>
509540
</head>
510541

@@ -519,6 +550,10 @@ <h2 class="page-title">Smart Aquarium V4</h2>
519550
</div>
520551
</div>
521552

553+
<nav class="navbar">
554+
<button class="nav-btn" onclick="window.location.href='settings.html'">Settings</button>
555+
</nav>
556+
522557
<div class="grid-container">
523558
<div id="led1" class="controls-container">
524559
<h3 class="led-title" id="ledName_1">LED 1</h3>

0 commit comments

Comments
 (0)