Commit 66ec951e authored by Aurélien Béliard's avatar Aurélien Béliard Committed by Mathieu Giraud
Browse files

index.html, js/model.js: allow the user to change .cloneNotationType

See #1765
parent 79fb0266
...@@ -191,6 +191,14 @@ ...@@ -191,6 +191,14 @@
<div class="buttonSelector" onclick="m.changeTimeFormat('sampling_date', true)"><input type="radio" name="time" value="sampling_date" >sampling date</input></div> <div class="buttonSelector" onclick="m.changeTimeFormat('sampling_date', true)"><input type="radio" name="time" value="sampling_date" >sampling date</input></div>
<div class="buttonSelector" onclick="m.changeTimeFormat('delta_date', true)"><input type="radio" name="time" value="delta_date">day after first sample</input></div> <div class="buttonSelector" onclick="m.changeTimeFormat('delta_date', true)"><input type="radio" name="time" value="delta_date">day after first sample</input></div>
</div> </div>
<div class="menu_box">
name notation</br>
<div class="buttonSelector" onclick="m.changeCloneNotation('nucleotide_number')"><input type="radio" name="show_name" value="nucleotide_number" checked>number of nucelotide</input>
</div>
<div class="buttonSelector" onclick="m.changeCloneNotation('short_sequence')"><input type="radio" name="show_name" value="short_sequence" >short sequence</input> </div>
<div class="buttonSelector" onclick="m.changeCloneNotation('full_sequence')"><input type="radio" name="show_name" value="full_sequence" >full sequence</input></div>
</div>
<!-- <!--
<div class="submenu" id="system_menu" style="display:none"> <div class="submenu" id="system_menu" style="display:none">
......
...@@ -277,6 +277,12 @@ Model.prototype = { ...@@ -277,6 +277,12 @@ Model.prototype = {
this.initData(); this.initData();
}, //end initClones }, //end initClones
changeCloneNotation: function(cloneNotationType) {
this.cloneNotationType = cloneNotationType;
this.update();
},
/** /**
* compute data_info who contain some meta-data for each "data" * compute data_info who contain some meta-data for each "data"
* */ * */
......
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