-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrade.html
97 lines (70 loc) · 2.19 KB
/
trade.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Stock Client</title>
<link rel="stylesheet" type="text/css" href="css/trade.css" />
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/tether.min.js"></script>
<script src="js/trade.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<div id="rounded">
<div id="main" class="container">
<div class="row">
<h1>Stock Exchange API</h1>
</div>
<div id="pageContent">
<form class="form-inline">
<label class="mr-sm-2" for="country">Country</label>
<select class="custom-select mb-2 mr-sm-2 mb-sm-0" id="country">
<option value="US">US</option>
<option value="FR">FR</option>
<option value="IN">IN</option>
<option value="RS">RS</option>
</select>
<label class="mr-sm-2" for="category">Category</label>
<select class="custom-select mb-2 mr-sm-2 mb-sm-0" id="category">
<option value="Automobile">Automobile</option>
<option value="Finance">Finance</option>
<option value="IT">IT</option>
<option value="Automobile">Automobile</option>
</select>
<div class="input-group">
<span class="input-group-addon">BaseBid</span>
<input type="text" id="basebid" class="form-control" aria-label="Text">
<span class="input-group-addon">cents</span>
</div>
</form>
<br>
<div><button type="button" id="tradeButton" class="btn btn-primary">TRADE</button></div>
<br>
<div><button type="button" id="reset" class="btn">RESET STOCK</button></div>
</div>
<br>
<h4>Response</h4>
<div id="pageContent">
<span id="resp"></span>
</div>
<div class="clear"></div>
<div id="pageContent">
<h2>Companies</h2>
<table class="table table-striped">
<thead>
<tr>
<th>ID</th>
<th>Budget</th>
<th>Bid</th>
</tr>
</thead>
<tbody id="cTable">
</tbody>
</table>
</div>
</div>
<div class="clear"></div>
<img src="img/bottom_bg.gif" alt="bottom" /></div>
</body>
</html>