layout.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- Required meta tags -->
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. {% block title %}{% endblock %}
  8. {% block header %}{% endblock %}
  9. <!-- Bootstrap CSS and JS bundle -->
  10. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  11. <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>
  12. </head>
  13. <body>
  14. <!-- Navbar -->
  15. <nav class="navbar navbar-expand navbar-dark bg-dark">
  16. <a class="navbar-brand" href="#">YOLOv5-FastAPI-Demo</a>
  17. <div class="collapse navbar-collapse" id="navbarNav">
  18. <ul class="navbar-nav">
  19. <li class="nav-item">
  20. <a class="nav-link" href="/">Home</a>
  21. </li>
  22. <li class="nav-item">
  23. <a class="nav-link" href="/drag_and_drop_detect">Drag & Drop Detection</a>
  24. </li>
  25. <li class="nav-item">
  26. <a class="nav-link" href="/docs">Docs</a>
  27. </li>
  28. </ul>
  29. </div>
  30. </nav>
  31. <!--Other template content goes here-->
  32. <main role="main" class="container"></main>
  33. {% block content %}{% endblock %}
  34. </main>
  35. </body>
  36. </html>