Added DNS to setup configuration and about page

This commit is contained in:
2023-06-12 23:41:25 +10:00
parent ccf01a1b23
commit 530c9cbd46
3 changed files with 23 additions and 6 deletions

View File

@@ -160,12 +160,28 @@ use App\Models\Setup;
<!-- EMSI Settings -->
<div class="col-6">
<h3>EMSI Settings</h3>
<p>EMSI has been configured to listen on <strong>{{ Setup::EMSI_BIND }}</strong>:<strong>{{ Setup::EMSI_PORT }}</strong></p>
<div class="row">
<div class="col-12">
<h3>EMSI Settings</h3>
<p>EMSI has been configured to listen on <strong>{{ Setup::EMSI_BIND }}</strong>:<strong>{{ Setup::EMSI_PORT }}</strong></p>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="startemsi" name="options[emsi]" value="{{ Setup::O_EMSI }}" @if(old('options.emsi',$o->optionGet(Setup::O_EMSI))) checked @endif>
<label class="form-check-label" for="startemsi">Listen for EMSI connections</label>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="startemsi" name="options[emsi]" value="{{ Setup::O_EMSI }}" @if(old('options.emsi',$o->optionGet(Setup::O_EMSI))) checked @endif>
<label class="form-check-label" for="startemsi">Listen for EMSI connections</label>
</div>
</div>
</div>
<div class="row pt-5">
<div class="col-12">
<h3>DNS Settings</h3>
<p>DNS has been configured to listen on <strong>{{ Setup::DNS_BIND }}</strong>:<strong>{{ Setup::DNS_PORT }}</strong></p>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="startdns" name="options[dns]" value="{{ Setup::O_DNS }}" @if(old('options.dns',$o->optionGet(Setup::O_DNS))) checked @endif>
<label class="form-check-label" for="startdns">Listen for DNS connections</label>
</div>
</div>
</div>
</div>
</div>