correction
parent
1bc7691855
commit
a467158e65
|
@ -26,7 +26,12 @@ class ExtApplication(cp.Application):
|
||||||
def index(self, *args, **kwargs):
|
def index(self, *args, **kwargs):
|
||||||
f = open(os.path.join(os.path.dirname(__file__), 'app.html')).read()
|
f = open(os.path.join(os.path.dirname(__file__), 'app.html')).read()
|
||||||
self.main()
|
self.main()
|
||||||
return f.format(title=self.title, base_url=BASE_URL, theme=THEME, theme_model=THEME_MODEL, script=str(js.js_manager))
|
return f.format(title=self.title,
|
||||||
|
base_url=BASE_URL,
|
||||||
|
theme=THEME,
|
||||||
|
theme_model=THEME_MODEL,
|
||||||
|
script=str(js.js_manager),
|
||||||
|
chart_theme_model=CHART_THEME_MODEL)
|
||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
def ajax_callback(self, *args, **kwargs):
|
def ajax_callback(self, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue