layout.html 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <!doctype html>
  2. <head>
  3. <title>Simple Dog Breed Classifier</title>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
  7. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  8. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  9. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  10. </head>
  11. <nav class="navbar navbar-default">
  12. <div class="container-fluid">
  13. <div class="navbar-header">
  14. <a class="navbar-brand" href="/">
  15. Dog Breed
  16. {% if model_name is defined %}
  17. {{ model_name|title }}
  18. {% endif %}
  19. Classifier
  20. </a>
  21. </div>
  22. <div class="pull-right">
  23. {% block nav_buttons %}
  24. {% endblock %}
  25. </div>
  26. </nav>
  27. <div class="container-fluid">
  28. {% block body %}{% endblock %}
  29. </div>