diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cytoscape.html | 6 | ||||
-rw-r--r-- | templates/index.html | 3 | ||||
-rw-r--r-- | templates/layout.html | 12 |
3 files changed, 6 insertions, 15 deletions
diff --git a/templates/cytoscape.html b/templates/cytoscape.html index ab30562..749b042 100644 --- a/templates/cytoscape.html +++ b/templates/cytoscape.html @@ -20,7 +20,8 @@ { selector: 'edge', css: { 'content': 'data(sentCnt)', - 'curve-style': 'bezier' + 'curve-style': 'bezier', + 'opacity': '0.3' } }, { selector: 'node.highlight', @@ -35,7 +36,8 @@ }, { selector: 'edge.highlight', - style: { 'mid-target-arrow-color': '#FFF' } + style: { 'mid-target-arrow-color': '#FFF' }, + style:{ 'opacity': '0.9' } }, { selector: 'edge.semitransp', diff --git a/templates/index.html b/templates/index.html index 4f19269..27455fb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,8 +1,7 @@ {% extends "layout.html" %} {% block content %} +<p> - -<h3> Searching PubMed to find sentences related to addiction</h3> <form class="form-inline my-2 my-lg-0" action="/search"> <input name="query" class="form-control mr-sm-2" type="search" placeholder="Rgma Nrxn3" aria-label="search" value="Rgma Nrxn3"> <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> diff --git a/templates/layout.html b/templates/layout.html index 421798e..0d3021e 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -15,20 +15,10 @@ <body> <nav class="navbar navbar-expand-lg navbar-light bg-light"> - <a class="navbar-brand" href="#">RatsPub</a> + <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"> <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">Search <span class="sr-only">(current)</span></a> - </li> - <li class="nav-item"> - <a class="nav-link" href="/result">Result</a> - </li> - </div> </nav> <div class="container"> |