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.

image.html 1.4KB

1234567891011121314151617181920212223242526272829303132
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Image generator</title>
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
  8. <link rel="stylesheet" href=
  9. "https://use.fontawesome.com/releases/v5.6.3/css/all.css"
  10. integrity=
  11. "sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
  12. crossorigin="anonymous">
  13. </head>
  14. <body>
  15. <div class="container">
  16. <div class="row">
  17. <div class="col-md-6 offset-md-3">
  18. <div class="card w-100 mt-2">
  19. <img src="{{src}}" alt="{{alt}}" class="card-img-top">
  20. <div class="card-body">
  21. <form class="card-text" method="POST" action="">
  22. <input class="form-control" name="prompt" placeholder="Image prompt" value="{{prompt}}" />
  23. </form>
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
  30. </body>
  31. </html>