Loading app/.env-sample +1 −0 Original line number Diff line number Diff line DEBUG=True DEMO=True DEFAULT_LANGUAGE = fr API_KEY = 1234567890abcdef1234567890abcdef Loading app/config.py +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ load_dotenv() class Config: DEBUG = bool(os.getenv("DEBUG")) DEMO = bool(os.getenv("DEMO")) DEFAULT_LANGUAGE = os.getenv("DEFAULT_LANGUAGE") API_KEY = os.getenv("API_KEY") Loading app/controller/front.py +1 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,7 @@ def front(language_code): "about": about, "LOGO_DIR": current_app.config["LOGO_DIR"], "NODE_DIR": current_app.config["NODE_DIR"], "DEMO": current_app.config["DEMO"], }, ) Loading app/public/inc/vendor/anthonygj/site.less +10 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,16 @@ html { font-family: 'Open Sans', sans-serif; } #demo-popup { background-color: yellow; position: fixed; top: 15px; left: 100px; z-index: 1500; width: 150px; text-align: center; border-radius: 15px; } .next-button { text-align: center; Loading app/view/layout.html +3 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,9 @@ </head> <body class="position-relative"> <div id="demo-popup">demo site</div> {% block content %}{% endblock %} </body> Loading Loading
app/.env-sample +1 −0 Original line number Diff line number Diff line DEBUG=True DEMO=True DEFAULT_LANGUAGE = fr API_KEY = 1234567890abcdef1234567890abcdef Loading
app/config.py +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ load_dotenv() class Config: DEBUG = bool(os.getenv("DEBUG")) DEMO = bool(os.getenv("DEMO")) DEFAULT_LANGUAGE = os.getenv("DEFAULT_LANGUAGE") API_KEY = os.getenv("API_KEY") Loading
app/controller/front.py +1 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,7 @@ def front(language_code): "about": about, "LOGO_DIR": current_app.config["LOGO_DIR"], "NODE_DIR": current_app.config["NODE_DIR"], "DEMO": current_app.config["DEMO"], }, ) Loading
app/public/inc/vendor/anthonygj/site.less +10 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,16 @@ html { font-family: 'Open Sans', sans-serif; } #demo-popup { background-color: yellow; position: fixed; top: 15px; left: 100px; z-index: 1500; width: 150px; text-align: center; border-radius: 15px; } .next-button { text-align: center; Loading
app/view/layout.html +3 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,9 @@ </head> <body class="position-relative"> <div id="demo-popup">demo site</div> {% block content %}{% endblock %} </body> Loading