-
Notifications
You must be signed in to change notification settings - Fork 2
/
create.html
96 lines (91 loc) · 3.02 KB
/
create.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="main.css" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">Inicio</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="/index.html"
>Todos los artículos</a
>
</li>
<li>
<a class="nav-link" href="/create.html">Crear nuevo articulo</a>
</li>
</ul>
<form class="d-flex">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search"
/>
<button class="btn btn-outline-success" type="submit">
Search
</button>
</form>
</div>
</div>
</nav>
<main class="d-flex flex-column flex-md-row justify-content-center mt-5">
<div class="d-flex flex-column p-5">
<div class="m-2">
<label for="title" class="form-label">Title</label>
<input
id="title-input"
type="text"
name="title"
class="form-control"
/>
</div>
<div class="m-2">
<label for="description" class="form-label">Description</label
><textarea
name="description"
id="description-input"
cols="30"
rows="10"
class="form-control"
></textarea>
</div>
<div class="m-2">
<label for="photo" class="form-label">Photo URL</label>
<input id="photo-input" type="text" class="form-control" />
</div>
<div class="m-2">
<label for="price" class="form-label">Price</label>
<input id="price-input" type="number" class="form-control" />
</div>
<button id="submit-btn" class="btn btn-primary m-2">Submit</button>
</div>
</main>
<script src="/js/main.js"></script>
<script src="/js/create.js"></script>
</body>
</html>