From 38e89fba0bb30f155c6a50c59c4adbb7bbd427c4 Mon Sep 17 00:00:00 2001 From: Gartic99 Date: Mon, 18 Dec 2023 12:23:21 +0100 Subject: [PATCH] feat: qrcode loaded by js library --- Docker-compose/nginx/nginx.conf_uwsgi_pass | 1 - example/static/disco.html | 45 +++++++--------------- example/static/js/qrcode.min.js | 1 + example/templates/base.html | 3 +- example/templates/qr_code.html | 25 +++++++++--- 5 files changed, 36 insertions(+), 39 deletions(-) create mode 100644 example/static/js/qrcode.min.js diff --git a/Docker-compose/nginx/nginx.conf_uwsgi_pass b/Docker-compose/nginx/nginx.conf_uwsgi_pass index c45a81ce..c6ce1297 100644 --- a/Docker-compose/nginx/nginx.conf_uwsgi_pass +++ b/Docker-compose/nginx/nginx.conf_uwsgi_pass @@ -63,7 +63,6 @@ server { # deny iFrame add_header X-Frame-Options "DENY"; - add_header X-Frame-Options DENY; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; diff --git a/example/static/disco.html b/example/static/disco.html index 8ce3d353..4d3a7cce 100644 --- a/example/static/disco.html +++ b/example/static/disco.html @@ -13,7 +13,7 @@ - +
@@ -37,18 +37,17 @@

IT Wallet


@@ -126,33 +125,12 @@

Altre identità digitali

- -
-
- -
- + - -
diff --git a/example/templates/qr_code.html b/example/templates/qr_code.html index 98eee480..4250acda 100644 --- a/example/templates/qr_code.html +++ b/example/templates/qr_code.html @@ -18,7 +18,12 @@

- +

Il codice è valido per secondi @@ -47,7 +52,15 @@

- +