diff --git a/items/models.py b/items/models.py index 75b2e01..dcfab6f 100644 --- a/items/models.py +++ b/items/models.py @@ -67,6 +67,8 @@ class ItemImage(models.Model): # Store a copy of the image for thumbnail thumb = img.copy() + # TODO - task this and just present page without until it's done + # Correct the image size to safe maximums img.thumbnail(max_size, Image.ANTIALIAS) img.save(img_bytes, format=img_format, quality=80) diff --git a/sales/views.py b/sales/views.py index 36162bb..822e357 100644 --- a/sales/views.py +++ b/sales/views.py @@ -49,8 +49,6 @@ def confirm_shipment(request, sale_id): messages.error(request, "You can't confirm a package shipment for an item you don't own.") return HttpResponseRedirect(reverse('home')) - - @login_required def confirm_receipt(request, sale_id): sale = ItemSale.objects.get(id=sale_id) diff --git a/web/static/css/style-medium.css b/web/static/css/style-medium.css index 88a2e39..94f7c79 100644 --- a/web/static/css/style-medium.css +++ b/web/static/css/style-medium.css @@ -18,10 +18,6 @@ padding-top: 0; } - #header { - display: none; - } - /* Banner */ #banner { @@ -103,4 +99,4 @@ #footer .icons .rounded { font-size: 1.5em; - } \ No newline at end of file + } diff --git a/web/static/css/style.css b/web/static/css/style.css index a1378d4..392dac0 100644 --- a/web/static/css/style.css +++ b/web/static/css/style.css @@ -1149,6 +1149,17 @@ New color: fd4e05 margin: 0 auto; } +.ctr-light { + max-width: 600px; +} +.wallet-text { + text-align: center; +} + +.wallet-text ul li { + list-style: none; +} + html { height: 100%; } diff --git a/web/templates/base.html b/web/templates/base.html index f506783..8fb8494 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -157,7 +157,7 @@