Commit cc5f2a84 authored by Penom Nom's avatar Penom Nom

update doc of quickstart with javascript file

parent e35922ca
docs/img/ng6-demo-project.png

324 KB | W: | H:

docs/img/ng6-demo-project.png

52.9 KB | W: | H:

docs/img/ng6-demo-project.png
docs/img/ng6-demo-project.png
docs/img/ng6-demo-project.png
docs/img/ng6-demo-project.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
$(function () {
$(".image-link").click(function() {
var img_href = $(this).attr('href') ;
var imgLoad = $("<img />")
.attr("src", img_href)
.attr('alt', 'Cannot display')
.unbind("load")
.bind("load", function () {
var imgwidth = ( this.width > 900 ) ? 900 : this.width ;
resize_center_btmodal('#ng6modal',imgwidth + 50 );
$("#modal-label-tmpl").html("NG6 <small> " + $("#analyse_name").val() + "</small>");
$("#modal-body-tmpl").html('<div id="img_container" '+
'style="overflow-x : auto"><img src="' + img_href + '" alt="Cannot display"></div>');
$("#modal-foot-tmpl").html('<button class="btn btn-default" ' +
'data-dismiss="modal" aria-hidden="true">' +
'<i class="glyphicon glyphicon-remove"></i> Close</button>');
$("#ng6modal").modal();
});
return false;
});
});
......@@ -18,8 +18,8 @@
{foreach from=$analyse_results_sorted key=sample item=sample_results}
<tr>
<td class="sample_name">{$sample|get_description:$descriptions}</td>
<td><a class="imglink" href="{$sample_results["pbqpng"].img}"> {$sample_results["pbqpng"].result} </a></td>
<td><a class="imglink" href="{$sample_results["pbspng"].img}"> {$sample_results["pbspng"].result} </a></td>
<td><a class="image-link" href="{$sample_results["pbqpng"].img}"> {$sample_results["pbqpng"].result} </a></td>
<td><a class="image-link" href="{$sample_results["pbspng"].img}"> {$sample_results["pbspng"].result} </a></td>
</tr>
{/foreach}
</tbody>
......
......@@ -1821,7 +1821,7 @@ function addRunHandler() {
$('#availableWorkflows').html("wait");
$('#setAndRunModal').modal();
$('#availableWorkflows').availablewf({
filters:["AddAnalysis", "AddProject", "AddFiles", "RADseq", "QuickStart"],
filters:["AddAnalysis", "AddProject", "AddFiles", "RADseq"],
serverURL: $("#server_url").val()
});
$('#availableWorkflows').on('select.availablewf', function(event, workflow) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment