-
Notifications
You must be signed in to change notification settings - Fork 4
/
transactions.html
95 lines (86 loc) · 3.76 KB
/
transactions.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
<!DOCTYPE html>
<html>
<head>
<title>CF Stonks</title>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="icon" href="./favicon.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<meta name="keywords" content="codeforces,stock,stonks,market,trading,game">
<meta name="description" content="A virtual Stock Market based off of CodeForces">
<meta name="title" content="CF Stonks">
<meta name="Author" content="CodeTiger">
<link rel="stylesheet" href="./css/main.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
</head>
<body>
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark">
<a class="mb-0 h1 navbar-brand active" href="./">Stonks CF</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="./">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./profile.html">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./explore.html">Explore</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="./transactions.html">Transactions</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./leaderboard.html">Leaderboard</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./chats.html">Chats</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./about.html">About</a>
</li>
</ul>
<div class="form-inline navbar-si">
<button class="btn btn-outline-light lrB navBtn" type="button" onclick="window.location.replace('register.html');">Register</button>
<button class="btn btn-outline-light lrB navBtn" type="button" onclick="window.location.replace('login.html');">Login</button>
</div>
</div>
</nav>
<div class="container main-container">
<div class="row" style="margin-bottom: 50px">
<div class="col"></div>
<div class="col-lg-9">
<div class="card shadow-sm stats-card">
<div class="card-header">
<h5>Latest 100 Transactions</h5>
</div>
<div class="card-body">
<table class="table" style="border: none;">
<thead style="text-align: center;">
<tr>
<th style="width: 6em;border-top: none;">Buyer</th>
<th style="width: 6em;border-top: none;">Stock</th>
<th style="width: 5em;border-top: none">Price</th>
<th style="width: 1em;border-top: none">Qut.</th>
<th style="width: 1em;border-top: none">Action</th>
</tr>
</thead>
<tbody style="text-align: center;" id="transactions">
</tbody>
</table>
</div>
</div>
</div>
<div class="col"></div>
</div>
</div>
<script src="./javascript/helpers.js"></script>
<script src="./javascript/transactions.js"></script>
</body>
</html>