mirror of
https://github.com/gusaul/grpcox.git
synced 2024-11-17 06:26:56 +00:00
commit
394458e552
|
@ -7,6 +7,9 @@ body {
|
|||
.pt-50 {
|
||||
padding-top:50px;
|
||||
}
|
||||
.w-120 {
|
||||
width: 120px;
|
||||
}
|
||||
.custom-pretty {
|
||||
border:none!important;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<div class="other-elem" id="choose-service" style="display: none">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text btn-dark" for="select-service"><i class="fa fa-television"></i> Services</span>
|
||||
<span class="input-group-text btn-dark w-120" for="select-service"><i class="fa fa-television"></i> Services</span>
|
||||
</div>
|
||||
<select class="browser-default custom-select" id="select-service"></select>
|
||||
</div>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<div class="other-elem" id="choose-function" style="display: none">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text btn-dark" for="select-function"><i class="fa fa-rocket"></i> Methods</span>
|
||||
<span class="input-group-text btn-dark w-120" for="select-function"><i class="fa fa-rocket"></i> Methods</span>
|
||||
</div>
|
||||
<select class="browser-default custom-select" id="select-function"></select>
|
||||
</div>
|
||||
|
|
|
@ -58,7 +58,7 @@ $('#select-service').change(function(){
|
|||
alert(res.error);
|
||||
return;
|
||||
}
|
||||
$("#select-function").html(new Option("Choose Methods", ""));
|
||||
$("#select-function").html(new Option("Choose Method", ""));
|
||||
$.each(res.data, (_, item) => $("#select-function").append(new Option(item.substr(selected.length) , item)));
|
||||
$('#choose-function').show();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user