mirror of
https://github.com/gusaul/grpcox.git
synced 2024-12-26 02:40:10 +00:00
Added TLS checkbox
This commit is contained in:
parent
c83858ebfc
commit
e7578eaed5
|
@ -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>
|
<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>
|
</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">
|
<div class="custom-control custom-checkbox">
|
||||||
<input type="checkbox" class="custom-control-input" id="restart-conn">
|
<input type="checkbox" class="custom-control-input" id="restart-conn">
|
||||||
<label class="custom-control-label" for="restart-conn">Restart Connection</label>
|
<label class="custom-control-label" for="restart-conn">Restart Connection</label>
|
||||||
|
|
|
@ -8,6 +8,9 @@ $('#get-services').click(function(){
|
||||||
if($('#restart-conn').is(":checked")) {
|
if($('#restart-conn').is(":checked")) {
|
||||||
restart = "1"
|
restart = "1"
|
||||||
}
|
}
|
||||||
|
if($('#use-tls').is(":checked")) {
|
||||||
|
use_tls = "true"
|
||||||
|
}
|
||||||
|
|
||||||
// determine whether the proto connection will use local proto or not
|
// determine whether the proto connection will use local proto or not
|
||||||
const use_proto = $('#local-proto').is(":checked");
|
const use_proto = $('#local-proto').is(":checked");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user