Update index.php
This commit is contained in:
parent
2a7f0882f1
commit
875feccc63
1 changed files with 10 additions and 5 deletions
15
index.php
15
index.php
|
@ -30,10 +30,8 @@
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#body-input {
|
#image-bits {
|
||||||
width: calc(100% - 6px);
|
display: none;
|
||||||
height: 150px;
|
|
||||||
resize: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=submit] {
|
input[type=submit] {
|
||||||
|
@ -110,6 +108,8 @@
|
||||||
<form method="post" action="farp.php">
|
<form method="post" action="farp.php">
|
||||||
Draw here:<br>
|
Draw here:<br>
|
||||||
<canvas id="canvas-input" width="128" height="64"></canvas>
|
<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">
|
Signature (optional): <input id="signature-input" onchange="logSignature();" type="text" name="signature">
|
||||||
<input type="submit" value="Farp it">
|
<input type="submit" value="Farp it">
|
||||||
</form>
|
</form>
|
||||||
|
@ -179,7 +179,12 @@
|
||||||
fclose($myfile);
|
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
|
// show content
|
||||||
$myfile = fopen("posts.txt", "r") or die("Unable to open file!");
|
$myfile = fopen("posts.txt", "r") or die("Unable to open file!");
|
||||||
if ($myfile) {
|
if ($myfile) {
|
||||||
|
|
Reference in a new issue