source: code/trunk/example/templates/index.html@ 69

Last change on this file since 69 was 68, checked in by yakumo.izuru, 16 months ago

Update manual and center the interface

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 1.2 KB
RevLine 
[67]1<!DOCTYPE HTML PUBLIC "//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
[50]2<html>
[65]3 <head>
[67]4 <link rel="icon" href="/favicon.ico">
5 <link rel="stylesheet" href="/marisa.css">
6 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
7 <meta name="author" content="Izuru Yakumo">
[65]8 <meta name="viewport" content="width=device-width">
9 <title>Marisa</title>
10 </head>
11 <body>
[68]12 <table>
[67]13 <thead>
14 <img class="logo" src="/marisa.png">
15 <br>
16 <h1>Marisa</h1>
17 </thead>
18 <tbody>
19 <form enctype="multipart/form-data" method="POST">
20 <input class="file" name="file" type="file"><br>
21 <input name="output" type="hidden" value="html"><br>
22 <input type="submit"><br>
23 <label for="expiry">Destroy after</label>
24 <select name="expiry">
25 <option value="900">15 minutes</option>
26 <option value="3600">1 hour</option>
27 <option value="28800">8 hours</option>
28 <option value="86400">1 day</option>
29 <option value="604800">1 week</option>
30 </select>
31 </form>
32 <p>
33 File size limited to {{.Maxsize}}.
34 </p>
35 </tbody>
36 <tfoot>
37 {{if .Links}}
38 <tr>
39 {{range .Links}}<td><a href="{{.}}">{{.}}</a></td>{{end}}
40 </tr>
41 {{end}}
42 </tfoot>
43 </table>
[65]44 </body>
[50]45</html>
Note: See TracBrowser for help on using the repository browser.