Files
awx/awx/ui/static/js/config.js

27 lines
1.3 KiB
JavaScript

/************************************
*
* Copyright (c) 2013 AnsibleWorks, Inc.
*
* config.js
*
* Gobal configuration variables for controlling application behavior.
*
*/
var $AnsibleConfig =
{
tooltip_delay: {show: 500, hide: 100}, // Default number of milliseconds to delay displaying/hiding tooltips
debug_mode: true, // Enable console logging messages
refresh_rate: 10, // Number of seconds before refreshing a page. Integer between 3 and 99, inclusive.
// Used by awRefresh directive to automatically refresh Jobs and Projects pages.
password_strength: 45 // User password strength. Integer between 0 and 100, 100 being impossibly strong.
// This value controls progress bar colors:
// 0 to password_strength - 15 = red;
// password_strength - 15 to password_strength = yellow
// > password_strength = green
// It also controls password validation. Passwords are rejected if the score is not > password_strength.
}