Fix database management things to actually work correctly.
This commit is contained in:
parent
580e5ac569
commit
63e39fbe58
14 changed files with 124 additions and 119 deletions
|
@ -117,7 +117,7 @@
|
|||
<div class="form-group">
|
||||
<label for="pNodeId" class="form-label">Linked Node</label>
|
||||
<select name="node_id" id="pNodeId" class="form-control">
|
||||
<option value="0">None</option>
|
||||
<option value="null">None</option>
|
||||
@foreach($locations as $location)
|
||||
<optgroup label="{{ $location->short }}">
|
||||
@foreach($location->nodes as $node)
|
||||
|
|
|
@ -91,8 +91,8 @@
|
|||
<form action="{{ route('admin.servers.view.database', $server->id) }}" method="POST">
|
||||
<div class="box-body">
|
||||
<div class="form-group">
|
||||
<label for="pDatabaseHost" class="control-label">Database Host</label>
|
||||
<select id="pDatabaseHost" name="host" class="form-control">
|
||||
<label for="pDatabaseHostId" class="control-label">Database Host</label>
|
||||
<select id="pDatabaseHostId" name="database_host_id" class="form-control">
|
||||
@foreach($hosts as $host)
|
||||
<option value="{{ $host->id }}">{{ $host->name }}</option>
|
||||
@endforeach
|
||||
|
@ -107,8 +107,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="pConnections" class="control-label">Connections</label>
|
||||
<input id="pConnections" type="text" name="connection" class="form-control" placeholder="%" value="%" />
|
||||
<label for="pRemote" class="control-label">Connections</label>
|
||||
<input id="pRemote" type="text" name="remote" class="form-control" value="%" />
|
||||
<p class="text-muted small">This should reflect the IP address that connections are allowed from. Uses standard MySQL notation. If unsure leave as <code>%</code>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue