Fix front and backend views with new service variable setups
This commit is contained in:
parent
66e94dd7c0
commit
fcadee7e67
14 changed files with 104 additions and 93 deletions
|
@ -62,10 +62,7 @@
|
|||
</div>
|
||||
<div class="box-body">
|
||||
<label for="pStartup" class="form-label">Startup Command</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon bg-gray">{{ $server->option->display_executable }}</span>
|
||||
<input id="pStartup" name="startup" class="form-control" type="text" value="{{ old('startup', $server->startup) }}" />
|
||||
</div>
|
||||
<input id="pStartup" name="startup" class="form-control" type="text" value="{{ old('startup', $server->startup) }}" />
|
||||
<p class="small text-muted">Edit your server's startup command here. The following variables are available by default: <code>@{{SERVER_MEMORY}}</code>, <code>@{{SERVER_IP}}</code>, and <code>@{{SERVER_PORT}}</code>.</p>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
|
@ -91,7 +88,7 @@
|
|||
</div>
|
||||
<div class="box-footer">
|
||||
<p class="no-margin text-muted small"><strong>Startup Command Variable:</strong> <code>{{ $variable->env_variable }}</code></p>
|
||||
<p class="no-margin text-muted small"><strong>Verification Regex:</strong> <code>{{ $variable->regex }}</code></p>
|
||||
<p class="no-margin text-muted small"><strong>Input Rules:</strong> <code>{{ $variable->rules }}</code></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<select name="options[]" class="pOptions form-control" multiple>
|
||||
<option value="user_viewable" {{ (! $variable->user_viewable) ?: 'selected' }}>Users Can View</option>
|
||||
<option value="user_editable" {{ (! $variable->user_editable) ?: 'selected' }}>Users Can Edit</option>
|
||||
<option value="required" {{ (! $variable->required) ?: 'selected' }}>Field Is Required</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
@ -135,7 +134,6 @@
|
|||
<select name="options[]" class="pOptions form-control" multiple>
|
||||
<option value="user_viewable">Users Can View</option>
|
||||
<option value="user_editable">Users Can Edit</option>
|
||||
<option value="required">Field Is Required</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue