mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 18:34:28 +00:00
[Update] 修改select2 css (#2125)
* [Update] 修改select2 css * [Update] 创建资产选择节点时,关闭自动收起下拉列表
This commit is contained in:
@@ -86,6 +86,9 @@ $(document).ready(function () {
|
||||
allowClear: true,
|
||||
templateSelection: format
|
||||
});
|
||||
$('#id_nodes.select2').select2({
|
||||
closeOnSelect: false
|
||||
});
|
||||
$("#id_protocol").change(function (){
|
||||
var protocol = $("#id_protocol option:selected").text();
|
||||
var port = 22;
|
||||
|
@@ -34,8 +34,8 @@ th a {
|
||||
}
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #d2d2d2 !important;
|
||||
color: #333 !important;
|
||||
background-color: #1ab394 !important;
|
||||
/*color: #333 !important;*/
|
||||
}
|
||||
|
||||
.select2-selection--single,
|
||||
|
Reference in New Issue
Block a user