support fractional cpu and memory in calc and set better defaults
This commit is contained in:
parent
c0c27cd056
commit
83504f6b7c
2 changed files with 38 additions and 34 deletions
|
@ -219,11 +219,11 @@
|
|||
<div class="mb-4">
|
||||
<label for="cpuRange" class="form-label d-flex justify-content-between">
|
||||
<span>vCPUs</span>
|
||||
<span class="fw-bold" id="cpuValue">2</span>
|
||||
<span class="fw-bold" id="cpuValue">0.5</span>
|
||||
</label>
|
||||
<input type="range" class="form-range" id="cpuRange" min="1" max="32" value="2" step="1">
|
||||
<input type="range" class="form-range" id="cpuRange" min="0.25" max="32" value="0.5" step="0.25">
|
||||
<div class="d-flex justify-content-between text-muted small">
|
||||
<span id="cpuMinDisplay">1</span>
|
||||
<span id="cpuMinDisplay">0.25</span>
|
||||
<span id="cpuMaxDisplay">32</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -232,11 +232,11 @@
|
|||
<div class="mb-4">
|
||||
<label for="memoryRange" class="form-label d-flex justify-content-between">
|
||||
<span>Memory (GB)</span>
|
||||
<span class="fw-bold" id="memoryValue">4</span>
|
||||
<span class="fw-bold" id="memoryValue">1</span>
|
||||
</label>
|
||||
<input type="range" class="form-range" id="memoryRange" min="1" max="128" value="4" step="1">
|
||||
<input type="range" class="form-range" id="memoryRange" min="0.25" max="128" value="1" step="0.25">
|
||||
<div class="d-flex justify-content-between text-muted small">
|
||||
<span id="memoryMinDisplay">1 GB</span>
|
||||
<span id="memoryMinDisplay">0.25 GB</span>
|
||||
<span id="memoryMaxDisplay">128 GB</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue