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(() => { diff --git a/software_export/css/main.css b/software_export/css/main.css index ea4e08f..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 { @@ -181,6 +182,14 @@ header.page-header.scartati { background-color: grey; } +/* no print */ +body .noprint button, +body > center > h2, +body > p, +#ingressi, #aziende, #scartati { + display: none; +} + hide { display: none !important; height: 0;