Esempio n. 1
0
 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)
Esempio n. 2
0
 def settings(x):
     tags.resource(x, x.req.static, 'jsonform.css')
     tags.resource(x, x.req.static, 'jsonform.js')
Esempio n. 3
0
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")
            
Esempio n. 4
0
def awesopme(x, static=AWESOPME_STATIC, version=AWESOPME_VERSION):
    tags.resource(x, static, version, "css/font-awesome.min.css")
Esempio n. 5
0
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")
Esempio n. 6
0
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')