add bracelet control page
This commit is contained in:
parent
bd298541c5
commit
3b4084c584
43
bracelet.html
Normal file
43
bracelet.html
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!-- dumb pet couldn't figure out how to code this itself and made this one do so for it -6e6174 -->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<title>shock it</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form action="/bracelet.html#" method="POST">
|
||||||
|
<fieldset>
|
||||||
|
<legend>type:</legend>
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="zap" checked>
|
||||||
|
shock
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="vibe">
|
||||||
|
buzz
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
|
<input type="radio" name="type" value="beep">
|
||||||
|
beep
|
||||||
|
</label>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>strength:</legend>
|
||||||
|
<input type="number" name="strength" min="0" max="100" value="50">
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<legend>message:</legend>
|
||||||
|
<textarea name="message" rows="4" cols="50">good drone</textarea>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<button type="submit">submit</button>
|
||||||
|
</form>
|
||||||
|
<hr>
|
||||||
|
<h2>scripting</h2>
|
||||||
|
one may easily use this page from the command line with curl:
|
||||||
|
<code>curl -X POST 'https://puppygirl.systems/bracelet.html' -d 'type=zap&strength=20&message=test%20using%20curl'</code>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,7 +0,0 @@
|
|||||||
body {
|
|
||||||
background-color: #ebdbb2;
|
|
||||||
color:#282828;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
14
css/test.css
14
css/test.css
@ -1,14 +0,0 @@
|
|||||||
body {
|
|
||||||
background-color: #ebdbb2;
|
|
||||||
color:#282828;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
section {
|
|
||||||
display: flex;
|
|
||||||
width: 400px;
|
|
||||||
height: 500px;
|
|
||||||
background-color: lightgray;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="css/styles.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<title>Odette website</title>
|
<title>Odette website</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -45,9 +45,9 @@
|
|||||||
Discord: mkfs.ntfs
|
Discord: mkfs.ntfs
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
<hr/>
|
|
||||||
<section>
|
<section>
|
||||||
$[echo foo]
|
<a href='/bracelet.html'>send commands to its shock bracelet</a>
|
||||||
</section>
|
</section>
|
||||||
|
<hr/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user