Mercurial > paster
comparison themes/minimal/new.html @ 2:65607ae124b1
pasterd: implement /new
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 04 Feb 2020 20:47:00 +0100 |
parents | |
children | 0f1d65d5ea89 |
comparison
equal
deleted
inserted
replaced
1:836a698946f8 | 2:65607ae124b1 |
---|---|
1 <h1>Create paste</h1> | |
2 | |
3 <form action="/new" method="post"> | |
4 <table> | |
5 <tr> | |
6 <td>Title</td> | |
7 <td><input name="title" type="text" placeholder="Untitled" value="@@title@@" /></td> | |
8 </tr> | |
9 | |
10 <tr> | |
11 <td>Author</td> | |
12 <td><input name="author" type="text" placeholder="Anonymous" value="@@author@@" /></td> | |
13 </tr> | |
14 | |
15 <tr> | |
16 <td>Language</td> | |
17 <td><select name="language">@@languages@@</select></td> | |
18 </tr> | |
19 | |
20 <tr> | |
21 <td>Expires in</td> | |
22 <td> | |
23 <select name="duration"> | |
24 <option value="month">one month</option> | |
25 <option value="week">one week</option> | |
26 <option value="day">one day</option> | |
27 <option value="hour">one hour</option> | |
28 </select> | |
29 </td> | |
30 </tr> | |
31 | |
32 <tr> | |
33 <td>Private</td> | |
34 <td><input type="checkbox" name="private"></input></td> | |
35 </tr> | |
36 </table> | |
37 | |
38 <textarea id="code" class="textarea" placeholder="What do you want to share?" rows="10" name="code">@@code@@</textarea> | |
39 <button>Submit</button> | |
40 </form> |