You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
3.2 KiB
63 lines
3.2 KiB
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Petitie UPB</title>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link href="/css" rel="stylesheet" />
|
|
<style>
|
|
.hidden_author_comments {
|
|
display: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body class="bg-mycol bg-contain bg-cover text-[#FFFFFF] md:bg-fixed">
|
|
<div class="fixed top-5 right-5">
|
|
<button class="text-sm md:text-6xl bg-mycol1 rounded-2xl p-5 md:p-10 backdrop-blur-2xl" onclick="location.href='/';">Homepage</button>
|
|
</div>
|
|
<div
|
|
class="bg-mycol2 mb-20 flex w-[100%] items-center justify-center pb-[75px]"
|
|
>
|
|
<div
|
|
class="center flex-center text-centers w-[85%] items-center justify-center md:w-[75%]"
|
|
>
|
|
<p class="font-black text-center items-center ml-auto mr-auto text-5xl md:text-8xl pt-20 mt-20 mb-20 gradient_text">Semneaza "Scrisoare Deschisa, pentru o admitere echitabila."</p>
|
|
<p class="font-black text-left text-xl md:text-5xl gradient_text2 mt-20">Nume Complet</p>
|
|
<input type="text" class="p-10 rounded-2xl mt-5 mb-20 w-full text-black font-['jetbrains']" id="numei">
|
|
<p class="font-black text-left text-xl md:text-5xl gradient_text2 mt-20">Clasa / An de studiu / Profesie</p>
|
|
<input type="text" class="p-10 rounded-2xl mt-5 mb-20 w-full text-black font-['jetbrains']" id="clasai">
|
|
<p class="font-black text-left text-xl md:text-5xl gradient_text2 mt-20">Domeniu de Interes din cadrul UNSTPB (ACS-CTI, ETTI-IETTI, etc)</p>
|
|
<input type="text" class="p-10 rounded-2xl mt-5 mb-20 w-full text-black font-['jetbrains']" id="domeniui">
|
|
|
|
<input type="checkbox" id="acordi">
|
|
<label for="acordi" id="acordilabel" class="text-xl p-20 biginput">Declar, pe proprie raspundere, ca informatiile furnizate sunt conforme cu realitatea si ca acestea corespund, de fapt si de drept, persoanei ce completeaza de buna voie acest formular. De asemenea, imi exprim acordul ca aceste date sa fie afisate public pe pagina web cu scrisoarea, la sectiunea semnatari.</label>
|
|
<button class="text-2xl md:text-6xl bg-emerald-700 p-10 m-5 rounded-2xl" id="ok">SEMNEAZA</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
|
|
var numei = document.getElementById("numei");
|
|
var clasai = document.getElementById("clasai");
|
|
var domeniui = document.getElementById("domeniui");
|
|
var acordi = document.getElementById("acordi");
|
|
var acordilabel = document.getElementById("acordilabel");
|
|
|
|
var ok = document.getElementById("ok");
|
|
ok.addEventListener("click", function(){
|
|
if(acordi.checked){ location.href = '/api_sign?name='+numei.value+'&clasa='+clasai.value+'&domeniu='+domeniui.value; console.log("OK!")}
|
|
else {
|
|
acordilabel.style.color = "#FF0000";
|
|
setTimeout(function(){
|
|
acordilabel.style.color = "#FFFFFF"
|
|
}, 1000);
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
</script>
|
|
</html>
|
|
|