diff options
Diffstat (limited to 'wqflask/wqflask/templates/marker_regression_gn1.html')
-rw-r--r-- | wqflask/wqflask/templates/marker_regression_gn1.html | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html index 11989ae7..767befd8 100644 --- a/wqflask/wqflask/templates/marker_regression_gn1.html +++ b/wqflask/wqflask/templates/marker_regression_gn1.html @@ -20,7 +20,6 @@ {% endfor %} <input type="hidden" name="maf"> <input type="hidden" name="selected_chr" value="{{ selectedChr }}"> - <input type="hidden" name="mb_range" value="{{ startMb|string + "," + endMb|string }}"> <input type="hidden" name="manhattan_plot"> <input type="hidden" name="num_perm"> <input type="hidden" name="do_control" value="{{ doControl }}"> @@ -41,7 +40,7 @@ {% endif %} </div> <div id="gn1_map_options" class="col-xs-5" style="border:2px solid black; padding: 10px; margin: 10px;"> - <div class="col-xs-7" style="padding-left: 0px;"> + <div class="col-xs-9" style="padding-left: 0px;"> <table> <tr> <td><b>Chr: </b></td> @@ -51,13 +50,19 @@ <option value="{{ chr[1] }}">{{ chr[0] }}</option> {% endfor %} </select> - <button type="button" class="btn btn-primary">Remap</button> + <button type="button" class="btn btn-primary" style="padding-bottom: 2px; padding-top: 2px;" onclick="javascript:remap();">Remap</button> </td> </tr> <tr> <td><b>View: </b></td> <td> - <input type="text" name="startMb" + <input type="text" name="startMb" size="10"> to <input type="text" name="endMb" size="10"> + </td> + </tr> + <tr> + <td><b>Width: </b></td> + <td> + <input type="text" name="graphWidth" value="1600" size="5"> </td> </tr> </table> @@ -213,10 +218,10 @@ $('div#gn1_map_options').show(); }); - }); + }); chrView = function(this_chr, chr_mb_list) { - $('input[name=selected_chr]').val(this_chr + 1) + $('input[name=selected_chr]').val(this_chr) $('input[name=chr_mb_list]').val(chr_mb_list) return $('#marker_regression_form').submit(); @@ -231,6 +236,11 @@ return $('#marker_regression_form').submit(); }; + remap = function() { + $('input[name=selected_chr]').val($('select[name=chromosomes]').val()); + return $('#marker_regression_form').submit(); + }; + </script> {% endblock %} |