Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin_dbui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2pext
plugin_dbui
Commits
7f57222b
Commit
7f57222b
authored
8 years ago
by
LE GAC Renaud
Browse files
Options
Downloads
Patches
Plain Diff
Update dbui.py to fix issue generating the sphinx documentation.
parent
ce01ab7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!36
Release 0.9.7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/plugin_dbui/dbui.py
+10
-5
10 additions, 5 deletions
modules/plugin_dbui/dbui.py
with
10 additions
and
5 deletions
modules/plugin_dbui/dbui.py
+
10
−
5
View file @
7f57222b
...
...
@@ -7,7 +7,6 @@ import plugin_dbui as dbui
from
gluon
import
current
from
gluon.html
import
URL
from
gluon.storage
import
Storage
from
gluon.tools
import
PluginManager
from
helper
import
get_language
...
...
@@ -25,8 +24,8 @@ defaults = Storage(
app_script_dir
=
None
,
# dbui library
dbui_conf
=
URL
(
c
=
"
plugin_dbui
"
,
f
=
"
dbui_conf
"
)
,
dbui_conf_debug
=
URL
(
c
=
"
plugin_dbui
"
,
f
=
"
dbui_conf
"
,
vars
=
dict
(
debug
=
""
))
,
dbui_conf
=
"
/%s/
plugin_dbui
/
dbui_conf
"
,
dbui_conf_debug
=
"
/%s/
plugin_dbui
/
dbui_conf
?debug
"
,
dbui_css
=
[
"
static/plugin_dbui/resources/css/kde-oxygen.css
"
,
...
...
@@ -118,12 +117,12 @@ class Dbui(object):
dbui_conf (str):
The ULR returning the configuration for the User Interface.
The default is ``
URL(c=
'
plugin_dbui
'
, f=
'
dbui_conf
'
)
``,
The default is ``
/myapp/
plugin_dbui
/
dbui_conf``,
dbui_conf_debug (str):
The URL returning the debug version of the configuration for
the User Interface. The default is
``
URL(c=
'
plugin_dbui
'
, f=
'
dbui_conf
'
, vars=dict(debug=
""
))
``.
``
/myapp/
plugin_dbui
/
dbui_conf
?debug
``.
dbui_css (str or list):
Relative path to CSS files for the dbui library:
...
...
@@ -187,6 +186,12 @@ class Dbui(object):
plugin
.
dbui_lg
=
plugin
.
dbui_lg
%
lg
plugin
.
extjs_lg
=
plugin
.
extjs_lg
%
lg
# update values depending on the application
application
=
current
.
request
.
application
plugin
.
dbui_conf
=
plugin
.
dbui_conf
%
application
plugin
.
dbui_conf_debug
=
plugin
.
dbui_conf_debug
%
application
# persistent storage for the UI (private)
plugin
.
modifier_fields
=
{}
plugin
.
modifier_forms
=
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment