-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlisting-create.html
More file actions
65 lines (63 loc) · 2.82 KB
/
listing-create.html
File metadata and controls
65 lines (63 loc) · 2.82 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>JSPop - Crear anuncio</title>
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png" />
<link rel="stylesheet" href="styles/reset.css" />
<link rel="stylesheet" href="styles/common.css" />
<link rel="stylesheet" href="styles/header.css" />
<link rel="stylesheet" href="styles/form.css" />
<link rel="stylesheet" href="notification/style.css" />
<link rel="stylesheet" href="loader/style.css" />
</head>
<body class="form__page create__page">
<header>
<h1><a href="/">JSpop</a></h1>
</header>
<main>
<section class="form">
<h2>Creación de anuncio nuevo</h2>
<section class="notification-list"></section>
<form id="listing-creation-form">
<div id="loader" class="hidden"><div class="loader"></div></div>
<p>
<label class="form__label" for="title">Nombre <em>*</em></label>
<input class="form__inputfield" type="text" id="title" name="title" required />
</p>
<p>
<label class="form__label" for="description">Descripción <em>*</em></label>
<textarea class="form__textareafield" id="description" name="description" required></textarea>
</p>
<p>
<label class="form__label" for="price">Precio <em>*</em></label>
<input class="form__inputfield" type="number" id="price" name="price" required />
</p>
<fieldset class="form__options">
<span class="form__label">Tipo de anuncio <em>*</em></span>
<span class="options">
<input type="radio" id="venta" name="sale" value="venta" />
<label for="venta">Venta</label>
<input type="radio" id="compra" name="sale" value="compra" />
<label for="compra">Compra</label>
</span>
</fieldset>
<p>
<label class="form__label" for="photo">Foto </label>
<input class="form__inputfield" type="text" id="photo" name="photo" />
</p>
<p>
<label class="form__label" for="tags">Tags (separados por comas)</label>
<input class="form__inputfield" type="text" id="tags" name="tags" />
</p>
<button class="form__button" type="submit">Crear anuncio</button>
<p class="form__footnote"><em>*</em> campos obligatorios</p>
</form>
</section>
</main>
<script type="module" src="listing-create.js"></script>
</body>
</html>