aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHao Chen2019-05-08 15:58:09 -0500
committerHao Chen2019-05-08 15:58:09 -0500
commit02311e25a43d9a9443149a0402279f0f8a48ce50 (patch)
treecba0025742bf0f38837e0fa1c326e58d70ef6bbc /templates
parentcd948b1ccf6781c17c9e4b4899ada9d654f16e83 (diff)
downloadgenecup-02311e25a43d9a9443149a0402279f0f8a48ce50.tar.gz
improved ontology
Diffstat (limited to 'templates')
-rw-r--r--templates/cytoscape.html6
-rw-r--r--templates/index.html3
-rw-r--r--templates/layout.html12
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">