예제 #1
0
def assets_all_javascript():
    return Response(
        concat_asset_files(
            [
                "static/js/vendor-jquery-3.2.1.min.js",
                "static/js/vendor-popper.min.js",
                "static/js/vendor-bootstrap.min.js",
                "static/js/vendor-alertify.js",
                "static/js/vendor-d3.min.js",
                "static/js/vendor-wow.min.js",
                "static/js/vendor-chart.min.js",
                "static/js/vendor-moment.min.js",
                "static/js/vendor-chartjs-adapter-moment.min.js",
                "static/js/script.js",
                "static/js/countdown-timer.js",
                "static/js/yt-player.js",
                "static/js/videos.js",
                "static/js/youkuPlayer.js",
                "static/js/scrollspy.js",
                "static/js/dashboard.js",
                "static/js/dshop.js",
            ],
            True,
        ),
        mimetype="application/javascript",
    )
예제 #2
0
def assets_all_styles():
    return Response(concat_asset_files([
        "static/css/vendor-bootstrap-4.0.0-beta2.css",
        "static/css/style.css",
        "static/css/alertify.css",
        "static/css/animate.css"
    ]), mimetype="text/css")
예제 #3
0
def assets_all_styles():
    return Response(
        concat_asset_files([
            "static/css/vendor-bootstrap-4.0.0-beta2.css",
            "static/css/alertify.css",
            "static/css/animate.css",
            "static/css/style.css",
            "static/css/common.css",
            "static/css/footer.css",
            "static/css/components/countdown-timer.css",
            "static/css/components/countdown-bar.css",
            "static/css/components/countdown-hero-banner.css",
            "static/css/components/ousd-banner.css",
            "static/css/pages/common.css",
            "static/css/pages/team.css",
            "static/css/pages/token.css",
            "static/css/pages/product.css",
            "static/css/pages/singles.css",
            "static/css/pages/mobile.css",
            "static/css/pages/about.css",
            "static/css/pages/landing.css",
            "static/css/pages/video.css",
            "static/css/pages/videos.css",
            "static/css/pages/investors.css",
            "static/css/pages/developers.css",
            "static/css/pages/presale.css",
            "static/css/pages/whitepaper.css",
            "static/css/pages/browser-extension.css",
            "static/css/pages/dshop.css",
            "static/css/pages/dashboard.css",
        ]),
        mimetype="text/css",
    )
예제 #4
0
def assets_all_javascript():
    return Response(concat_asset_files([
        "static/js/vendor-jquery-3.2.1.min.js",
        "static/js/vendor-popper.min.js", "static/js/vendor-bootstrap.min.js",
        "static/js/vendor-alertify.js", "static/js/vendor-d3.min.js",
        "static/js/vendor-wow.min.js", "static/js/script.js"
    ]),
                    mimetype="application/javascript")