From f3ea8aa0d091516960087fbf39d8372d2f30312b Mon Sep 17 00:00:00 2001 From: Curry141 <135717077+Daniongithub@users.noreply.github.com> Date: Sat, 17 May 2025 16:50:25 +0200 Subject: [PATCH] Oopsie --- admin/dani/linkgen.html | 24 ----------- admin/dani/linkgen.js | 91 ----------------------------------------- admin/dani/notrue.html | 22 ---------- admin/dani/style.css | 4 -- 4 files changed, 141 deletions(-) delete mode 100644 admin/dani/linkgen.html delete mode 100644 admin/dani/linkgen.js delete mode 100644 admin/dani/notrue.html delete mode 100644 admin/dani/style.css diff --git a/admin/dani/linkgen.html b/admin/dani/linkgen.html deleted file mode 100644 index 576ab13..0000000 --- a/admin/dani/linkgen.html +++ /dev/null @@ -1,24 +0,0 @@ - - -
- - -Inserisci matricola:
- -Inserisci numero se hai altre foto con stessa matricola (default: 1):
- -Inserisci link share:
- - - - -
-
-
\ No newline at end of file
diff --git a/admin/dani/linkgen.js b/admin/dani/linkgen.js
deleted file mode 100644
index 0e943a0..0000000
--- a/admin/dani/linkgen.js
+++ /dev/null
@@ -1,91 +0,0 @@
-function generatd() {
- const matricola = document.getElementById("matricola").value.trim();
- var numero = document.getElementById("numero").value.trim();
- const link = document.getElementById("link").value.trim();
-
- if (!matricola || !link) {
- alert("Compila entrambi i campi.");
- return;
- }
-
- try {
- const urlObj = new URL(link);
- const params = new URLSearchParams(urlObj.search);
- const path = params.get("file");
-
- if (!path) {
- alert("Parametro ?file= mancante nell'URL.");
- return;
- }
-
- if (numero === "") {
- numero = 1;
- }
-
- const htmlString = `Inserisci nome mezzo html:
- -Inserisci link share:
- - - - -
-
-
\ No newline at end of file
diff --git a/admin/dani/style.css b/admin/dani/style.css
deleted file mode 100644
index a418fa9..0000000
--- a/admin/dani/style.css
+++ /dev/null
@@ -1,4 +0,0 @@
-body{
- text-align: center;
- font-family: Consolas;
-}
\ No newline at end of file