Show warning for a server's allocations if it's currently running
This commit is contained in:
parent
87a2fff3b7
commit
6ffb7fd7f6
2 changed files with 15 additions and 0 deletions
|
@ -129,6 +129,14 @@
|
|||
<h3 class="box-title">Allocation Management</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
@if ($currentState === 'running')
|
||||
<div class="alert alert-warning">
|
||||
Warning, your server is currently running.
|
||||
If you remove allocations without restarting,
|
||||
then you can run into issues using them elsewhere.
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="form-group">
|
||||
<label for="pAllocation" class="control-label">Game Port</label>
|
||||
<select id="pAllocation" name="allocation_id" class="form-control">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue