Commit 4505e5b5 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Dbui namespace in the python code.

parent 950b8ab6
......@@ -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
......
......@@ -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
......
......@@ -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.
......
......@@ -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()
......
......@@ -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'
......
......@@ -44,7 +44,7 @@
}
// instantiate the grid
Ext.create('App.grid.Panel', {
Ext.create('Dbui.grid.Panel', {
plugins: [{
fileRoot: "report_4",
ptype: "pGridExport"}],
......
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