mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Fixed spinners after jquery-ui upgrade
This commit is contained in:
@@ -2334,4 +2334,9 @@ body {
|
|||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-spinner-input {
|
||||||
|
margin-top: .3em;
|
||||||
|
margin-bottom: .3em;
|
||||||
|
}
|
||||||
|
|||||||
@@ -355,7 +355,7 @@
|
|||||||
.Form-numberInputButton {
|
.Form-numberInputButton {
|
||||||
color: @default-icon!important;
|
color: @default-icon!important;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Form-dropDown {
|
.Form-dropDown {
|
||||||
|
|||||||
@@ -18,8 +18,16 @@ global.$ = global.jQuery;
|
|||||||
|
|
||||||
require('jquery-resize');
|
require('jquery-resize');
|
||||||
require('jquery-ui');
|
require('jquery-ui');
|
||||||
|
require('jquery-ui/ui/widgets/button');
|
||||||
|
require('jquery-ui/ui/widgets/spinner');
|
||||||
require('bootstrap');
|
require('bootstrap');
|
||||||
require('bootstrap-datepicker');
|
require('bootstrap-datepicker');
|
||||||
|
|
||||||
|
// jquery-ui and bootstrap both define $.fn.button
|
||||||
|
// the code below resolves that namespace clash
|
||||||
|
const btn = $.fn.button.noConflict();
|
||||||
|
$.fn.btn = btn;
|
||||||
|
|
||||||
require('select2');
|
require('select2');
|
||||||
|
|
||||||
// Standalone libs
|
// Standalone libs
|
||||||
|
|||||||
Reference in New Issue
Block a user