index.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!doctype html>
  2. {% load static %}
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
  9. <meta name="generator" content="Hugo 0.79.0">
  10. <title>Upload | UpSharing</title>
  11. <link rel="canonical" href="https://getbootstrap.com/docs/5.0/examples/sign-in/">
  12. <!-- Bootstrap core CSS -->
  13. <!-- CSS only -->
  14. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
  15. integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
  16. <meta name="theme-color" content="#7952b3">
  17. <style>
  18. .bd-placeholder-img {
  19. font-size: 1.125rem;
  20. text-anchor: middle;
  21. -webkit-user-select: none;
  22. -moz-user-select: none;
  23. user-select: none;
  24. }
  25. @media (min-width: 768px) {
  26. .bd-placeholder-img-lg {
  27. font-size: 3.5rem;
  28. }
  29. }
  30. </style>
  31. <!-- Custom styles for this template -->
  32. <link href="{% static 'sharing/style.css' %}" rel="stylesheet">
  33. </head>
  34. <body class="text-center">
  35. <main class="form-signin">
  36. <form action="/upload/" method="POST" enctype="multipart/form-data">
  37. {% csrf_token %}
  38. <h1 class="h3 mb-3 fw-normal">UpSharing</h1>
  39. <input type="file" id="file" name="file" class="form-control" required autofocus>
  40. <button class="w-100 btn btn-lg btn-primary" type="submit">Upload</button>
  41. </form>
  42. </main>
  43. </body>
  44. </html>