forked from djghosh13/chainresponder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeRequests.html
66 lines (53 loc) · 2.28 KB
/
makeRequests.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,700,900|Roboto+Mono:300,400,500">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/fl-bigmug-line.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
<style>
form {
margin: 0 auto;
width:250px;
}
h2 {
text-align: center
}
</style>
<script type="text/javascript">
function submitForm() {
var id = document.getElementById("ID");
var name = document.getElementById("requestName");
var rid = document.getElementById("receiverID");
addRequest(id, name, rid);
//console.log("request added");
}
</script>
<script src="query.js"></script>
</head>
</head>
<body>
<h2>Make Requests</h2>
<form onsubmit="submitForm()">
Organization ID: <br>
<input type="text" id="ID"> <br>
Name: <br>
<input type="text" id="requestName"> <br>
Reciever ID: <br>
<input type="text" id="receiverID"> <br>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>