mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
changing tooltip delay to make them feel more responsive
This commit is contained in:
committed by
jaredevantabor
parent
e1edcc5e5a
commit
66e90075d4
@@ -26,7 +26,6 @@
|
|||||||
return {
|
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_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.
|
// 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_length: 8, // Minimum user password length. Set to 0 to not set a limit
|
||||||
password_hasLowercase: true, // require a lowercase letter in the password
|
password_hasLowercase: true, // require a lowercase letter in the password
|
||||||
|
|||||||
@@ -492,7 +492,10 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'JobsHelper'])
|
|||||||
.directive('awToolTip', [function() {
|
.directive('awToolTip', [function() {
|
||||||
return {
|
return {
|
||||||
link: function(scope, element, attrs) {
|
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,
|
placement,
|
||||||
stateChangeWatcher;
|
stateChangeWatcher;
|
||||||
if (attrs.awTipPlacement) {
|
if (attrs.awTipPlacement) {
|
||||||
|
|||||||
Reference in New Issue
Block a user