Guest User

Untitled

a guest
Sep 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="{{ app()->getLocale() }}">
  3. <head>
  4. <title>Laravel</title>
  5.  
  6. <link href='//fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
  7. <link rel="stylesheet" href="{{ asset('css/app.css') }}">
  8.  
  9. <style>
  10. input[type="file"] {
  11. background-color:#67C2C4;
  12. border: 1px solid black;
  13. margin-right: 5px;
  14. }
  15.  
  16. input[type="submit"]{
  17. border-radius:30px 10px;
  18. color:#fff;
  19. padding:10px 20px 10px 20px;
  20. margin:20px auto;
  21. }
  22. </style>
  23.  
  24. </head>
  25. <body class="bg-light">
  26.  
  27. <div class="container">
  28. <div class="py-5 text-center">
  29. <h1>File Upload</h1>
  30. <form action="{{ URL::to('upload') }}" method="post" enctype="multipart/form-data">
  31. <label for="file">Select image to upload:</label>
  32. <input type="file" name="file" id="file">
  33. <input class="btn btn-primary" type="submit" value="Upload" name="submit">
  34. <input type="hidden" value="{{ csrf_token() }}" name="_token">
  35. </form>
  36. </div>
  37. </div>
  38.  
  39. </body>
  40. </html>
Add Comment
Please, Sign In to add comment