base.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!doctype html>
  2. <html>
  3. <head>
  4. {% block head %}
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <title>{% block title %}{% endblock %} :: LAKEsuperior</title>
  9. <link href="{{url_for('ldp.static', filename='assets/css/bootstrap.min.css')}}" rel="stylesheet">
  10. <link href="{{url_for('ldp.static', filename='assets/css/bootstrap-theme.min.css')}}" rel="stylesheet">
  11. {% endblock %}
  12. {% block extra_js %}{% endblock %}
  13. </head>
  14. <body>
  15. <nav class="navbar navbar-default">
  16. <div class="container-fluid">
  17. <!-- Brand and toggle get grouped for better mobile display -->
  18. <div class="navbar-header">
  19. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
  20. <span class="sr-only">Toggle navigation</span>
  21. <span class="icon-bar"></span>
  22. <span class="icon-bar"></span>
  23. <span class="icon-bar"></span>
  24. </button>
  25. <a class="navbar-brand" href="#">LAKEsuperior</a>
  26. </div>
  27. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  28. <ul class="nav navbar-nav">
  29. <li><a href="/ldp">Browse Resources<span class="sr-only">(current)</span></a></li>
  30. <li class="dropdown">
  31. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Query<span class="caret"></span></a>
  32. <ul class="dropdown-menu">
  33. <li><a href="/query/term">Term Search</a></li>
  34. <li><a href="/query/sparql">SPARQL Query</a></li>
  35. </ul>
  36. </li>
  37. </ul>
  38. <form class="navbar-form navbar-left">
  39. <div class="form-group">
  40. <input type="text" class="form-control" placeholder="Search">
  41. </div>
  42. <button type="submit" class="btn btn-default">Submit</button>
  43. </form>
  44. </div><!-- /.navbar-collapse -->
  45. </div><!-- /.container-fluid -->
  46. </nav>
  47. <main class="container">
  48. <h1>{{ self.title() }}</h1>
  49. {% block content %}{% endblock %}
  50. </main>
  51. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  52. <script src="{{url_for('ldp.static', filename='assets/js/jquery-3.2.1.min.js')}}"></script>
  53. <!-- Include all compiled plugins (below), or include individual files as needed -->
  54. <script src="{{url_for('ldp.static', filename='assets/js/bootstrap.min.js')}}"></script>
  55. </body>
  56. </html>