-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcadMedia.html
123 lines (115 loc) · 4.2 KB
/
cadMedia.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
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/global.css">
<title>Projeto Aluno</title>
</head>
<body>
<div class="container">
<div class="template-personalization">
<!--inicio navebar -->
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="index.html">Projeto Aluno</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Cadastrar
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="index.html">Cadastrar Aluno</a>
<a class="dropdown-item" href="cadMedia.html">Cadastrar Média</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Ferramentas
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="impNota.html">Importar Notas</a>
</div>
<li class="nav-item">
<a class="nav-link active" href="#modal-sobre" data-toggle="modal">Sobre</a>
</li>
</li>
</ul>
<div class="loader"><img width="30" height="30" src="image/loader.gif"> Carregando informações...</div>
</div>
</nav>
<!--fim navebar -->
<div class="barra-superior">
<div class="row">
<div class="col-sm-3">
<h2>Cadastro de Média</h2>
</div>
<div class="col-sm-9">
<a href="#modal-editar-aluno" id="editar" class="btn btn-success" data-toggle="modal">
<span> Inserir</span>
</a>
</div>
</div>
</div>
<!--inicio botões -->
<div class="table-wrapper">
<table id="table-aluno" class="table table-striped table-hover">
<thead>
<tr>
<th></th>
<th>Nome</th>
<th>Data de Nascimento</th>
<th>Média</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<!-- Modal editar Aluno -->
<div id="modal-editar-aluno" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Cadastrar média</h4>
<button type="button" data-dismiss="modal" aria-hidden="true">x</button>
</div>
<div class="modal-body">
<div class="form-group">
<label>Media</label>
<input id="media" type="number" class="form-control" required onKeyDown="if(this.value.length==2 && event.keyCode!=8) return false;" return false;">
</div>
</div>
<div class="modal-footer">
<input id="btn-editar-modal" type="submit" class="btn btn-success" value="Inserir">
</div>
</div>
</div>
</div>
<!-- Modal Sobre -->
<div id="modal-sobre" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Sobre</h4>
<button type="button" data-dismiss="modal" aria-hidden="true">x</button>
</div>
<div class="modal-body">
<p>Esse projeto foi desenvolvido para a participação do processo seletivo da vaga Auxiliar de Programador(Alpha7).</p>
<p class="bold">By Jefferson G</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/apiConfig.js"></script>
<script src="js/alunoMedia.js"></script>
</body>
</html>