Update app.py
Browse files
app.py
CHANGED
|
@@ -52,15 +52,6 @@ css = """
|
|
| 52 |
"""
|
| 53 |
|
| 54 |
js_func = """
|
| 55 |
-
function refresh() {
|
| 56 |
-
const url = new URL(window.location);
|
| 57 |
-
|
| 58 |
-
if (url.searchParams.get('__theme') !== 'dark') {
|
| 59 |
-
url.searchParams.set('__theme', 'dark');
|
| 60 |
-
window.location.href = url.href;
|
| 61 |
-
}
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
function newScroll() {
|
| 65 |
var gallerys = document.getElementsByClassName("scroll");
|
| 66 |
for (var i = 0; i < box.length; i++) {
|
|
@@ -70,15 +61,20 @@ function newScroll() {
|
|
| 70 |
"""
|
| 71 |
|
| 72 |
js_func = """
|
| 73 |
-
function
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
|
|
|
|
|
|
| 77 |
}
|
| 78 |
}
|
|
|
|
| 79 |
"""
|
| 80 |
|
| 81 |
|
|
|
|
|
|
|
| 82 |
bed_layout_new = ['Artwork', 'Curtains', 'Palette', 'Bedroom Rug', 'Mirrors', 'Bedroom Chair', 'Ottoman', 'Bedroom', 'Bedroom Set', 'Bedding']
|
| 83 |
|
| 84 |
living_layout_new = ['Artwork', 'Curtains', 'Palette', 'Rug', 'Armchairs', 'End Tables', 'Love Seats', 'Living Room', 'Sofas', 'End Tables', 'Plant Pots', 'Indoor Plants', 'Coffee tables', 'TV stands', 'Artwork']
|
|
|
|
| 52 |
"""
|
| 53 |
|
| 54 |
js_func = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
function newScroll() {
|
| 56 |
var gallerys = document.getElementsByClassName("scroll");
|
| 57 |
for (var i = 0; i < box.length; i++) {
|
|
|
|
| 61 |
"""
|
| 62 |
|
| 63 |
js_func = """
|
| 64 |
+
function refresh() {
|
| 65 |
+
const url = new URL(window.location);
|
| 66 |
+
|
| 67 |
+
if (url.searchParams.get('__theme') !== 'dark') {
|
| 68 |
+
url.searchParams.set('__theme', 'dark');
|
| 69 |
+
window.location.href = url.href;
|
| 70 |
}
|
| 71 |
}
|
| 72 |
+
|
| 73 |
"""
|
| 74 |
|
| 75 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
bed_layout_new = ['Artwork', 'Curtains', 'Palette', 'Bedroom Rug', 'Mirrors', 'Bedroom Chair', 'Ottoman', 'Bedroom', 'Bedroom Set', 'Bedding']
|
| 79 |
|
| 80 |
living_layout_new = ['Artwork', 'Curtains', 'Palette', 'Rug', 'Armchairs', 'End Tables', 'Love Seats', 'Living Room', 'Sofas', 'End Tables', 'Plant Pots', 'Indoor Plants', 'Coffee tables', 'TV stands', 'Artwork']
|