|
|
@@ -27,20 +27,23 @@
|
|
|
<i data-title="{$MGLANG->T($rawObject->getDescription())}" data-toggle="lu-tooltip" class="lu-i-c-2x lu-zmdi lu-zmdi-help-outline lu-form-tooltip-helper"></i>
|
|
|
{/if}
|
|
|
{if $rawObject->isOutputVisible()}
|
|
|
- <output id="output{$rawObject->getId()}" class="lu-range-output" for="{$rawObject->getId()}">
|
|
|
+ <output id="output{$rawObject->getName()}" class="lu-range-output" for="{$rawObject->getName()}">
|
|
|
{$rawObject->getOutputLabel()}
|
|
|
</output>
|
|
|
{/if}
|
|
|
</label>
|
|
|
<input type="range"
|
|
|
- id="{$rawObject->getId()}"
|
|
|
- name="{$rawObject->getName()}" min="{$rawObject->getMinValue()}"
|
|
|
+ id="{$rawObject->getName()}"
|
|
|
+ name="{$rawObject->getName()}"
|
|
|
+ min="{$rawObject->getMinValue()}"
|
|
|
max="{$rawObject->getMaxValue()}"
|
|
|
{if $rawObject->getName() == "memory"}
|
|
|
step="512"
|
|
|
-
|
|
|
+ {elseif $rawObject->getName() == "disk" || $rawObject->getName() == "additionalDiskSize"}
|
|
|
+ step="5"
|
|
|
+ {/if}
|
|
|
{if $rawObject->isOutputVisible()}
|
|
|
- oninput="output{$rawObject->getId()}.value={$rawObject->getId()}.value"
|
|
|
+ oninput="output{$rawObject->getName()}.value={$rawObject->getName()}.value"
|
|
|
{/if}
|
|
|
value="{$rawObject->getValue()}" {if $rawObject->isDisabled()}disabled="disabled"{/if}
|
|
|
{foreach $htmlAttributes as $aValue} {$aValue@key}="{$aValue}" {/foreach}>
|