parent
c1584d9a5b
commit
2f4a60c961
7 changed files with 17 additions and 17 deletions
|
@ -170,7 +170,7 @@
|
|||
|
||||
<div class="input-group">
|
||||
<input type="text" id="pMemory" name="memory" class="form-control" value="{{ old('memory') }}" />
|
||||
<span class="input-group-addon">MB</span>
|
||||
<span class="input-group-addon">MiB</span>
|
||||
</div>
|
||||
|
||||
<p class="text-muted small">The maximum amount of memory allowed for this container. Setting this to <code>0</code> will allow unlimited memory in a container.</p>
|
||||
|
@ -181,7 +181,7 @@
|
|||
|
||||
<div class="input-group">
|
||||
<input type="text" id="pSwap" name="swap" class="form-control" value="{{ old('swap', 0) }}" />
|
||||
<span class="input-group-addon">MB</span>
|
||||
<span class="input-group-addon">MiB</span>
|
||||
</div>
|
||||
|
||||
<p class="text-muted small">Setting this to <code>0</code> will disable swap space on this server. Setting to <code>-1</code> will allow unlimited swap.</p>
|
||||
|
@ -194,7 +194,7 @@
|
|||
|
||||
<div class="input-group">
|
||||
<input type="text" id="pDisk" name="disk" class="form-control" value="{{ old('disk') }}" />
|
||||
<span class="input-group-addon">MB</span>
|
||||
<span class="input-group-addon">MiB</span>
|
||||
</div>
|
||||
|
||||
<p class="text-muted small">This server will not be allowed to boot if it is using more than this amount of space. If a server goes over this limit while running it will be safely stopped and locked until enough space is available. Set to <code>0</code> to allow unlimited disk usage.</p>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<label for="memory" class="control-label">Allocated Memory</label>
|
||||
<div class="input-group">
|
||||
<input type="text" name="memory" data-multiplicator="true" class="form-control" value="{{ old('memory', $server->memory) }}"/>
|
||||
<span class="input-group-addon">MB</span>
|
||||
<span class="input-group-addon">MiB</span>
|
||||
</div>
|
||||
<p class="text-muted small">The maximum amount of memory allowed for this container. Setting this to <code>0</code> will allow unlimited memory in a container.</p>
|
||||
</div>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<label for="swap" class="control-label">Allocated Swap</label>
|
||||
<div class="input-group">
|
||||
<input type="text" name="swap" data-multiplicator="true" class="form-control" value="{{ old('swap', $server->swap) }}"/>
|
||||
<span class="input-group-addon">MB</span>
|
||||
<span class="input-group-addon">MiB</span>
|
||||
</div>
|
||||
<p class="text-muted small">Setting this to <code>0</code> will disable swap space on this server. Setting to <code>-1</code> will allow unlimited swap.</p>
|
||||
</div>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<label for="cpu" class="control-label">Disk Space Limit</label>
|
||||
<div class="input-group">
|
||||
<input type="text" name="disk" class="form-control" value="{{ old('disk', $server->disk) }}"/>
|
||||
<span class="input-group-addon">MB</span>
|
||||
<span class="input-group-addon">MiB</span>
|
||||
</div>
|
||||
<p class="text-muted small">This server will not be allowed to boot if it is using more than this amount of space. If a server goes over this limit while running it will be safely stopped and locked until enough space is available. Set to <code>0</code> to allow unlimited disk usage.</p>
|
||||
</div>
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
@if($server->memory === 0)
|
||||
<code>Unlimited</code>
|
||||
@else
|
||||
<code>{{ $server->memory }}MB</code>
|
||||
<code>{{ $server->memory }}MiB</code>
|
||||
@endif
|
||||
/
|
||||
@if($server->swap === 0)
|
||||
|
@ -86,7 +86,7 @@
|
|||
@elseif($server->swap === -1)
|
||||
<code data-toggle="tooltip" data-placement="top" title="Swap Space">Unlimited</code>
|
||||
@else
|
||||
<code data-toggle="tooltip" data-placement="top" title="Swap Space"> {{ $server->swap }}MB</code>
|
||||
<code data-toggle="tooltip" data-placement="top" title="Swap Space"> {{ $server->swap }}MiB</code>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Reference in a new issue