-
Notifications
You must be signed in to change notification settings - Fork 0
/
get.html
33 lines (32 loc) · 1.15 KB
/
get.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
<html lang="pt">
<head>
<meta charset="UTF-8">
<title>Download</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
</head>
<body>
<div class="modal-wrap">
<!-- <div class="modal-header"><span class="is-active"></span><span></span><span></span></div> -->
<div class="modal-bodies">
<div class="modal-body modal-body-step-1 is-showing">
<div class="title">Baixe seu arquivo</div>
<div class="description">Preencha os dados abaixo.</div>
<form id="form1" action="bin/download.py" method="GET">
<input id="RA" type="text" name="RA" placeholder="RA"/>
<input id="code" type="text" name="code" placeholder="Código da submissão"/>
<div class="text-center">
<div class="button" id="prox1" onclick="get_file();">Download</div>
</div>
</form>
</div>
</div>
</div>
<script>
// The recommended way from within the init configuration:
var get_file = function() {
document.getElementById("form1").submit();
}
</script>
</body>
</html>