mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 10:10:47 +00:00
Fix td gen
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<h1>Generatore di <td> per ER-TPL</h1>
|
||||
<a href="notrue.html">Generatore <img></a>
|
||||
<p>Inserisci matricola:</p>
|
||||
<input type="number" id="matricola" required="required">
|
||||
<input type="text" id="matricola" required="required">
|
||||
<p>Inserisci il nome del modello (quello della cartella):</p>
|
||||
<select name="modelli" id="link">
|
||||
<option value="A-Sprinter">A-Sprinter</option>
|
||||
|
@@ -1,8 +1,11 @@
|
||||
function generatd() {
|
||||
const matricola = document.getElementById("matricola").value.trim();
|
||||
var link = document.getElementById("link").value.trim();
|
||||
|
||||
try {
|
||||
|
||||
if (!matricola || !link) {
|
||||
alert("Compila entrambi i campi.");
|
||||
return;
|
||||
}try{
|
||||
link = "https://drive.serverissimo.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=/Leo/SETA/"+link+"/"+matricola;
|
||||
|
||||
const linkFinaleNoTrue = link+".jpg&x=1920&y=1080"
|
||||
|
Reference in New Issue
Block a user