Skip to content

Commit

Permalink
Merge branch 'master' into plannet-v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scastlara committed Jan 23, 2019
2 parents 5e567f0 + efdfdd0 commit 8f1c3e9
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 41 deletions.
4 changes: 2 additions & 2 deletions NetExplorer/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ h1, h2, h3, h4, h5, h6 {
.app-icon-inside {
position: relative;
margin-top: 4%;
width: 180;
width: 150px;
right: -30px;
}

Expand Down Expand Up @@ -1044,7 +1044,7 @@ h1, h2, h3, h4, h5, h6 {

#cyt-controls-header {
width: 100%;
height: 350px;
height: 320px;
}


Expand Down
79 changes: 42 additions & 37 deletions NetExplorer/templates/NetExplorer/netexplorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ <h4>Select Colors</h4>
</div>
<div id="node-not-found" style="display: none;"><div class="panel panel-danger"><div class="panel-heading node-not-found-err"> </div></div></div>
<hr>


<div id="layout-homologs-container">
<!-- Layout Selection-->
<div class="dropdown" id="select-layout-container">
Expand Down Expand Up @@ -408,6 +410,45 @@ <h4>Select Colors</h4>
<hr>
</div>

<!--- "On click" Behaviour -->
<div id="on-click-container">
<h3>On Click <a class="info-tooltip"
title="
This option will determine what happens when you click on a node.
<ul>
<li>Card: An information card for the node will appear.</li>
<li>Expand: All the elements interacting with the node will be added to the graph.</li>
<li>Delete: The node and all its interactions will be removed from the graph.</li>
</ul>
"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span></a></h3>

<fieldset>
<div class="switch-toggle switch-candy behaviour-div">
<form action="" id="behaviour-form">
<input id="radio-card" name="behaviour" type="radio" value="card" checked>
<label class="behaviour-btn" for="radio-card" onclick="">Card</label>
<input id="radio-expand" value="expand" name="behaviour" type="radio">
<label class="behaviour-btn" for="radio-expand" onclick="">Expand</label>
<input id="radio-delete" value="delete" name="behaviour" type="radio">
<label class="behaviour-btn" for="radio-delete" onclick="">Delete</label>
<a></a>
</form>
</div>
</fieldset>

<!--<input
class="click-behaviour"
checked type="checkbox"
data-toggle="toggle"
data-on="Show card"
data-off="Expand"
data-onstyle="info"
data-offstyle="success"
> -->
<hr>
</div>
<br>

<!-- SHOW CONNECTIONS -->
<div id="showconnections-container">
<button id="show_connections" class="btn btn-default btn-netexplorer">
Expand Down Expand Up @@ -504,43 +545,7 @@ <h3>Node Labels</h3>
</div>


<!--- "On click" Behaviour -->
<div id="on-click-container">
<h3>On Click <a class="info-tooltip"
title="
This option will determine what happens when you click on a node.
<ul>
<li>Card: An information card for the node will appear.</li>
<li>Expand: All the elements interacting with the node will be added to the graph.</li>
<li>Delete: The node and all its interactions will be removed from the graph.</li>
</ul>
"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span></a></h3>

<fieldset>
<div class="switch-toggle switch-candy behaviour-div">
<form action="" id="behaviour-form">
<input id="radio-card" name="behaviour" type="radio" value="card" checked>
<label class="behaviour-btn" for="radio-card" onclick="">Card</label>
<input id="radio-expand" value="expand" name="behaviour" type="radio">
<label class="behaviour-btn" for="radio-expand" onclick="">Expand</label>
<input id="radio-delete" value="delete" name="behaviour" type="radio">
<label class="behaviour-btn" for="radio-delete" onclick="">Delete</label>
<a></a>
</form>
</div>
</fieldset>

<!--<input
class="click-behaviour"
checked type="checkbox"
data-toggle="toggle"
data-on="Show card"
data-off="Expand"
data-onstyle="info"
data-offstyle="success"
> -->
<hr>
</div>


<div id="expression-container">
<h3>Show Expression Data <a class="info-tooltip" title="
Expand Down
4 changes: 2 additions & 2 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ h1, h2, h3, h4, h5, h6 {
.app-icon-inside {
position: relative;
margin-top: 4%;
width: 180;
width: 150px;
right: -30px;
}

Expand Down Expand Up @@ -1044,7 +1044,7 @@ h1, h2, h3, h4, h5, h6 {

#cyt-controls-header {
width: 100%;
height: 350px;
height: 320px;
}


Expand Down

0 comments on commit 8f1c3e9

Please sign in to comment.