Commit acb311c7 by Kálmán Viktor

dashboard: add message for sliders in case of no JS

parent 52a7dc2a
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" class="vm-slider cpu-priority-slider" <input type="text" class="vm-slider cpu-priority-slider"
disabled value="{% trans "Enable JS for fancy sliders" %}"
data-slider="true" data-slider-highlight="true" data-slider-range="10, 100" data-slider="true" data-slider-highlight="true" data-slider-range="10, 100"
data-slider-values="0, 10, 30, 80, 100" data-slider-snap="true"/> data-slider-values="0, 10, 30, 80, 100" data-slider-snap="true"/>
</div> </div>
...@@ -26,6 +27,7 @@ ...@@ -26,6 +27,7 @@
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" class="vm-slider cpu-count-slider" <input type="text" class="vm-slider cpu-count-slider"
disabled value="{% trans "Enable JS for fancy sliders" %}"
data-slider="true" data-slider-highlight="true" data-slider-range="0, 10" data-slider="true" data-slider-highlight="true" data-slider-range="0, 10"
data-slider-step="true" data-slider-snap="true"/> data-slider-step="true" data-slider-snap="true"/>
</div> </div>
...@@ -45,6 +47,7 @@ ...@@ -45,6 +47,7 @@
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" class="vm-slider ram-slider" <input type="text" class="vm-slider ram-slider"
disabled value="{% trans "Enable JS for fancy sliders" %}"
data-slider="true" data-slider-highlight="true" data-slider-range="0, 8192" data-slider="true" data-slider-highlight="true" data-slider-range="0, 8192"
data-slider-step="128" data-slider-snap="true"/> data-slider-step="128" data-slider-snap="true"/>
</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 sign in to comment