load theme css with version too
This commit is contained in:
parent
6a133723be
commit
60f7599dbf
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def build_oxjs(downloads=False, geo=False):
|
||||||
# Ox.UI CSS
|
# Ox.UI CSS
|
||||||
css = read_file(source_path + 'Ox.UI/css/Ox.UI.css')
|
css = read_file(source_path + 'Ox.UI/css/Ox.UI.css')
|
||||||
css = css.replace('$import', '\n'.join([
|
css = css.replace('$import', '\n'.join([
|
||||||
'@import url("../themes/%s/css/theme.css");' % theme for theme in themes
|
'@import url("../themes/%s/css/theme.css?%s");' % (theme, version) for theme in themes
|
||||||
]))
|
]))
|
||||||
write_file('%sOx.UI/css/Ox.UI.css' % build_path, css)
|
write_file('%sOx.UI/css/Ox.UI.css' % build_path, css)
|
||||||
write_file('%sOx.UI/css/Ox.UI.css' % dev_path, css)
|
write_file('%sOx.UI/css/Ox.UI.css' % dev_path, css)
|
||||||
|
|
Loading…
Reference in a new issue