Skip to content
Snippets Groups Projects
Commit 74a9218e authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

fix slider width for value range selection in compounds list

Former-commit-id: 336907248c5fd6530c5a6fc30c7f50d9bee5ced1
parent 7d679b2f
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
<input id="{{ param_name }}" class="custom-range" type="range" min="{{ param_min }}" max="{{ param_max }}" value="{{ param_value }}" step="{{ step }}" onchange="$('#{{ param_name }}_textvalue').html($('#{{ param_name }}').val());"> <p>Current value: <code id="{{ param_name }}_textvalue">{{ param_value }}</code></p>
-->
<input id="{{ param_name }}" class="custom-range" type="text" value="" data-slider-min="{{ param_min }}" data-slider-max="{{ param_max }}"
data-slider-step="{{ step }}" data-slider-value="[{{ param_value_min|default:param_min }}, {{ param_value_max|default:param_max }}]" />
data-slider-step="{{ step }}" data-slider-value="[{{ param_value_min|default:param_min }}, {{ param_value_max|default:param_max }}]" style="width:100%"/>
<p>Current selection range: <code id="{{ param_name }}_textvalue_min">{{ param_value_min|default:param_min }}</code> to
<code id="{{ param_name }}_textvalue_max">{{ param_value_max|default:param_max }}</code></p>
<script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment