diff --git a/app/static/css/print.css b/app/static/css/print.css new file mode 100644 index 0000000..945bb21 --- /dev/null +++ b/app/static/css/print.css @@ -0,0 +1,15 @@ +@media print { + nav, form, footer, .btn, #form, #debts { + display: none; + } + #items { + display: flex; + } + #items-list { + order: 2; + } + #items-ordered { + order: 1; + margin-right: 50px; + } +} \ No newline at end of file diff --git a/app/templates/layout.html b/app/templates/layout.html index c30c12f..c35e6a5 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -1,5 +1,6 @@ {% extends "bootstrap/base.html" %} {% import "bootstrap/utils.html" as utils %} +{% import "bootstrap/google.html" as google %} {% set navbar = [ ('home', 'Home'), @@ -18,11 +19,13 @@ {% block styles %} {{ super() }} - + + {% endblock %} {% block scripts %} {{ super() }} + {{ google.uanalytics('UA-25444917-9') }} {% endblock %} diff --git a/app/templates/order.html b/app/templates/order.html index 0d9821c..3c98cfe 100644 --- a/app/templates/order.html +++ b/app/templates/order.html @@ -7,8 +7,8 @@ {% block container %}