Skip to content

Commit

Permalink
Merge branch 'master' into release_prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
cairijun committed Oct 22, 2014
2 parents 3c0fe9e + f2a0fe0 commit bbf7013
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ the prebuilt package of FLAME on the [releases page](https://github.com/igemsoft

### Manually build & install

If you prefer the hacker-way, you can build FLAME manually.
If you prefer the hacker-way, you can build FLAME manually. You can build FLAME on Linux, MacOS and Windows
with a proper build toolchain.

1. Build dependencies
(the development packages of them are required. E.g. `boost-devel`, `libev-devel` and `python-devel` on openSUSE)
Expand Down
15 changes: 13 additions & 2 deletions server/static/css/simulation.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,21 @@ body {
margin: 0;
}

.adjust_button {
width: 15%;
margin: 3px 0 3px 0;
padding: 0;
outline: none;
background-color: transparent;
border: none;
}

.left.arrow.icon, .right.arrow.icon {
display: block;
width: 15%;
margin: 3px 0 3px 0;
width: 100%;
color: white;
margin: 0;
font-size: 16px;
}

.left.arrow.icon:hover, .right.arrow.icon:hover {
Expand Down
5 changes: 3 additions & 2 deletions server/static/js/shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ $(document).ready(function() {
});

$("#change").find("[name='device']").click(function() {
$("#slider").show();
$(this).parent().children().removeClass("active");
$(this).addClass("active");
$(".shape").shape('set next side', '.device.side').shape('flip right');
$("#slider").show();
});
$("#change").find("[name='parts']").click(function() {
$("#slider").hide();
Expand All @@ -63,13 +63,14 @@ $(document).ready(function() {
$(".shape").shape('set next side', '.parts.side').shape('flip right');
});
$("#change").find("[name='vector']").click(function() {
$("#slider").show();
$(this).parent().children().removeClass("active");
$(this).addClass("active");
$(".shape").shape('set next side', '.vector.side').shape('flip right');
$("#slider").show();
});
$("#change").find("[name='dna']").click(function() {
$("#slider").hide();
$("#information").hide();
$(this).parent().children().removeClass("active");
$(this).addClass("active");
$(".shape").shape('set next side', '.dna.side').shape('flip right');
Expand Down
10 changes: 5 additions & 5 deletions server/static/js/simulation-ctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ function SetCircuits () {
'<tr class="adjust_line">' +
'<td class="main_parts"><div class="mid_line"></div></td>' +
'<td class="adjust_part">' +
'<i class="left arrow icon"></i>' +
'<button class="adjust_button"><i class="left arrow icon"></i></button>' +
'<input name="RIPS" class="adjust_input" type="range" min="0" max="53" step="1" value="' +
recordAdjustValues[curCircuit]['circuitRBS'][curLogic][m] + '"/>' +
'<output for="RIPS"></output>' +
'<i class="right arrow icon"></i>' +
'<output for="RIPS"></output>' +
'<button class="adjust_button"><i class="right arrow icon"></i><buttpn>' +
'</td>' +
'</tr>'
);
Expand Down Expand Up @@ -345,13 +345,13 @@ $(AdjustRBS = function() {
$(SelectRBS = function() {
ShowOutput();
$('.left.arrow.icon').unbind('click').bind('click', function() {
var input = $(this).parent().find('input[type=range]');
var input = $(this).parent().parent().find('input[type=range]');
if (input.val() > 0) {
input.val(parseInt(input.val()) -1).change().mouseup();
}
});
$('.right.arrow.icon').unbind('click').bind('click', function() {
var input = $(this).parent().find('input[type=range]');
var input = $(this).parent().parent().find('input[type=range]');
if (input.val() < 53) {
input.val(parseInt(input.val()) +1).change().mouseup();
}
Expand Down
2 changes: 1 addition & 1 deletion server/templates/experiment.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
to 20 μL with dH2O.Salt conditions for double digestion. Useful enzyme combinations for digesting
BioBrick parts with their optimal buffer and what the digestion produces. All five reactions are
optimal at 37°C<br /><br /></p>
<table id="mytable" class="table table-bordered table-hover" style="" align="center">
<table id="mytable" class="ui table table-bordered table-hover" style="" align="center">
<caption><b>Table 1</b></caption>
<tr>
<th colspan="2"><b>Restriction enzymes</b></th>
Expand Down

0 comments on commit bbf7013

Please sign in to comment.