Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
6ce601be
Commit
6ce601be
authored
Mar 21, 2015
by
LE GAC Renaud
Browse files
Revert "Restore the debug URL .../track_teams?debug."
This reverts commit
ae849c73
.
parent
ae849c73
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
54 deletions
+3
-54
controllers/default.py
controllers/default.py
+1
-4
models/common_settings.py
models/common_settings.py
+2
-2
static/CHANGELOG
static/CHANGELOG
+0
-1
static/app.js
static/app.js
+0
-47
No files found.
controllers/default.py
View file @
6ce601be
""" 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
)
...
...
models/common_settings.py
View file @
6ce601be
...
...
@@ -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'
#-------------------------------------------------------------------------------
#
...
...
static/CHANGELOG
View file @
6ce601be
...
...
@@ -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.
...
...
static/app.js
deleted
100644 → 0
View file @
ae849c73
/**
* 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment