diff --git a/docker-compose.yml b/docker-compose.yml index dae523a..34b6676 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,3 +8,4 @@ services: - .:/code ports: - "127.0.0.1:8080:8080" + restart: always diff --git a/main.py b/main.py index 50606e6..e2f4b46 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ from bottle import route, run, template, static_file -tpl = """ +tpl_sigle_card = """
@@ -13,10 +13,69 @@ tpl = """ """ +tpl_slideshow = """ + + + +
+
+
+
+"""
+
+@route('/