-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
129 lines (129 loc) · 5.09 KB
/
main.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link rel="icon" href="assets/icons/favicon.svg">
<title>Open Post-It</title>
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/post_area.css">
<link rel="stylesheet" href="./css/table.css">
<script type="text/javascript" src="./js/main.js"></script>
</head>
<body onload="user()">
<div class="container-main">
<div class="container-content">
<header>
<img src="./assets/img/logo.png" class="logo" alt="logo" onClick="window.location.reload()">
<nav>
<ul class="btn-segment">
<li id="btn-principal">
<a href="main.html">Principal</a>
</li>
<li id="btn-secundario">
<a href="sobre.html">O que são post-its?</a>
</li>
<li id="btn-contatos">
<a href="#">Contatos
<img src="assets/icons/arrow_down.svg" alt="Seta para baixo">
</a>
<div class="dropdown-contatos">
<a href="https://github.com/giovanedossantos" target="_blank">Giovane Dos Santos</a>
<a href="https://github.com/LuiFs" target="_blank">Luís Felipe de Castilho</a>
<a href="https://github.com/LyanRodrigues" target="_blank">Lyan Rodrigues</a>
<a href="https://github.com/nzimermann" target="_blank">Nícolas Zimermann</a>
</div>
</li>
</ul>
</nav>
<div class="user-area">
<img src="assets/icons/person_icon.svg" alt="Ícone do usuário">
<span id="username"><a href="login.html" style="text-decoration: none;">Logar</a></span>
</div>
</header>
<main>
<div class="container-postit-area">
<section class="form-postit">
<h3>Escreva uma nota!</h3>
<form id="form-post" class="form-postit" method="POST">
<input id="inputTitle" type="text" maxlength="28" placeholder="Título">
<textarea id="inputText" maxlength="200" placeholder="Vou escrever sobre..."></textarea>
<div class="options-panel">
<select id="selectFont" type="select" class="select-font-box">
<option value="Roboto">Roboto</option>
<option value="Arial">Arial</option>
<option value="Times">Times</option>
<option value="Segoe UI">Segoe UI</option>
</select>
<select id="selectColor" class="select-color-box" type="select">
<option value="Amarelo">Amarelo</option>
<option value="Azul">Azul</option>
<option value="Rosa">Rosa</option>
<option value="Verde">Verde</option>
</select>
<input id="isPrivate" type="checkbox">
<label><b>Privado</b></label>
</div>
<p id="form-post-warning" style="color:red;display:none;"></p>
<div class="options-panel form-postit-buttons">
<button id="btn-limpar" type="reset" value="reset">Limpar</button>
<button id="btn-postit" type="button" onclick="postIt(getPostFormData())">Post-It!</button>
<button id="btn-cancel" type="button" onclick="hideButton()">Cancelar</button>
<button id="btn-test" type="button">Alterar</button>
</div>
</form>
</section>
<section class="posts-recentes-comunidade">
<h2>Posts recentes da comunidade:</h2>
<div class="postit-area" id="postit-area"></div>
</section>
</div>
<section class="table-section">
<div class="table-conector">
<table class="content-table">
<thead>
<tr>
<th></th> <!-- Lixeira -->
<th><img src="./assets/icons/unfold_more.svg" alt="Ordenação">Título</th>
<th><img src="./assets/icons/unfold_more.svg" alt="Ordenação">Texto</th>
<th><img src="./assets/icons/unfold_more.svg" alt="Ordenação">Usuário</th>
<th><img src="./assets/icons/unfold_more.svg" alt="Ordenação">Fonte</th>
<th><img src="./assets/icons/unfold_more.svg" alt="Ordenação">Cor</th>
</tr>
</thead>
<tbody id="datatable">
</tbody>
</table>
<div class="tfoot">
<p>Linhas por página</p>
<select>
<option value="1">10</option>
<option value="2">25</option>
<option value="3">50</option>
<option value="4">100</option>
</select>
<p>1-10 de 100</p>
<button><img src="./assets/icons/skip_left.svg" alt="Primeira página"></button>
<button><img src="./assets/icons/arrow_left.svg" alt="Página anterior"></button>
<button><img src="./assets/icons/arrow_right.svg" alt="Próxima página"></button>
<button><img src="./assets/icons/skip_right.svg" alt="Última página"></button>
</div>
</div>
</section>
<script>updateTable()</script>
</main>
</div>
<footer>
<img src=".\assets\img\logofooter2.png" class="logoF" alt="logo rodapé">
<div class="textN">
<span class="nomes">Lyan Rodrigues</span>
<span class="nomes">Giovane dos Santos</span>
<span class="nomes">Luís F de Castilho</span>
<span class="nomes">Nicolas Zimermann</span>
</div>
<span class="ano">2023 ©</span>
</footer>
</div>
</body>
</html>