40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>🍑</title>
|
|
<link href="/_css/milligram.css" rel="stylesheet">
|
|
<link href="/_css/style.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<main class="wrapper">
|
|
<h1 class="title">
|
|
Paste
|
|
</h1>
|
|
<% if err then %><em class="error"><%= err %></em><% end %>
|
|
<form action="https://<%= domain %>/_paste" method="post" class="container"><fieldset>
|
|
<div class="row">
|
|
<input type="text" name="title" placeholder="Title" class="column column-80"></input>
|
|
<select id="markup" name="markup" class="column column-20">
|
|
<option value="plain">Plain</option>
|
|
<option value="imageboard">Imageboard</option>
|
|
</select>
|
|
</div>
|
|
<div class="row">
|
|
<input type="text" name="tags" placeholder="Tags (semicolon;seperated)" class="column"></input>
|
|
</div>
|
|
<div class="row">
|
|
<textarea name="text" cols=80 rows=24 class="column"></textarea><br/>
|
|
</div>
|
|
<input type="submit">
|
|
<input type="submit" formtarget="_blank" value="Preview" formaction="https://<%= domain %>/_preview">
|
|
</fieldset></form>
|
|
<footer class="footer">
|
|
|
|
</footer>
|
|
</main>
|
|
</body>
|
|
<body>
|
|
|