Adjust junk drawer styles
This commit is contained in:
@@ -1,22 +1,43 @@
|
||||
<form method='post' action='/junk-drawer/upload' enctype='multipart/form-data'>
|
||||
<div>
|
||||
<label for='files'>Choose files to upload</label>
|
||||
<input type='file' id='files' name='files' multiple />
|
||||
</div>
|
||||
<div>
|
||||
<label for='private-ish'>Private-ish</label>
|
||||
<input type='checkbox' id='private-ish' name='private-ish' />
|
||||
</div>
|
||||
<div style='display:flex; flex-direction:column;'>
|
||||
<label for='description'>Description</label>
|
||||
<textarea
|
||||
type='text'
|
||||
id='description'
|
||||
name='description'
|
||||
rows='4'
|
||||
></textarea>
|
||||
</div>
|
||||
<div>
|
||||
<button>Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset='utf-8' />
|
||||
<title>Junk Drawer</title>
|
||||
<script src='https://cdn.tailwindcss.com'></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form
|
||||
method='post'
|
||||
action='/junk-drawer/upload'
|
||||
enctype='multipart/form-data'
|
||||
>
|
||||
<div>
|
||||
<label for='files'>Choose files to upload</label>
|
||||
<input type='file' id='files' name='files' multiple />
|
||||
</div>
|
||||
<div>
|
||||
<label
|
||||
class='cursor-help'
|
||||
title='Append a random-ish string to the ID to make it harder to find via enumeration'
|
||||
for='private-ish'
|
||||
>Private-ish</label>
|
||||
<input type='checkbox' id='private-ish' name='private-ish' />
|
||||
</div>
|
||||
<div class='flex flex-col'>
|
||||
<label for='description'>Description:</label>
|
||||
<textarea
|
||||
type='text'
|
||||
id='description'
|
||||
name='description'
|
||||
rows='4'
|
||||
autofocus
|
||||
class='border-2 rounded-md border-slate-800 border-solid p-1'
|
||||
></textarea>
|
||||
</div>
|
||||
<div>
|
||||
<button class='border-2 rounded-md border-slate-800 p-1'>Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user