mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
changing tooltip delay to make them feel more responsive
This commit is contained in:
parent
e1edcc5e5a
commit
66e90075d4
@ -26,7 +26,6 @@
|
||||
return {
|
||||
// custom_logo: true // load /var/lib/awx/public/static/assets/custom_console_logo.png as the login modal header. if false, will load the standard tower console logo
|
||||
// custom_login_info: "example notice" // have a notice displayed in the login modal for users. note that, as a security measure, custom html is not supported and will be escaped.
|
||||
tooltip_delay: { show: 500, hide: 100 }, // Default number of milliseconds to delay displaying/hiding tooltips
|
||||
|
||||
password_length: 8, // Minimum user password length. Set to 0 to not set a limit
|
||||
password_hasLowercase: true, // require a lowercase letter in the password
|
||||
|
@ -492,7 +492,10 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'JobsHelper'])
|
||||
.directive('awToolTip', [function() {
|
||||
return {
|
||||
link: function(scope, element, attrs) {
|
||||
var delay = (attrs.delay !== undefined && attrs.delay !== null) ? attrs.delay : ($AnsibleConfig) ? $AnsibleConfig.tooltip_delay : { show: 500, hide: 100 },
|
||||
// if (attrs.class.indexOf("JobResultsStdOut") > -1) {
|
||||
// debugger;
|
||||
// }
|
||||
var delay = { show: 200, hide: 0 },
|
||||
placement,
|
||||
stateChangeWatcher;
|
||||
if (attrs.awTipPlacement) {
|
||||
|
Loading…
Reference in New Issue
Block a user