Small tweaks
- Update local webUI to refresh when joining server to clear modal - Updated client webUI page title - Re-added join modal to node page (client & server) - updated join modal to use node.nearbySystems
This commit is contained in:
@@ -256,7 +256,7 @@ function joinServer() {
|
||||
console.log(Http.status);
|
||||
console.log(responseObject);
|
||||
createToast(`${responseObject.name} will join shortly`, { showNow: true });
|
||||
$("#joinModal").modal('toggle');
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -134,5 +134,7 @@
|
||||
|
||||
<% // new System Modal %>
|
||||
<%- include("partials/modifySystemModal.ejs", {'system': "New System", 'frequencies': [], 'mode': ''}) %>
|
||||
<% // Join Server Modal %>
|
||||
<%- include("partials/joinModal.ejs", {'node': node}) %>
|
||||
<%- include('partials/bodyEnd.ejs') %>
|
||||
<%- include('partials/htmlFooter.ejs') %>
|
||||
@@ -24,7 +24,7 @@
|
||||
<div class="col-md-6">
|
||||
<label class="small mb-1" for="selectRadioPreset">Selected Preset:</label>
|
||||
<select class="custom-select" id="selectRadioPreset">
|
||||
<% for(const system in nearbySystems) { %>
|
||||
<% for(const system in node.nearbySystems) { %>
|
||||
<option value="<%=system%>"><%=system%></option>
|
||||
<% } %>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user