diff --git a/bornhack/static_src/css/bornhack.css b/bornhack/static_src/css/bornhack.css index d1ed79d3..2943fcfc 100644 --- a/bornhack/static_src/css/bornhack.css +++ b/bornhack/static_src/css/bornhack.css @@ -83,6 +83,11 @@ a, a:active, a:focus { color: rgb(255, 255, 255); } +.btn-grey { + background-color: #777; + color: rgb(255, 255, 255); +} + #map { height: 500px; } diff --git a/shop/templates/shop_base.html b/shop/templates/shop_base.html index e9116971..bb2a7de3 100644 --- a/shop/templates/shop_base.html +++ b/shop/templates/shop_base.html @@ -2,6 +2,22 @@ {% block content %} + +
+
+ {% block shop_left_top %} + {% endblock %} +
+
+
+ {% if user.is_authenticated and user.orders.exists %} + Previous orders + {% endif %} +
+
+
+ + {% block shop_content %} {% endblock %} diff --git a/shop/templates/shop_index.html b/shop/templates/shop_index.html index d5053847..894cc038 100644 --- a/shop/templates/shop_index.html +++ b/shop/templates/shop_index.html @@ -2,22 +2,19 @@ {% load bootstrap3 %} {% load shop_tags %} -{% block shop_content %} - -
-
+{% block shop_left_top %}

Categories: {% for category in categories %} - {{category}} + {{category}}   - {% endfor %}

-

Looking for your previous orders?

-
-
+ {% endfor %} +

+{% endblock %} +{% block shop_content %}