A simple pastebin application written in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
523 B

  1. <html>
  2. <head>
  3. <title>gopaste</title>
  4. <style>
  5. body {
  6. font-size: 120%;
  7. }
  8. form {
  9. margin: 0 auto;
  10. max-width: 40em;
  11. }
  12. textarea {
  13. width: 100%;
  14. height: 50vh;
  15. font-family: serif;
  16. border: 0;
  17. outline: none;
  18. }
  19. textarea, input {
  20. font-size: 100%;
  21. }
  22. </style>
  23. </head>
  24. <body>
  25. <h1>gopaste</h1>
  26. <form action="/create" method="post">
  27. <textarea name="stuff" placeholder="Paste something..." autofocus></textarea>
  28. <input type="submit" value="Publish" />
  29. </form>
  30. </body>
  31. </html>