forked from thlmenezes/photoshoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (77 loc) · 2.65 KB
/
index.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
<!DOCTYPE html>
<html lang="pt_br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Photoshoy</title>
<link rel="stylesheet" href="./index.css" />
<link rel="stylesheet" href="./preview.css" />
<link rel="stylesheet" href="./options.css" />
</head>
<body>
<div id="main">
<main>
<!-- título, data, hora, github -->
<div class="options">
<form action="#">
<h1>Preencha a publicação</h1>
<fieldset>
<div class="field">
<label for="title">Título</label>
<input
type="text"
name="title"
required
placeholder="Desenvolvimento com Docker"
/>
</div>
<div class="field">
<label for="github">Github palestrante</label>
<input
type="text"
name="github"
required
placeholder="thaleslim"
/>
</div>
<div class="field">
<label for="date">Data do evento</label>
<input
type="date"
name="date"
required
placeholder="10/06/2020"
/>
</div>
<div class="field">
<label for="time">Data do evento</label>
<input type="time" name="time" required placeholder="15:30" />
</div>
</fieldset>
<button>Screenshot</button>
<!-- TODO: bug not always download
REFACTOR: https://stackoverflow.com/questions/11620698/how-to-trigger-a-file-download-when-clicking-an-html-button-or-javascript#answers
READ : https://codepen.io/Alexee/pen/QKPokb/
-->
</form>
</div>
<div class="preview">
<div class="container">
<div class="lecturer">
<img src="./face.png" alt="lecturer photo" class="picture" />
<span class="username">@<span></span></span>
</div>
<div class="info">
<div class="event"><strong>CJR</strong> Class</div>
<div class="title"></div>
<div class="date">Data: <span></span></div>
<div class="time">Horário: <span></span></div>
</div>
</div>
</div>
</main>
</div>
</body>
<script src="http://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
<script src="./index.js"></script>
</html>