1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-25 09:50:10 +00:00

Added TLS checkbox

This commit is contained in:
Cesar Guirao 2021-07-23 09:41:02 -07:00
parent c83858ebfc
commit e7578eaed5
2 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,11 @@
<button id="get-services" class="btn btn-mdb-color waves-effect m-0" type="button"><i class="fa fa-plug"></i></button>
</div>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="use-tls">
<label class="custom-control-label" for="use-tls">Use TLS</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="restart-conn">
<label class="custom-control-label" for="restart-conn">Restart Connection</label>

View File

@ -8,6 +8,9 @@ $('#get-services').click(function(){
if($('#restart-conn').is(":checked")) {
restart = "1"
}
if($('#use-tls').is(":checked")) {
use_tls = "true"
}
// determine whether the proto connection will use local proto or not
const use_proto = $('#local-proto').is(":checked");