add ExtJs Charts
parent
b4f24fc091
commit
1bc7691855
|
@ -4,6 +4,9 @@
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<script src="{base_url}/ext_620/ext-all.js"></script>
|
<script src="{base_url}/ext_620/ext-all.js"></script>
|
||||||
<link rel="stylesheet" href="{base_url}/ext_620/{theme_model}/theme-{theme}/resources/theme-{theme}-all.css">
|
<link rel="stylesheet" href="{base_url}/ext_620/{theme_model}/theme-{theme}/resources/theme-{theme}-all.css">
|
||||||
|
<script type="text/javascript" src="{base_url}/ext_620/packages/charts/{theme_model}/charts.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="{base_url}/ext_620/packages/charts/{chart_theme_model}/resources/charts-all.css">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
Ext.onReady(function () {{
|
Ext.onReady(function () {{
|
||||||
{script}
|
{script}
|
||||||
|
|
|
@ -6,6 +6,7 @@ import cherrypy
|
||||||
|
|
||||||
THEME_MODEL = 'classic'
|
THEME_MODEL = 'classic'
|
||||||
THEME = 'gray'
|
THEME = 'gray'
|
||||||
|
CHART_THEME_MODEL = 'classic/classic' if THEME_MODEL == 'classic' else 'modern/modern-' + THEME
|
||||||
|
|
||||||
BASE_URL = ''
|
BASE_URL = ''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue