-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnovaTask.html
More file actions
107 lines (107 loc) · 4.89 KB
/
Copy pathnovaTask.html
File metadata and controls
107 lines (107 loc) · 4.89 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nova Task</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<style>
.app-container {
display: flex;
align-items: center;
justify-content: center;
background-color: #f8f9fa;
}
.app-view {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 400px;
border: 1px solid #dee2e6;
height: 81.6vh;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
background-image: url('img/background.png');
background-size: cover;
background-position: center;
}
.menu-background {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px 20px;
width: 100%;
background-color: rgba(215, 212, 124, 0.9);
margin-top: 8rem;
border-radius: 10px;
}
.form-group {
width: 100%;
margin-bottom: 15px;
}
.btn-group {
display: flex;
justify-content: space-between;
width: 100%;
}
</style>
</head>
<body>
<div class="container-fluid py-4">
<h1 class="text-center mb-4">Agência de Negócios em TI - MVP</h1>
<div class="app-container">
<div class="app-view">
<form id="taskForm">
<div class="menu-background">
<div class="form-group">
<label for="task">Task</label>
<input type="text" class="form-control" id="task" name="task" required>
</div>
<div class="form-group">
<label for="duration">Duração</label>
<input type="time" class="form-control" id="duration" name="duration" required>
</div>
<div class="form-group">
<label>Dificuldade</label>
<div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="dificuldade" id="dificuldade1" value="1" required>
<label class="form-check-label" for="dificuldade1">1</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="dificuldade" id="dificuldade2" value="2">
<label class="form-check-label" for="dificuldade2">2</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="dificuldade" id="dificuldade3" value="3">
<label class="form-check-label" for="dificuldade3">3</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="dificuldade" id="dificuldade4" value="4">
<label class="form-check-label" for="dificuldade4">4</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="dificuldade" id="dificuldade5" value="5">
<label class="form-check-label" for="dificuldade5">5</label>
</div>
</div>
</div>
</div>
<div class="btn-group">
<button type="button" class="btn btn-info" onclick="history.back();">Voltar</button>
<button type="button" class="btn btn-primary" onclick="novaTask()">Salvar</button>
</div>
</form>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="js/novaTask.js"></script>
</body>
</html>