Same hostname generation and customization as V3
This commit is contained in:
parent
7d0d07e928
commit
483622f430
7 changed files with 39 additions and 5 deletions
|
@ -191,6 +191,13 @@
|
|||
<input type="text" name="mempoolInstance" id="mempoolInstance" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="hostnamePrefix" class="col-sm-6 col-form-label col-form-label-sm">Hostname prefix</label>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" name="hostnamePrefix" id="hostnamePrefix" class="form-control">
|
||||
<div class="form-text">A restart is required to apply new hostname prefix.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class=" col-sm-6">
|
||||
<div class="form-check form-switch">
|
||||
|
|
|
@ -76,6 +76,7 @@ fetch('/api/settings', {
|
|||
document.getElementById('fullRefreshMin').value = jsonData.fullRefreshMin;
|
||||
document.getElementById('wpTimeout').value = jsonData.wpTimeout;
|
||||
document.getElementById('mempoolInstance').value = jsonData.mempoolInstance;
|
||||
document.getElementById('hostnamePrefix').value = jsonData.hostnamePrefix;
|
||||
|
||||
if (jsonData.gitRev)
|
||||
document.getElementById('gitRev').innerHTML = "Version: " + jsonData.gitRev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue