|
|
|
@ -28,6 +28,11 @@ for dirname in sorted(os.listdir('static')):
|
|
|
|
|
theme['variables']['no_extra_js'] = False
|
|
|
|
|
else:
|
|
|
|
|
theme['variables']['no_extra_js'] = True
|
|
|
|
|
if (os.path.exists(os.path.join('static', dirname, 'backoffice.scss')) or
|
|
|
|
|
os.path.exists(os.path.join('static', dirname, 'backoffice.css'))):
|
|
|
|
|
theme['variables']['portal_agent_extra_css'] = '/static/%s/backoffice.css' % dirname
|
|
|
|
|
else:
|
|
|
|
|
theme['variables']['portal_agent_extra_css'] = None
|
|
|
|
|
if 'included_js_libraries' not in theme['variables']:
|
|
|
|
|
theme['variables']['included_js_libraries'] = ['jquery.js']
|
|
|
|
|
if args.overlay:
|
|
|
|
|