diff options
author | Hao Chen | 2019-05-13 11:52:24 -0500 |
---|---|---|
committer | Hao Chen | 2019-05-13 11:52:24 -0500 |
commit | 4931c70884c7aa7bb3d4fba927597a2f89b4c9b0 (patch) | |
tree | f390648ca6752526db04eadd60283783fed53001 /templates/layout.html | |
parent | d453c78f6d7e65667d8cbeabcdafd36ce1a9a475 (diff) | |
download | genecup-4931c70884c7aa7bb3d4fba927597a2f89b4c9b0.tar.gz |
reorg page layout
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/templates/layout.html b/templates/layout.html index 43ebee0..08977c3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -13,13 +13,30 @@ </head> <body> - <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> - <a class="navbar-brand" href="/">RatsPub:</br> <span style="font-size:small"> <u>R</u>elationship with <u>A</u>ddiction <u>T</u>hrough <u>S</u>earches of <u>Pub</u>Med </span></a> - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> +<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> + <a class="navbar-brand" href="/">RatsPub</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 <span class="sr-only">(current)</span></a> + </li> + <li class="nav-item"> + <a class="nav-link" href="/allTopGenes">Addiction Genes</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="/about">About</a> + </li> + + </ul> + </div> </nav> +<br> + <div class="container"> {% block content %}{% endblock %} </div> |