Commit f79e08f2 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Untangles media/static and use static tag

parent 84a345f9
Pipeline #8675792 passed with stage
in 2 minutes and 15 seconds

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>xiNET | Rappsilber Laboratory</title>
<link rel="stylesheet" href="./css/xiNET.css">
<link rel="stylesheet" href="./css/bootstrap.css">
<link rel="stylesheet" href="./css/flat-ui.css" >
<link rel="stylesheet" href="./css/demo.css">
<!--libraries-->
<script type="text/javascript" src="./lib/d3.js"></script>
<script type="text/javascript" src="./lib/colorbrewer.js"></script>
<script type="text/javascript" src="./lib/jsdas.js"></script>
<script type="text/javascript" src="./lib/Blob.js"></script>
<script type="text/javascript" src="./lib/FileSaver.js"></script>
<script type="text/javascript" src="./lib/rgbcolor.js"></script>
<script type="text/javascript" src="./lib/prototype.js"></script>
<script type="text/javascript" src="./lib/slider.js"></script>
<!--xiNET-->
<script type="text/javascript" src="./js/controller/Init.js"></script>
<script type="text/javascript" src="./js/controller/MouseEvents.js"></script>
<script type="text/javascript" src="./js/controller/Layout.js"></script>
<script type="text/javascript" src="./js/controller/Refresh.js"></script>
<script type="text/javascript" src="./js/controller/ToolTips.js"></script>
<script type="text/javascript" src="./js/model/Match.js"></script>
<script type="text/javascript" src="./js/model/Link.js"></script>
<script type="text/javascript" src="./js/model/Protein.js"></script>
<script type="text/javascript" src="./js/model/Protein_printAnnotationInfo.js"></script>
<script type="text/javascript" src="./js/model/Annotations.js"></script>
<script type="text/javascript" src="./js/model/ProteinLink.js"></script>
<script type="text/javascript" src="./js/model/ResidueLink.js"></script>
<script type="text/javascript" src="./js/controller/ExternalControls.js"></script>
<script type="text/javascript" src="./js/controller/Rotator.js"></script>
<script type="text/javascript" src="./js/controller/DASUtil.js"></script>
<script type="text/javascript" src="./js/controller/ReadCSV.js"></script>
</head>
<body>
<div id="outerDiv">
<div class="controls">
<button class="btn btn-inverse help" onclick="toggleHelpPanel()">Help</button>
<button class="btn btn-inverse exportsvg" onclick="xlv.exportSVG('networkSVG');">Export Graphic</button>
<button class="btn btn-inverse autolayout" onclick="xlv.autoLayout();">Auto Layout</button>
<button class="btn btn-inverse resetzoom" onclick="xlv.resetZoom();">Reset Zoom</button>
<div class="controlGroup" id="scoreSlider" >
<p class="scoreLabel" id="scoreLabel1"></p>
<div id="track1" class="sliderbar">
<div class="selected" id="handle1"></div>
</div> <!-- track1 sliderbar -->
<p class="scoreLabel" id="scoreLabel2"></p>
<p id="debug1">&nbsp;&nbsp;Score Cut-Off:</p>
</div> <!-- outlined scoreSlider -->
<div class="controlGroup"><p>Self-links&nbsp;
<input checked="checked" id="internal" onclick=
"xlv.hideInternal(!document.getElementById('internal').checked)"
type="checkbox"></p>
</div>
<div class="controlGroup"><p>Ambiguous&nbsp;
<input checked="checked" id="ambig" onclick=
"xlv.hideAmbig(!document.getElementById('ambig').checked)"
type="checkbox"></p>
</div>
</div>
<div id="networkContainer"></div>
<div class="overlay overlay-box" id="helpPanel">
<table class="hor-minimalist-a" bordercolor="#eee" >
<tr>
<td>Toggle between circle and bar</td>
<td>Click on protein</td>
</tr>
<tr>
<td>Zoom</td>
<td>Mouse wheel</td>
</tr>
<tr>
<td>Pan</td>
<td>Click and drag on background</td>
</tr>
<tr>
<td>Move protein</td>
<td>Click and drag on protein</td>
</tr>
<tr>
<td>Expand bar</td>
<td>Shift_left-click on protein</td>
</tr>
<tr>
<td>Rotate bar</td>
<td>Hover over end of bar; drag handle</td>
</tr>
<tr>
<td>Hide/show protein (and links to it)</td>
<td>Right-click on protein</td>
</tr>
<tr>
<td>Hide/show links between proteins</td>
<td>Right click on link</td>
</tr>
<tr>
<td>Flip side for self-links</td>
<td>Right-click on self-link</td>
</tr>
</table>
<p>&nbsp;</p>
<p>Tip: To change the size of proteins in relation to the size of
the page press Ctrl/- or Ctrl/+.
(This zooms the browser, on a Mac its Cmd/- or Cmd/+.)
</p>
</div>
</div>
<div class="info overlay-box" id="infoPanel">
<div>
<button class="btn btn-inverse" id="infoButton" onclick="toggleInfoPanel()">Show More&#x25B2</button>
<div id="networkCaption">
<h5>No Selection.</h5>
</div>
</div>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
document.onkeypress = function (e) {
//~ //e = e || window.event;
//~ //alert(e.keyCode);
xlv.exportSVG('networkSVG');
};
var targetDiv = document.getElementById('networkContainer');
var messageDiv = document.getElementById('networkCaption');
xlv = new xiNET.Controller(targetDiv);
xlv.setMessageElement(messageDiv);
d3.text('./data/Pol2.csv', "text/csv", function(text) {
xlv.readCSV(text);
});
function initSlider(){
if (xlv.scores != null){
document.getElementById('scoreLabel1').innerHTML = xlv.scores.min.toFixed(2);
document.getElementById('scoreLabel2').innerHTML = xlv.scores.max.toFixed(2) + '&nbsp;&nbsp;';