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
w2pext
plugin_dbui
Commits
4505e5b5
Commit
4505e5b5
authored
Jun 10, 2016
by
LE GAC Renaud
Browse files
Dbui namespace in the python code.
parent
950b8ab6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
21 deletions
+21
-21
controllers/plugin_dbui.py
controllers/plugin_dbui.py
+6
-6
modules/plugin_dbui/extjs.py
modules/plugin_dbui/extjs.py
+11
-11
modules/plugin_dbui/formmodifier.py
modules/plugin_dbui/formmodifier.py
+1
-1
modules/plugin_dbui/helper.py
modules/plugin_dbui/helper.py
+1
-1
views/plugin_dbui/versions.html
views/plugin_dbui/versions.html
+1
-1
views/reports/report_4.html
views/reports/report_4.html
+1
-1
No files found.
controllers/plugin_dbui.py
View file @
4505e5b5
...
...
@@ -15,12 +15,12 @@ import os
API
=
"""
App
.csvUrl = '/%s/plugin_dbui/csv';
App
.config = %s;
App
.debug = %s;
App
.latex2pdfUrl = '/%s/plugin_dbui/latex2pdf.pdf';
App
.name = '%s';
App
.REMOTE_API = {
Dbui
.csvUrl = '/%s/plugin_dbui/csv';
Dbui
.config = %s;
Dbui
.debug = %s;
Dbui
.latex2pdfUrl = '/%s/plugin_dbui/latex2pdf.pdf';
Dbui
.name = '%s';
Dbui
.REMOTE_API = {
'url': '/%s/plugin_dbui/call',
'type': 'remoting',
'actions': %s
...
...
modules/plugin_dbui/extjs.py
View file @
4505e5b5
...
...
@@ -92,7 +92,7 @@ class CheckBox(Base):
class
ComboBox
(
Base
):
"""Configurator for `
App
.form.field.CombBox`_.
"""Configurator for `
Dbui
.form.field.CombBox`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -101,7 +101,7 @@ class ComboBox(Base):
class
DirectStore
(
Base
):
"""Configurator for `
App
.data.DirectStore`_.
"""Configurator for `
Dbui
.data.DirectStore`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -119,7 +119,7 @@ class Field(Base):
class
FieldAceEditor
(
Base
):
"""Configurator for `
App
.form.field.AceEditor`_.
"""Configurator for `
Dbui
.form.field.AceEditor`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -146,7 +146,7 @@ class FieldDate(Base):
class
FieldDict
(
Base
):
"""Configurator for `
App
.form.field.Dict`_.
"""Configurator for `
Dbui
.form.field.Dict`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -155,7 +155,7 @@ class FieldDict(Base):
class
FieldList
(
Base
):
"""Configurator for `
App
.form.field.List`_.
"""Configurator for `
Dbui
.form.field.List`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -223,7 +223,7 @@ class FieldTime(Base):
class
FormPanel
(
Base
):
"""Configurator for `
App
.form.Panel`_.
"""Configurator for `
Dbui
.form.Panel`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -251,7 +251,7 @@ class GridColumnModel(list):
class
GridFilter
(
Base
):
"""Configurator for `
App
.grid.Filter`_.
"""Configurator for `
Dbui
.grid.Filter`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -260,7 +260,7 @@ class GridFilter(Base):
class
GridPanel
(
Base
):
"""Configurator for `
App
.grid.Panel`_.
"""Configurator for `
Dbui
.grid.Panel`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -287,7 +287,7 @@ class GridTemplateColumn(Base):
class
GridWithFilter
(
Base
):
"""Configurator for `
App
.panel.GridWithFilter`_.
"""Configurator for `
Dbui
.panel.GridWithFilter`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -326,7 +326,7 @@ class Panel(Base):
class
PanelWithUrlSelector
(
Base
):
"""Configurator for `
App
.panel.WithUrlSelector`_.
"""Configurator for `
Dbui
.panel.WithUrlSelector`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
@@ -353,7 +353,7 @@ class TabPanel(Base):
class
Viewport
(
Base
):
"""Configurator for `
App
.container.Viewport`_.
"""Configurator for `
Dbui
.container.Viewport`_.
.. include:: ../../../docs/api/extjs_links.txt
...
...
modules/plugin_dbui/formmodifier.py
View file @
4505e5b5
...
...
@@ -121,7 +121,7 @@ class FormModifier(Modifier):
masterHasSlaveData='anotherTable')
* This method modify deeply the field configuration transforming
the :class:`.ComboBox` into ``
App
.form.LinkedComboBox``.
the :class:`.ComboBox` into ``
Dbui
.form.LinkedComboBox``.
Keyword Args:
master (gluon.dal.Field): the database field used as master.
...
...
modules/plugin_dbui/helper.py
View file @
4505e5b5
...
...
@@ -596,7 +596,7 @@ def get_versions():
ace
=
current
.
T
(
'install'
)
# plugin dbui
fn
=
os
.
path
.
join
(
server_path
,
'static'
,
'plugin_dbui'
,
'src'
,
'
App
.js'
)
fn
=
os
.
path
.
join
(
server_path
,
'static'
,
'plugin_dbui'
,
'src'
,
'
Dbui
.js'
)
fi
=
open
(
fn
,
'rb'
)
s
=
fi
.
read
()
...
...
views/plugin_dbui/versions.html
View file @
4505e5b5
...
...
@@ -37,7 +37,7 @@
//
// instantiate the grid showing version numbers
//
var
grid
=
Ext
.
create
(
'
App
.grid.Panel
'
,
{
var
grid
=
Ext
.
create
(
'
Dbui
.grid.Panel
'
,
{
plugins
:
[{
fileRoot
:
'
version
'
,
ptype
:
'
pGridExport
'
...
...
views/reports/report_4.html
View file @
4505e5b5
...
...
@@ -44,7 +44,7 @@
}
// instantiate the grid
Ext
.
create
(
'
App
.grid.Panel
'
,
{
Ext
.
create
(
'
Dbui
.grid.Panel
'
,
{
plugins
:
[{
fileRoot
:
"
report_4
"
,
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