Add modal to show paste info (web)

Done paste upload logic (web)

Add json response (paste)

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2023-03-26 18:54:35 +08:00
parent aa154b213e
commit 576a543703
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
6 changed files with 289 additions and 51 deletions

View file

@ -83,7 +83,7 @@
</td>
</tr>
</table>
<input id="show_qr_checkbox" type="checkbox" name="qrcode" checked>
<input id="show_qr_checkbox" type="checkbox" name="qrcode" checked value="1">
<label for="show_qr_checkbox">Show QR code on sumbitted</label>
</div>
<div>
@ -169,7 +169,9 @@
document.getElementById('upload_file_form').addEventListener('submit', handle_submit_form, false);
</script>
<br>
<a href="https://nekoul.com">[Homepage]</a><a href="https://github.com/rikkaneko/paste#api-specification">[API]</a>
<a href="https://nekoul.com">[Homepage]</a>
<a href="https://github.com/rikkaneko/paste#api-specification">[API]</a>
<a href="https://pb.nekou.com">[Switch to new version]</a>
<p>&copy; 2022 rikkaneko</p>
</body>
</html>