Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inputs to number one, to allow a better control. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,39 @@ <h4 class="card-title mt-2">PHP-FPM Process Calculator</h4>
<label class="control-label requiredField" for="ram-total">
Total Ram (Gb)
</label>
<input class="form-control" id="ram-total" name="ram-total" type="range" min="1" max="64" step="1" value="4" aria-readonly="true" readonly />
<input class="form-control" id="ram-total" name="ram-total" type="number" min="0" max="64" step="4" value="4" />
</div>
<div class="form-group ">
<label class="control-label requiredField" for="ram-total">
Reserved Ram (Gb)
</label>
<input class="form-control" id="ram-reserved" name="ram-reserved" type="range" min="0.25" max="64" step="0.25" value="1" aria-readonly="true" readonly />
<input class="form-control" id="ram-reserved" name="ram-reserved" type="number" min="0.25" max="64" step="0.25" value="1" />
</div>
<div class="form-group ">
<label class="control-label requiredField" for="ram-buffer">
RAM Buffer (%)
</label>
<div class="input-group">
<input class="form-control" id="ram-buffer" name="ram-buffer" type="range" min="0" max="100" step="1" value="10" aria-readonly="true" readonly />
<input class="form-control" id="ram-buffer" name="ram-buffer" type="number" min="0" max="100" step="1" value="10" />
</div>
</div>
<div class="form-group ">
<label class="control-label requiredField" for="process-size">
Process size (Mb)
</label>
<input class="form-control" id="process-size" name="process-size" type="range" min="1" max="1024" step="1" value="32" aria-readonly="true" readonly />
<input class="form-control" id="process-size" name="process-size" type="number" min="32" max="1024" step="32" value="32" />
</div>
<div class="form-group">
<label class="control-label " for="ram-available">
Available RAM (Gb)
</label>
<input class="form-control" id="ram-available" name="ram-available" type="text" aria-readonly="true" readonly />
<input class="form-control" id="ram-available" name="ram-available" type="text" />
</div>
<div class="form-group ">
<label class="control-label " for="ram-available-mb">
Available RAM (Mb)
</label>
<input class="form-control" id="ram-available-mb" name="ram-available-mb" type="text"aria-readonly="true" readonly />
<input class="form-control" id="ram-available-mb" name="ram-available-mb" type="text" />
</div>
<div class="form-group ">
<label class="control-label " for="max-children">
Expand Down