|
@@ -77,7 +77,7 @@
|
|
|
<br><br>
|
|
|
</div>
|
|
|
<script>
|
|
|
- let fileServerServices = [];
|
|
|
+ var fileServerServices = [];
|
|
|
initServiceList();
|
|
|
|
|
|
function initServiceList(){
|
|
@@ -111,8 +111,9 @@
|
|
|
<div class="ui bottom attached ${messageDefaultColor} mini message">
|
|
|
<div class="ui toggle mini checkbox">
|
|
|
<input type="checkbox" ${checkboxDefaultState} onchange="updateCheckboxBackground(this, event);">
|
|
|
- <label>Connect via: <span fserv="${server.ID}" class="serviceConnEndpoints"></span></label>
|
|
|
+ <label>Toggle Service </label>
|
|
|
</div>
|
|
|
+ <p fserv="${server.ID}" class="serviceConnEndpoints"></p>
|
|
|
</div>`);
|
|
|
});
|
|
|
|
|
@@ -134,10 +135,6 @@
|
|
|
endpointHTML += `<i class="ui grey caret right icon"></i> <a class="clip" data-clipboard-text="${connURL}" style="cursor:pointer;" conn="${connURL}">${connURL}</a><br>`
|
|
|
});
|
|
|
|
|
|
- if (endpoints.length > 1){
|
|
|
- endpointHTML = "<br>" + endpointHTML;
|
|
|
- }
|
|
|
-
|
|
|
$(this).html(endpointHTML);
|
|
|
}
|
|
|
});
|