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
limbra
limbra
Commits
868fde83
Commit
868fde83
authored
Jun 24, 2016
by
LE GAC Renaud
Browse files
Migrate to the new namespace for plugin_dbui (0.9.0).
parent
db572876
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
static/app.js
static/app.js
+11
-11
static/limbra/src/wizard/Harvester.js
static/limbra/src/wizard/Harvester.js
+2
-2
views/harvest/edit_insert.html
views/harvest/edit_insert.html
+1
-1
views/harvest/layout.html
views/harvest/layout.html
+1
-1
views/metrics/index.html
views/metrics/index.html
+1
-1
No files found.
static/app.js
View file @
868fde83
...
...
@@ -4,21 +4,21 @@
*/
// Activate the dynamic loading for Ext JS and application classes
if
(
App
.
debug
)
{
if
(
Dbui
.
debug
)
{
Ext
.
Loader
.
setConfig
({
disableCaching
:
false
,
enabled
:
true
,
paths
:
{
'
App
'
:
'
/
'
+
App
.
name
+
'
/static/plugin_dbui/src
'
,
'
Ext
'
:
'
/
'
+
App
.
name
+
'
/static/plugin_extjs/src
'
,
'
Trp
'
:
'
/
'
+
App
.
name
+
'
/static/limbra/src
'
'
Dbui
'
:
'
/
'
+
Dbui
.
name
+
'
/static/plugin_dbui/src
'
,
'
Ext
'
:
'
/
'
+
Dbui
.
name
+
'
/static/plugin_extjs/src
'
,
'
Trp
'
:
'
/
'
+
Dbui
.
name
+
'
/static/limbra/src
'
}
});
}
Ext
.
require
(
'
App
.container.Viewport
'
);
Ext
.
require
(
'
App
.grid.plugin.RowEditorAddWizard
'
);
Ext
.
require
(
'
App
.plugin.MathJax
'
);
Ext
.
require
(
'
Dbui
.container.Viewport
'
);
Ext
.
require
(
'
Dbui
.grid.plugin.RowEditorAddWizard
'
);
Ext
.
require
(
'
Dbui
.plugin.MathJax
'
);
Ext
.
require
(
'
Ext.direct.Manager
'
);
Ext
.
require
(
'
Ext.direct.RemotingProvider
'
);
...
...
@@ -36,17 +36,17 @@ Ext.onReady(function(){
Ext
.
QuickTips
.
init
();
// Expose the remote methods
Ext
.
direct
.
Manager
.
addProvider
(
App
.
REMOTE_API
);
Ext
.
direct
.
Manager
.
addProvider
(
Dbui
.
REMOTE_API
);
// define the models
App
.
defineModels
();
Dbui
.
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
);
Ext
.
EventManager
.
on
(
window
,
'
beforeunload
'
,
Dbui
.
closeUserSession
);
// Instantiate the application
app
=
Ext
.
create
(
'
App
.container.Viewport
'
,
App
.
config
.
viewport
);
app
=
Ext
.
create
(
'
Dbui
.container.Viewport
'
,
Dbui
.
config
.
viewport
);
});
\ No newline at end of file
static/limbra/src/wizard/Harvester.js
View file @
868fde83
...
...
@@ -6,10 +6,10 @@
*/
Ext
.
define
(
'
Trp.wizard.Harvester
'
,
{
extend
:
'
App
.wizard.Wizard
'
,
extend
:
'
Dbui
.wizard.Wizard
'
,
alias
:
'
widget.xwizardharvester
'
,
uses
:
[
'
App
.form.field.ComboBox
'
,
'
Dbui
.form.field.ComboBox
'
,
'
Ext.form.RadioGroup
'
,
'
Ext.form.field.Text
'
],
...
...
views/harvest/edit_insert.html
View file @
868fde83
...
...
@@ -23,7 +23,7 @@
<script
type=
"text/javascript"
>
// create the form and load values
form
=
Ext
.
create
(
'
App
.form.Panel
'
,
cfg
);
form
=
Ext
.
create
(
'
Dbui
.form.Panel
'
,
cfg
);
form
.
setAction
(
'
create
'
);
form
.
getForm
().
setValues
(
values
);
...
...
views/harvest/layout.html
View file @
868fde83
...
...
@@ -216,7 +216,7 @@
//
Ext
.
create
(
'
Ext.Component
'
,
{
loader
:
{
url
:
'
/
'
+
App
.
name
+
'
/harvest/edit_insert
'
,
url
:
'
/
'
+
Dbui
.
name
+
'
/harvest/edit_insert
'
,
params
:
{
Edit_insert_selectorId_teams
:
harvester
.
id_teams
,
Edit_insert_selectorId_projects
:
harvester
.
id_projects
,
...
...
views/metrics/index.html
View file @
868fde83
...
...
@@ -101,7 +101,7 @@
// instantiate the grid with a summary row.
// data can be extracted via the plugin pGridExport
//
var
grid
=
Ext
.
create
(
'
App
.grid.Panel
'
,
{
var
grid
=
Ext
.
create
(
'
Dbui
.grid.Panel
'
,
{
plugins
:
[{
fileRoot
:
'
metrics
'
,
ptype
:
'
pGridExport
'
...
...
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