From e993fe68a35d3f4eb398fc344baaf95398e6ca5c Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 2 Jun 2020 22:55:56 +0200 Subject: [PATCH 1/3] display none --- software_export/css/main.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/software_export/css/main.css b/software_export/css/main.css index ea4e08f..ca58f4b 100644 --- a/software_export/css/main.css +++ b/software_export/css/main.css @@ -181,6 +181,14 @@ header.page-header.scartati { background-color: grey; } +/* no print */ +body .noprint button, +body > center > h2, +body > p.noprint:nth-child(5), +#ingressi, #aziende, #scartati { + display: none; +} + hide { display: none !important; height: 0; From 07e20e3d5fb2f444b434df4ee90ed530407d4496 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 2 Jun 2020 23:01:25 +0200 Subject: [PATCH 2/3] url --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 447dd99..3c788bd 100644 --- a/index.html +++ b/index.html @@ -135,7 +135,8 @@ function url_mercato() { var url = window.location.href; - url = url.replace("http://0.0.0.0:8000/#", "") + var origin = window.location.origin; + url = url.replace(origin+'/#', ''); //console.log(url); $("#search").attr("value", url); setTimeout(() => { From 06a8144020d8797acc129327eb8dcd489b996928 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 2 Jun 2020 23:15:24 +0200 Subject: [PATCH 3/3] noheader --- software_export/css/main.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/software_export/css/main.css b/software_export/css/main.css index ca58f4b..9b86a91 100644 --- a/software_export/css/main.css +++ b/software_export/css/main.css @@ -85,6 +85,7 @@ section.page-body { height: 8em; background-repeat: no-repeat; margin-left: 40%; + margin-bottom: 10px; } .descrizione { @@ -184,7 +185,7 @@ header.page-header.scartati { /* no print */ body .noprint button, body > center > h2, -body > p.noprint:nth-child(5), +body > p, #ingressi, #aziende, #scartati { display: none; }