-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClient1
48 lines (48 loc) · 1.63 KB
/
Client1
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
<html>
<head>
<title>Distributed System Team</title>
<script type="text/javascript">
function operacion(){
var s = document.getElementById("sender").value;
var r = document.getElementById("reciver").value;
var a = document.getElementById("amount").value;
location.href = "http://localhost:10001" + "?sender=" + s + "&reciver=" + r+ "&amount=" + a;
location.href = "http://localhost:63342/final%20pro/client2.html?_ijt=ic1b2nppsvmes68fponcmkcvp9" + "?sender=" + s + "&reciver=" + r+ "&amount=" + a;
}
</script>
<style>
img{
margin-left: 300px;
width: 700px;
height: 300px;
background-image: url("cTs.png");
background-size: cover;
}
#sender,#reciver,#amount{
text-align: center;
width: 400px;
height: 70px;
}
#send{
text-align: center;
color: white;
background-color: slateblue;
font-size: 70px;
border-radius: 40px;
}
</style>
</head>
<body>
<img src="cTs.png">
<h1 style="text-align: center;font-size: 70px;color: darkblue;margin-top: 20px">Client</h1>
<form id="forma1" style="text-align:center;background-color:darkorange;font-size: 40px;margin: 90px 400px;padding-top: 40px;color: #000088">
Enter Sender :<input type="text" id="sender">
<br>
Enter Reciver:<input type="text" id="reciver">
<br>
Enter Amountt:<input type="number" id="amount">
<br>
<input type="button" onClick="operacion()" id="send" value="Send">
</form>
</body>
<html>