/* ______________________________________ ________| |_______ \ | SmartAdmin WebApp | / \ | Copyright © 2016 MyOrange | / / |______________________________________| \ /__________) (_________\ * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * ======================================================================= * SmartAdmin is FULLY owned and LICENSED by MYORANGE INC. * This script may NOT be RESOLD or REDISTRUBUTED under any * circumstances, and is only to be used with this purchased * copy of SmartAdmin Template. * ======================================================================= * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * ======================================================================= * original filename: app.config.js * filesize: 12kb * author: Sunny (@bootstraphunt) * email: info@myorange.ca * ======================================================================= * * GLOBAL ROOT (DO NOT CHANGE) */ $.root_ = $('body'); /* * APP CONFIGURATION (HTML/AJAX/PHP Versions ONLY) * Description: Enable / disable certain theme features here * GLOBAL: Your left nav in your app will no longer fire ajax calls, set * it to false for HTML version */ $.navAsAjax = false; /* * GLOBAL: Sound Config (define sound path, enable or disable all sounds) */ $.sound_path = "sound/"; $.sound_on = true; /* * SAVE INSTANCE REFERENCE (DO NOT CHANGE) * Save a reference to the global object (window in the browser) */ var root = this, /* * DEBUGGING MODE * debugState = true; will spit all debuging message inside browser console. * The colors are best displayed in chrome browser. */ debugState = false, debugStyle = 'font-weight: bold; color: #00f;', debugStyle_green = 'font-weight: bold; font-style:italic; color: #46C246;', debugStyle_red = 'font-weight: bold; color: #ed1c24;', debugStyle_warning = 'background-color:yellow', debugStyle_success = 'background-color:green; font-weight:bold; color:#fff;', debugStyle_error = 'background-color:#ed1c24; font-weight:bold; color:#fff;', /* * Impacts the responce rate of some of the responsive elements (lower * value affects CPU but improves speed) */ throttle_delay = 350, /* * The rate at which the menu expands revealing child elements on click */ menu_speed = 235, /* * Collapse current menu item as other menu items are expanded * Careful when using this option, if you have a long menu it will * keep expanding and may distrupt the user experience This is best * used with fixed-menu class */ menu_accordion = true, /* * Turn on JarvisWidget functionality * Global JarvisWidget Settings * For a greater control of the widgets, please check app.js file * found within COMMON_ASSETS/UNMINIFIED_JS folder and see from line 1355 * dependency: js/jarviswidget/jarvis.widget.min.js */ enableJarvisWidgets = true, /* * Use localstorage to save widget settings * turn this off if you prefer to use the onSave hook to save * these settings to your datatabse instead */ localStorageJarvisWidgets = true, /* * Turn off sortable feature for JarvisWidgets */ sortableJarvisWidgets = true, /* * Warning: Enabling mobile widgets could potentially crash your webApp * if you have too many widgets running at once * (must have enableJarvisWidgets = true) */ enableMobileWidgets = false, /* * Turn on fast click for mobile devices * Enable this to activate fastclick plugin * dependency: js/plugin/fastclick/fastclick.js */ fastClick = false, /* * SMARTCHAT PLUGIN ARRAYS & CONFIG * Dependency: js/plugin/moment/moment.min.js * js/plugin/cssemotions/jquery.cssemoticons.min.js * js/smart-chat-ui/smart.chat.ui.js * (DO NOT CHANGE BELOW) */ boxList = [], showList = [], nameList = [], idList = [], /* * Width of the chat boxes, and the gap inbetween in pixel (minus padding) */ chatbox_config = { width: 200, gap: 35 }, /* * These elements are ignored during DOM object deletion for ajax version * It will delete all objects during page load with these exceptions: */ ignore_key_elms = ["#header, #left-panel, #right-panel, #main, div.page-footer, #shortcut, #divSmallBoxes, #divMiniIcons, #divbigBoxes, #voiceModal, script, .ui-chatbox"], /* * VOICE COMMAND CONFIG * dependency: js/speech/voicecommand.js */ voice_command = true, /* * Turns on speech as soon as the page is loaded */ voice_command_auto = false, /* * Sets the language to the default 'en-US'. (supports over 50 languages * by google) * * Afrikaans ['af-ZA'] * Bahasa Indonesia ['id-ID'] * Bahasa Melayu ['ms-MY'] * Català ['ca-ES'] * Čeština ['cs-CZ'] * Deutsch ['de-DE'] * English ['en-AU', 'Australia'] * ['en-CA', 'Canada'] * ['en-IN', 'India'] * ['en-NZ', 'New Zealand'] * ['en-ZA', 'South Africa'] * ['en-GB', 'United Kingdom'] * ['en-US', 'United States'] * Español ['es-AR', 'Argentina'] * ['es-BO', 'Bolivia'] * ['es-CL', 'Chile'] * ['es-CO', 'Colombia'] * ['es-CR', 'Costa Rica'] * ['es-EC', 'Ecuador'] * ['es-SV', 'El Salvador'] * ['es-ES', 'España'] * ['es-US', 'Estados Unidos'] * ['es-GT', 'Guatemala'] * ['es-HN', 'Honduras'] * ['es-MX', 'México'] * ['es-NI', 'Nicaragua'] * ['es-PA', 'Panamá'] * ['es-PY', 'Paraguay'] * ['es-PE', 'Perú'] * ['es-PR', 'Puerto Rico'] * ['es-DO', 'República Dominicana'] * ['es-UY', 'Uruguay'] * ['es-VE', 'Venezuela'] * Euskara ['eu-ES'] * Français ['fr-FR'] * Galego ['gl-ES'] * Hrvatski ['hr_HR'] * IsiZulu ['zu-ZA'] * Íslenska ['is-IS'] * Italiano ['it-IT', 'Italia'] * ['it-CH', 'Svizzera'] * Magyar ['hu-HU'] * Nederlands ['nl-NL'] * Norsk bokmål ['nb-NO'] * Polski ['pl-PL'] * Português ['pt-BR', 'Brasil'] * ['pt-PT', 'Portugal'] * Română ['ro-RO'] * Slovenčina ['sk-SK'] * Suomi ['fi-FI'] * Svenska ['sv-SE'] * Türkçe ['tr-TR'] * български ['bg-BG'] * Pусский ['ru-RU'] * Српски ['sr-RS'] * 한국어 ['ko-KR'] * 中文 ['cmn-Hans-CN', '普通话 (中国大陆)'] * ['cmn-Hans-HK', '普通话 (香港)'] * ['cmn-Hant-TW', '中文 (台灣)'] * ['yue-Hant-HK', '粵語 (香港)'] * 日本語 ['ja-JP'] * Lingua latīna ['la'] */ voice_command_lang = 'it-IT', /* * Use localstorage to remember on/off (best used with HTML Version * when going from one page to the next) */ voice_localStorage = true; /* * Voice Commands * Defines voice command variables and functions */ if (voice_command) { var commands = { }; }; /* * END APP.CONFIG */