Commit a70d4b51 authored by Anthony Jacob's avatar Anthony Jacob
Browse files

add demo div

parent de8a3735
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
DEBUG=True
DEMO=True

DEFAULT_LANGUAGE = fr
API_KEY = 1234567890abcdef1234567890abcdef
+1 −0
Original line number Diff line number Diff line
@@ -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")
+1 −0
Original line number Diff line number Diff line
@@ -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"],
            },
        )

+10 −0
Original line number Diff line number Diff line
@@ -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;
+3 −0
Original line number Diff line number Diff line
@@ -47,6 +47,9 @@

</head>
<body class="position-relative">
    <div id="demo-popup">demo site</div>


    {% block content %}{% endblock %}
</body>