diff options
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..1a81c1a --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,46 @@ +<!doctype html> +<head> +<!-- Required meta tags --> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta http-equiv="X-UA-Compatible" content="ie=edge"> + + <!-- Bootstrap CSS --> + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> + <link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}"> + + + <title>GatPub: Gene Addictionness through PubMed</title> +</head> +<body> + +<nav class="navbar navbar-expand-lg navbar-light bg-light"> + <a class="navbar-brand" href="#">GatPub</a> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + + <div class="collapse navbar-collapse" id="navbarSupportedContent"> + <ul class="navbar-nav mr-auto"> + <li class="nav-item active"> + <a class="nav-link" href="/home">Home <span class="sr-only">(current)</span></a> + </li> + <li class="nav-item"> + <a class="nav-link" href="/search">Search</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="/result">Result</a> + </li> + </div> +</nav> + + <div class="container"> + {% block content %}{% endblock %} + </div> + +<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> +<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> +<script src="http://d3js.org/d3.v5.min.js"></script> +</body> + + |