|
<!DOCTYPE html> |
|
<html lang="pt-BR"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Formulário - Jornal Oliveira</title> |
|
<style> |
|
body { |
|
font-family: Arial, sans-serif; |
|
background-color: #000; |
|
color: white; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
.container { |
|
max-width: 700px; |
|
margin: 50px auto; |
|
background-color: #111; |
|
padding: 30px; |
|
border-radius: 15px; |
|
box-shadow: 0 0 20px rgba(0,0,0,0.8); |
|
} |
|
h1 { |
|
text-align: center; |
|
color: #388e3c; |
|
} |
|
label { |
|
display: block; |
|
margin-top: 15px; |
|
color: #388e3c; |
|
font-weight: bold; |
|
} |
|
input, select, textarea { |
|
width: 100%; |
|
padding: 10px; |
|
margin-top: 5px; |
|
border-radius: 5px; |
|
border: 1px solid #388e3c; |
|
background-color: #000; |
|
color: white; |
|
box-sizing: border-box; |
|
} |
|
textarea { |
|
resize: vertical; |
|
} |
|
.termo { |
|
margin-top: 20px; |
|
background-color: #111; |
|
padding: 15px; |
|
border-radius: 8px; |
|
border: 1px solid #388e3c; |
|
color: white; |
|
} |
|
.termo p { |
|
display: none; |
|
} |
|
.termo .mostrar { |
|
display: block; |
|
} |
|
.lermais { |
|
color: #388e3c; |
|
cursor: pointer; |
|
text-decoration: underline; |
|
margin-top: 10px; |
|
display: inline-block; |
|
} |
|
button { |
|
background-color: #388e3c; |
|
color: white; |
|
padding: 12px 20px; |
|
border: none; |
|
border-radius: 5px; |
|
margin-top: 20px; |
|
cursor: pointer; |
|
width: 100%; |
|
font-size: 16px; |
|
} |
|
button:hover { |
|
background-color: #2e7030; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
|
|
<div class="container"> |
|
<h1>Formulário de Participação</h1> |
|
|
|
<form id="formulario"> |
|
<label for="nome">Nome:</label> |
|
<input type="text" id="nome" required> |
|
|
|
<label for="periodo">Período:</label> |
|
<select id="periodo" required> |
|
<option value="">Selecione</option> |
|
<option value="Manhã">Manhã</option> |
|
<option value="Tarde">Tarde</option> |
|
<option value="Noite">Noite</option> |
|
</select> |
|
|
|
<label for="sala">Sala:</label> |
|
<input type="text" id="sala" required> |
|
|
|
<label for="ra">RA:</label> |
|
<input type="text" id="ra" required> |
|
|
|
<label for="whatsapp">Número de WhatsApp (opcional):</label> |
|
<input type="text" id="whatsapp"> |
|
|
|
<label for="mensagem">Mensagem:</label> |
|
<textarea id="mensagem" rows="4" required></textarea> |
|
|
|
<div class="termo"> |
|
<strong>TERMO DE CONDIÇÃO DE PARTICIPAÇÃO – JORNAL OLIVEIRA</strong> |
|
<div id="textoTermo"> |
|
<p> |
|
Prezado(a) estudante,<br><br> |
|
Para fins de organização e reconhecimento dos participantes do Jornal Oliveira, solicitamos que os novos integrantes forneçam o seu RA (Registro do Aluno) no momento da inscrição. Essa informação será utilizada exclusivamente para identificação interna e externa no âmbito do jornal.<br><br> |
|
O Jornal Oliveira compromete-se a utilizar o RA apenas para os fins aqui descritos, não realizando qualquer tipo de divulgação ou compartilhamento não autorizado. Contudo, ao fornecer essa informação, o participante declara estar ciente de que a organização não se responsabiliza por eventuais vazamentos ou acessos indevidos que ocorram por fatores externos ou alheios à sua vontade.<br><br> |
|
Ao marcar a opção abaixo, o(a) participante declara estar de acordo com os termos apresentados e autoriza expressamente o uso do seu RA para os fins descritos. |
|
</p> |
|
</div> |
|
<span class="lermais" onclick="mostrarTermo()">Ler mais</span><br> |
|
<label> |
|
<input type="checkbox" id="termo" required> Li e concordo com os termos acima. |
|
</label> |
|
</div> |
|
|
|
<button type="button" onclick="enviarWhatsApp()">Enviar</button> |
|
</form> |
|
</div> |
|
|
|
<script> |
|
function mostrarTermo() { |
|
const texto = document.querySelector('#textoTermo p'); |
|
texto.classList.toggle('mostrar'); |
|
} |
|
|
|
function enviarWhatsApp() { |
|
const nome = document.getElementById('nome').value; |
|
const periodo = document.getElementById('periodo').value; |
|
const sala = document.getElementById('sala').value; |
|
const ra = document.getElementById('ra').value; |
|
const whatsapp = document.getElementById('whatsapp').value; |
|
const mensagem = document.getElementById('mensagem').value; |
|
const termo = document.getElementById('termo').checked; |
|
|
|
if (!nome || !periodo || !sala || !ra || !mensagem) { |
|
alert('Por favor, preencha todos os campos obrigatórios.'); |
|
return; |
|
} |
|
|
|
if (!termo) { |
|
alert('Você precisa aceitar os termos para continuar.'); |
|
return; |
|
} |
|
|
|
const texto = `*Formulário de Participação - Jornal Oliveira*\n\n` + |
|
`*Nome:* ${nome}\n` + |
|
`*Período:* ${periodo}\n` + |
|
`*Sala:* ${sala}\n` + |
|
`*RA:* ${ra}\n` + |
|
(whatsapp ? `*WhatsApp:* ${whatsapp}\n` : '') + |
|
`*Mensagem:* ${mensagem}\n\n` + |
|
`✔️ Aceitou os Termos.`; |
|
|
|
const numero = '5511981722855'; |
|
const url = `https://wa.me/${numero}?text=${encodeURIComponent(texto)}`; |
|
|
|
window.open(url, '_blank'); |
|
} |
|
</script> |
|
|
|
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Rwhehhehe/ghhh" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
|
</html> |