def head(x): plugins.jquery(x) plugins.bootstrap(x) plugins.awesopme(x) plugins.froala(x) tags.resource(x, x.req.static, 'theme.css') tags.resource(x, x.req.static, 'theme.js') settings(x)
def settings(x): tags.resource(x, x.req.static, 'jsonform.css') tags.resource(x, x.req.static, 'jsonform.js')
def froala(x, static=FROALA_STATIC, version=FROALA_VERSION): tags.resource(x, static, version, "css/froala_editor.min.css") tags.resource(x, static, version, "css/basics/dark.min.css") tags.resource(x, static, version, "js/froala_editor.min.js")
def awesopme(x, static=AWESOPME_STATIC, version=AWESOPME_VERSION): tags.resource(x, static, version, "css/font-awesome.min.css")
def bootstrap(x, static=BOOTSTRAP_STATIC, version=BOOTSTRAP_VERSION): tags.resource(x, static, version, "css/bootstrap.min.css") tags.resource(x, static, version, "css/bootstrap-theme.min.css") tags.resource(x, static, version, "js/bootstrap.min.js")
def jquery(x, static=JQUERY_STATIC, version=JQUERY_VERSION): tags.resource(x, JQUERY_STATIC, JQUERY_VERSION, "jquery.min.js") tags.resource(x, x.req.static, 'jquery.cookie.js') tags.resource(x, x.req.static, 'jquery.base64.js')