-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (61 loc) · 2.61 KB
/
index.html
File metadata and controls
68 lines (61 loc) · 2.61 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
66
67
68
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Day 79</title>
<style>
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing:border-box; }
html { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size: 62.5%; }
* { margin: 0; padding: 0; list-style: none; outline: none; }
body { background: #000; color: #fff; font-family: Arial, Helvetica, sans-serif; }
.container { display: flex; flex-direction: row; flex-flow: wrap row; margin: 60px auto; max-width: 600px; width: 100%; }
</style>
<link rel="stylesheet" type="text/css" href="./day.css">
</head>
<body>
<div class="container">
<section class="section edit">
<form method="post" data-js="form" class="form">
<input type="hidden" id="_rev" name="_rev" value="">
<input type="hidden" id="_id" name="_id" value="">
<p class="form-group">
<label class="form-label" for="title">Título:</label>
<input class="form-field" type="text" id="title" name="title" placeholder="Sem título" autocomplete="off">
</p>
<p class="form-group">
<label class="form-label" for="note">Nota:</label class="form-label">
<textarea class="form-field form-field--textarea" id="note" name="note" placeholder="Adicione uma nota" required></textarea>
</p>
<p>
<button class="button" type="reset">Resetar</button>
<button class="button button--delete" type="button" data-js="delete" disabled>Deletar</button class="button">
<button class="button" type="submit">Salvar</button>
</p>
</form>
</section>
<section class="section search">
<form method="get" data-js="searchForm" class="search-form">
<p>
<input type="search" data-js="query" name="q" autocomplete="off">
<button class="button" type="submit">Buscar</button class="button">
</p>
</form>
<h2>Notas</h2>
<table data-js="list" class="search-list">
<thead>
<tr>
<th>Título</th>
<th>Criado em</th>
<th>Atualizado em</th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
</div>
<script src="./node_modules/pouchdb/dist/pouchdb.min.js"></script>
<script src="./day.js"></script>
</body>
</html>