Spaces:
Runtime error
Runtime error
Commit
Β·
cdfc177
1
Parent(s):
f7e0cd5
Update constants.py
Browse files- constants.py +6 -0
constants.py
CHANGED
@@ -71,3 +71,9 @@ HEADER_HTML = """<img width="50" height="50" style="float:left; margin: 0px;" sr
|
|
71 |
GMAPS_EMBED_HTML_TEMPLATE = """
|
72 |
<iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?width=100%25&height=600&hl=en&q={location}+{address}&t=&z=18&ie=UTF8&iwloc=B&output=embed">
|
73 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
GMAPS_EMBED_HTML_TEMPLATE = """
|
72 |
<iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?width=100%25&height=600&hl=en&q={location}+{address}&t=&z=18&ie=UTF8&iwloc=B&output=embed">
|
73 |
"""
|
74 |
+
|
75 |
+
CHANGE_DARK_SCRIPT = """
|
76 |
+
() => {
|
77 |
+
document.body.classList.toggle('dark');
|
78 |
+
}
|
79 |
+
"""
|