1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-25 18:10:11 +00:00
This commit is contained in:
aultokped 2018-11-05 10:57:30 +07:00
parent f4f617fa18
commit 4c008d1116
3 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,9 @@ body {
.pt-50 {
padding-top:50px;
}
.w-120 {
width: 120px;
}
.custom-pretty {
border:none!important;
}

View File

@ -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>&nbsp;&nbsp;Services</span>
<span class="input-group-text btn-dark w-120" for="select-service"><i class="fa fa-television"></i>&nbsp;&nbsp;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>&nbsp;&nbsp;Methods</span>
<span class="input-group-text btn-dark w-120" for="select-function"><i class="fa fa-rocket"></i>&nbsp;&nbsp;Methods</span>
</div>
<select class="browser-default custom-select" id="select-function"></select>
</div>

View File

@ -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();
},