index.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Chat Box</title>
  6. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  8. </head>
  9. <body>
  10. <div class="container-fluid">
  11. <div class="row">
  12. <div class="col-md">
  13. <h1>Chat Box</h1>
  14. <div class="overflow-auto" id="messages">
  15. <div class="alert alert-secondary" role="alert">
  16. Halo, ada yang bisa saya bantu?
  17. </div>
  18. </div>
  19. <form id="message-form">
  20. <div class="form-group">
  21. <label for="message">Type your message:</label>
  22. <textarea class="form-control" id="message" rows="3"></textarea>
  23. </div>
  24. <button type="submit" class="btn btn-primary">Send</button>
  25. </form>
  26. </div>
  27. <div class="col-md my-2">
  28. <div id="video-container">
  29. <video id="video" controls>
  30. <source src="{{ url_for('files', filename='video-e1b79304-c705-4dbf-9e9b-b6be81303434.mp4') }}" type="video/mp4">
  31. </video>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. <script
  37. src="https://code.jquery.com/jquery-3.7.0.min.js"
  38. integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g="
  39. crossorigin="anonymous"></script>
  40. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
  41. <script src="{{ url_for('static', filename='script.js') }}"></script>
  42. </body>
  43. </html>