Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 6ce601be authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Revert "Restore the debug URL .../track_teams?debug."

This reverts commit ae849c73.
parent ae849c73
""" Controllers """
# @auth.requires_login()
@auth.requires_login()
def index():
"""Main Controller to run the application launching the plugin dbui.
......@@ -18,9 +18,6 @@ def index():
# no login procedure
else:
session.role = ADMIN
if 'debug' in request.vars:
return LOAD('plugin_dbui', 'debug', vars=request.vars)
return LOAD('plugin_dbui', 'index', vars=request.vars)
......
......@@ -19,8 +19,8 @@ plugins = PluginManager()
plugins.dbui.app_css = 'static/my.css'
#plugins.dbui.app_js_dir = None
#plugins.dbui.app_libmin = None
plugins.dbui.app_script = 'static/app.js'
# plugins.dbui.app_script_dir = None
#plugins.dbui.app_script = None
plugins.dbui.app_script_dir = 'static/scripts'
#-------------------------------------------------------------------------------
#
......
......@@ -3,7 +3,6 @@
HEAD
- Migrate to plugin_dbui 0.6.1.14 and Web2py 2.9.11.
- Restore the metric reports using Ext.grid.Panel.
- Restore the debug URL .../track_teams?debug.
1dec53b (Mar 14)
- Migrate to plugin_dbui 0.6.1.0 and Web2py 2.9.5.
......
/**
* Default script to configure and launch the web application
*
*/
// Activate the dynamic loading for Ext JS and application classes
if (App.debug) {
Ext.Loader.setConfig({
disableCaching: false,
enabled: true,
paths: {
'App': '/' + App.name + '/static/plugin_dbui/src',
'Ext': '/' + App.name + '/static/plugin_extjs/src'
}
});
}
Ext.require('App.container.Viewport');
Ext.require('App.plugin.MathJax');
Ext.require('Ext.direct.Manager');
Ext.require('Ext.direct.RemotingProvider');
Ext.require('Ext.EventManager');
Ext.require('Ext.tip.QuickTipManager');
Ext.onReady(function(){
"use strict";
var app;
Ext.QuickTips.init();
// Expose the remote methods
Ext.direct.Manager.addProvider(App.REMOTE_API);
// define the models
App.defineModels();
// Close user session on the server.
// Action trigger when the page is refreshed or when the tab is closed.
// NOTE: It should work when the browser is closed to.
// Not working with FireFox 17.0.8, web2py 2.4.5 and Ext JS 3.4.0.
Ext.EventManager.on(window, 'beforeunload', App.closeUserSession);
// Instantiate the application
app = Ext.create('App.container.Viewport', App.config.viewport);
});
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment