A simple pastebin application written in Go
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- <html>
- <head>
- <title>gopaste</title>
- <style>
- body {
- font-size: 120%;
- }
- form {
- margin: 0 auto;
- max-width: 40em;
- }
- textarea {
- width: 100%;
- height: 50vh;
- font-family: serif;
- border: 0;
- outline: none;
- }
- textarea, input {
- font-size: 100%;
- }
- </style>
- </head>
- <body>
- <h1>gopaste</h1>
-
- <form action="/create" method="post">
- <textarea name="stuff" placeholder="Paste something..." autofocus></textarea>
- <input type="submit" value="Publish" />
- </form>
- </body>
- </html>
|