Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitcea3ffd48f72377c99955e6e02292918fc0608ab (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-05-28 09:34:31 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-05-28 09:34:31 +0300
Files4a505466e20803c4c387d1672df2fea743f19991
uni-projects-cea3ffd48f72377c99955e6e02292918fc0608ab.tar
uni-projects-cea3ffd48f72377c99955e6e02292918fc0608ab.tar.gz
uni-projects-cea3ffd48f72377c99955e6e02292918fc0608ab.zip
Parent03672bb3ca928674ee336b7f5861cd5cb1b631d2 (diff)
[iot/goam/index] Added a click/hover effect on buttons and added informational text
1 files changed, 10 insertions, 2 deletions
-rw-r--r--Year 3/Internet of things/goam/webserver/index.html12
diff --git a/Year 3/Internet of things/goam/webserver/index.html b/Year 3/Internet of things/goam/webserver/index.html
index c607453..081b15b 100644
--- a/Year 3/Internet of things/goam/webserver/index.html
+++ b/Year 3/Internet of things/goam/webserver/index.html
@@ -33,6 +33,12 @@ img {
background-color: lightgray;
color: black;
}
+.button:active, input[type="submit"]:active {
+ transform: scale(0.90);
+}
+.button:hover, input[type="submit"]:hover {
+ cursor: pointer;
+}
a.button {
display: block;
text-decoration: none;
@@ -55,20 +61,22 @@ iframe {
<iframe id="dummyframe" name="dummyframe" hidden></iframe>
<h1>Configure static network</h1>
+ <p>Upon boot up, the device first tries to connect to the (static) network with stored name/password. If that fails, then it tries connecting to an open network. If that fails too, after 2 seconds connection logic is restarted.</p>
<form action="/network" target="dummyframe" method="POST">
<input id="network-ssid" name="ssid" type="text" placeholder="Name (SSID)">
<input id="network-pass" name="pass" type="text" placeholder="Password">
<input class="button" type="submit" value="Save">
</form>
- <h1>Configure other options</h1>
+ <h1>Configure behaviour</h1>
+ <p><i>Beware, these values may not represent what the device is doing! To be certain, always check the display!</i></p>
<form action="/imagesave" target="dummyframe" method="POST">
<select name="imagesave">
<option value="0">Only save to camera</option>
<option value="1">Only send to <code>/camera</code> listeners</option>
<option value="2" selected>Save and send</option>
</select>
- <input class="button" type="submit" value="Save">
+ <input class="button" type="submit" value="Apply">
</form>
</article>
<script>