mirror of
https://github.com/gusaul/grpcox.git
synced 2024-12-26 02:40:10 +00:00
fix ui
This commit is contained in:
parent
f4f617fa18
commit
4c008d1116
|
@ -7,6 +7,9 @@ body {
|
||||||
.pt-50 {
|
.pt-50 {
|
||||||
padding-top:50px;
|
padding-top:50px;
|
||||||
}
|
}
|
||||||
|
.w-120 {
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
.custom-pretty {
|
.custom-pretty {
|
||||||
border:none!important;
|
border:none!important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<div class="other-elem" id="choose-service" style="display: none">
|
<div class="other-elem" id="choose-service" style="display: none">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<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>
|
</div>
|
||||||
<select class="browser-default custom-select" id="select-service"></select>
|
<select class="browser-default custom-select" id="select-service"></select>
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
<div class="other-elem" id="choose-function" style="display: none">
|
<div class="other-elem" id="choose-function" style="display: none">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend">
|
<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>
|
</div>
|
||||||
<select class="browser-default custom-select" id="select-function"></select>
|
<select class="browser-default custom-select" id="select-function"></select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -58,7 +58,7 @@ $('#select-service').change(function(){
|
||||||
alert(res.error);
|
alert(res.error);
|
||||||
return;
|
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)));
|
$.each(res.data, (_, item) => $("#select-function").append(new Option(item.substr(selected.length) , item)));
|
||||||
$('#choose-function').show();
|
$('#choose-function').show();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user