add ExtJs Charts

master
inpos 2018-08-22 21:34:00 +03:00
parent b4f24fc091
commit 1bc7691855
2 changed files with 4 additions and 0 deletions

3
orun/extjs/app.html vendored
View File

@ -4,6 +4,9 @@
<title>{title}</title>
<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">
<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>
Ext.onReady(function () {{
{script}

View File

@ -6,6 +6,7 @@ import cherrypy
THEME_MODEL = 'classic'
THEME = 'gray'
CHART_THEME_MODEL = 'classic/classic' if THEME_MODEL == 'classic' else 'modern/modern-' + THEME
BASE_URL = ''