-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (100 loc) · 4.45 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
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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<title>To-do List Vanila</title>
</head>
<body>
<main class="container">
<div class="row">
<div class="input-field col s10 offset-s1">
<i class="material-icons prefix">search</i>
<input type="text" name="search" id="search" class="autocomplete" />
<label for="autocomplete-input">Busca de tarefas</label>
</div>
</div>
<div class="row" id="card-container">
<!-- card 1 -->
<div class="col xl4 l6 m6 s12 card-element">
<div class="card medium sticky-action hoverable">
<div class="card-image waves-effect waves-block waves-light">
<img class="activator" src="https://cdn.pixabay.com/photo/2014/12/16/22/25/woman-570883_960_720.jpg"
alt="card-image">
<span class="card-title teal darken-1">Card Exemplo</span>
</div>
<div class="card-content">
<span class="card-title activator grey-text text-darken-4"><i
class="material-icons right">more_vert</i></span>
<p class="truncate">
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
</p>
</div>
<div class="card-action">
<a href="#" class="green-text">
<i class="small material-icons">check</i>
</a>
<a href="#" class="right red-text" style="margin-right: 0;">
<i class="small material-icons delete">delete</i>
</a>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">Card Title<i class="material-icons right">close</i></span>
<p>Here is some more information about this product that is only revealed once clicked on.</p>
</div>
</div>
</div>
<!-- -->
</div>
<div class="row">
<div class="fixed-action-btn" style="right: 50%; transform: translateX(50%);">
<a class="btn-floating btn-large waves-effect waves-light teal darken-1 modal-trigger" href="#modal1">
<i class="large material-icons">add</i>
</a>
<ul>
<li><a class="btn-floating red"><i class="material-icons">insert_chart</i></a></li>
<li><a class="btn-floating yellow darken-1"><i class="material-icons">format_quote</i></a></li>
<li><a class="btn-floating green"><i class="material-icons">publish</i></a></li>
<li><a class="btn-floating blue"><i class="material-icons">attach_file</i></a></li>
</ul>
</div>
<!-- Modal Structure -->
<div id="modal1" class="modal bottom-sheet" style="min-height: 45%;">
<div class="modal-content">
<h4 class="center-align" style="margin-bottom: 2rem;">Criar Novo Card</h4>
<form class="col m10 offset-m2 s11 offset-s1" id="add-card-form">
<div class="row">
<div class="input-field col m6 s11">
<input class="validate" type="text" name="title" id="title" data-length="16" />
<label for="title">Título para o card</label>
</div>
<div class="input-field col m4 s11">
<input type="text" class="datepicker" name="dateConclusion">
<label>Previsão de entrega</label>
</div>
</div>
<div class="row">
<div class="input-field col s11">
<textarea class="materialize-textarea" name="body" id="body" cols="30" rows="10" data-length="220"></textarea>
<label for="body">Texto do card</label>
</div>
</div>
<div class="row">
<div class="input-field col s4">
<button class="modal-close btn btn-block waves-effect waves-light" type="submit" name="action">Enviar
<i class="material-icons right">send</i>
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="./script.js"></script>
<script src="./cardFunctions.js"></script>
</body>
</html>