diff --git a/shop.py b/shop.py index ca9c757..0e847fd 100644 --- a/shop.py +++ b/shop.py @@ -130,7 +130,8 @@ def show_shop(shopid): for row in cur.fetchall(): if row[0]==shopid: shared_to.append(get_username(row[1])) - return render_template('show_shop.html', entries=entries, shop=shopname, shopid=shopid, content=content,shares=shared_to) + return render_template('show_shop.html', entries=entries, shop=shopname, + shopid=shopid, content=content,shares=shared_to,date=get_shop_date(shopid)) @app.route('/') def list_shops(): diff --git a/static/style.css b/static/style.css index 3ee5065..eb40e93 100644 --- a/static/style.css +++ b/static/style.css @@ -22,3 +22,4 @@ td { height: 1.75em; } border: 1px solid #aacbe2; } .error { background: #f0d6d6; padding: 0.5em; } .hidden { display: none; } +.pointer { cursor: pointer; } diff --git a/templates/show_shop.html b/templates/show_shop.html index 86e0164..d5253e6 100644 --- a/templates/show_shop.html +++ b/templates/show_shop.html @@ -1,6 +1,7 @@ {% extends "layout.html" %} {% block body %}