Update index.php

This commit is contained in:
awesomeuser 2023-08-04 15:45:04 +00:00
parent 2a7f0882f1
commit 875feccc63

View file

@ -30,10 +30,8 @@
-webkit-box-sizing: border-box;
}
#body-input {
width: calc(100% - 6px);
height: 150px;
resize: none;
#image-bits {
display: none;
}
input[type=submit] {
@ -110,6 +108,8 @@
<form method="post" action="farp.php">
Draw here:<br>
<canvas id="canvas-input" width="128" height="64"></canvas>
<input id="image-bits" type="text" name="image-bits">
Signature (optional): <input id="signature-input" onchange="logSignature();" type="text" name="signature">
<input type="submit" value="Farp it">
</form>
@ -179,7 +179,12 @@
fclose($myfile);
}
//<canvas id="canvas-input" width="128" height="64"></canvas>
<div class='post'>
<h2>name</h2>
<i>UTC date</i>
<canvas style="width: 100%;" width="128" height="64"></canvas>
</div>
// show content
$myfile = fopen("posts.txt", "r") or die("Unable to open file!");
if ($myfile) {