aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2026-08-07 18:27:17 +0000
committers-ol <s+removethis@s-ol.nu>2026-08-07 18:45:28 +0000
commitd4c69eb27af14aacc900a2b0db5147a153cf4123 (patch)
treebb5543d1f60cae6e05d6e72b9565219c6ba3d69e
parentlink info and public URL (diff)
downloadt937-serial-d4c69eb27af14aacc900a2b0db5147a153cf4123.tar.gz
t937-serial-d4c69eb27af14aacc900a2b0db5147a153cf4123.zip
web: reorganize sidebar
-rw-r--r--web/index.html30
-rw-r--r--web/style.css3
2 files changed, 18 insertions, 15 deletions
diff --git a/web/index.html b/web/index.html
index 5c3c38e..8ddfad4 100644
--- a/web/index.html
+++ b/web/index.html
@@ -24,14 +24,27 @@
<label id="status">(disconnected)</label>
<button id="connect">connect</button>
</div>
+ <h2>temperatures</h2>
<div>
- <label>chamber temp</label>
+ <label>chamber</label>
<label id="temps_chamber">-</label>
</div>
<div>
- <label>controller temp</label>
+ <label>controller</label>
<label id="temps_controller">-</label>
</div>
+ <h2>manual controls</h2>
+ <div>
+ <label for="heat">heat</label>
+ <input id="heat" class="grow" type="range" min="0" max="255" value="0" />
+ <input id="heat_mode" type="checkbox" />
+ </div>
+ <div>
+ <label for="cool">cool</label>
+ <input id="cool" class="grow" type="range" min="0" max="255" value="0" />
+ <input id="cool_mode" type="checkbox" />
+ </div>
+ <h2>stored profiles</h2>
<div>
<select id="profile" value="" class="grow">
<option value="">none / manual</option>
@@ -51,19 +64,6 @@
<button id="write" class="grow" disabled>write</button>
</div>
</section>
- <section>
- <h1>manual control</h1>
- <div>
- <label for="heat">heat</label>
- <input id="heat" class="grow" type="range" min="0" max="255" value="0" />
- <input id="heat_mode" type="checkbox" />
- </div>
- <div>
- <label for="cool">cool</label>
- <input id="cool" class="grow" type="range" min="0" max="255" value="0" />
- <input id="cool_mode" type="checkbox" />
- </div>
- </section>
<section class="grow">
<h1>
<span class="grow">reflow profile</span>
diff --git a/web/style.css b/web/style.css
index 2f0db1a..c0fcf8e 100644
--- a/web/style.css
+++ b/web/style.css
@@ -29,6 +29,9 @@ aside h1 {
aside h1 span {
display: flex;
}
+aside h2 {
+ font-size: 1em;
+}
aside section {
display: flex;
flex-direction: column;