config.js

debug = 1;
// Project and indexedDB name - NO SPACE !
cyProject = "CYJS-Demo";
// Min window size to display permanent sidemanu
// Must be equal to max-width in media screen section in style.css
cyMinWindowWidth = 1200;
// Small sidemenu width
//cySideMenuSmallWidth = "62px";
// Auto sidemenu when window resizing
//cySideMenuAuto = true;
// Default language
cyLang = 'en';
// Path to app relative to vhost, empty if CYJS on vhost home
cyPath = '/cyjsdemo';
// Default page - REQUIRED
cyDefaultPage = 'cyjsui';
// Cache enabled
// cyCache = true;
// Default delay for alert autofade
// cyAlertDelay = 0;
// Login function
CYLoginFct = function()
{
    CYLoadPage('login', 'IDmain');
    // Default: no login, direct page access
    //CYLogin('MyUsername');
    //CYLoadPage(cyDefaultPage);
    // Pages preloading
    CYLoadPage('cyjstables', 'dummy');
    CYLoadPage('cyjscalendar', 'dummy');
    CYLoadPage('cyjscrm', 'dummy');
    CYLoadPage('myfirstpage', 'dummy');
};
// Main web service
cyWebSvc = "/php/websvc.php"
// Cache enabled
//cyCache = true;
// Sync enabled
//cySync = true;
// Default delay for alert autofade
cyAlertDelay = 2000;
// Tooltip display duration
//cyTooltipDuration = 5000;
// Keepalive - 0 to disable, default is 30s
cyKeepAlive = 10000;
// CSS patterns
//cyCSS.Font = "Varela Round";
//cyCSS.AltBackgroundColor = "#f5f5f5";
//cyCSS.BackgroundColor = "#007fff";
//cyCSS.BorderColor = "#ccc";
//cyCSS.ButtonBackgroundColor = "#eee";
//cyCSS.InputShadow = "#38c";
//cyCSS.InputBackgroundColor = "#fff";
//cyCSS.TextColor = "#333333";
//cyCSS.ReverseTextColor = "#fff";
debug && console.log('config.js loaded');