-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadd-event.html
70 lines (66 loc) · 3.7 KB
/
add-event.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="src/styles/style-add-event.css">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon_io/favicon-16x16.png">
<link rel="manifest" href="/Conexao-PE-Compaixao/favicon_io/site.webmanifest">
<title>Conexão PE Solidária</title>
</head>
<body onload="loginChecked()">
<nav>
<img src="src/img/logo.png" alt="">
<div class="nav-content">
<a href="./index.html">Inicio</a>
<a href="./add-event.html">Crie um evento</a>
<a href="./all-events.html">Seja um voluntário</a>
<a href="#about">Quem somos</a>
<button onclick="window.location.href = './login.html'"><i class="fa-solid fa-user"></i>Minha conta</button>
</div>
</nav>
<div class="formulario" id="appCep">
<aside class="notification" id="notification">
</aside>
<section class="add-event-content">
<h1>Adicionar novo evento</h1>
<form onsubmit="handleCreate(event)">
<input type="text" name="title" placeholder="Título do evento">
<textarea name="" id="description" cols="30" rows="10" placeholder="Descrição do evento"></textarea>
<input type="tel" name="contact" id="contact" placeholder="Contato"
pattern="\([0-9]{2}\)[\s][0-9]{5}-[0-9]{4}">
<input type="url" name="picture" id="picture" placeholder="URL da imagem" pattern="^(http|https):\/\/.*">
<input type="datetime-local" name="date" id="date" placeholder="Data do evento">
<h2>Endereço do evento</h2>
<div class="double-inputs">
<input type="text" name="postalCode" id="postalCode" placeholder="CEP" v-model="endereco.cep"
@change="cepAlteradoEvento" class="form-control">
<input type="text" name="street" id="street" disabled placeholder="Rua" v-model="endereco.logradouro"
class="form-control">
</div>
<div class="double-inputs">
<input type="number" name="number" id="number" min="0" value="1" placeholder="Número">
<input type="text" name="complement" id="complement" placeholder="Complementos">
</div>
<input type="text" name="neighborhood" id="neighborhood" placeholder="Bairro" disabled v-model="endereco.bairro" class="form-control">
<input type="text" name="city" id="city" placeholder="Cidade" disabled v-model="endereco.cidade" class="form-control">
<input type="submit" value="Adicionar evento">
</form>
</section>
</div>
</body>
<script src="https://kit.fontawesome.com/bff9cdb54b.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="./src/js/script-search-cep.js"></script>
<script src="./src/component/alert/alert.component.js"></script>
<script src="./src/js/loginHandle.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.min.js"></script>
<script type="text/javascript">
$("#contact").mask("(00) 90000-0000");
$("#postalCode").mask("00000-000");
</script>
</html>