Commit 2708b00b authored by Vidjil's avatar Vidjil

views/sample_set/*.html: bikeshed buttons

parent 7929765e
......@@ -68,7 +68,7 @@
{{else:}}
<!-- <span class="button2 inactive" onclick="db.call('sample_set/add')" title="you don't have permission to create new {{=helper.get_type_display()}}s"> add sample_set </span> -->
{{pass}}
<span class="button2 devel-mode" onclick="db.call('sample_set/stats', {'type': '{{=helper.get_type()}}', 'filter': '{{=request.vars['filter']}}'})">stats</span>
<span class="button2 devel-mode" onclick="db.call('sample_set/stats', {'type': '{{=helper.get_type()}}', 'filter': '{{=request.vars['filter']}}'})">preview / quality control</span>
</div>
<div class="db_block_right">
......
......@@ -6,9 +6,9 @@
<div>
{{ if request.vars['id']: }}
<h3>Compare samples from {{=helper.get_type_display()}} {{=get_sample_name(request.vars["id"])}}</h3>
<h3>Preview or compare samples from {{=helper.get_type_display()}} {{=get_sample_name(request.vars["id"])}}</h3>
{{ else: }}
<h3>Compare samples</h3>
<h3>Preview or compare samples</h3>
{{pass}}
<p>Select up to 10 samples to be compared.</p>
......@@ -102,8 +102,8 @@
</div>
<div class="db_block_right">
<span class="devel-mode button2" onclick="db.call('sample_set/multi_sample_stats', {'custom_result': db.getListInput('custom_result[]') })" >preview / quality control</span>
<span class="button2" onclick="myUrl.loadCustomUrl(db)" > see results </span>
<span class="devel-mode button2" onclick="db.call('sample_set/multi_sample_stats', {'custom_result': db.getListInput('custom_result[]') })" >stats</span>
</div>
</div>
......
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