forked from Jomsaruj/Light-up-the-room
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cost_graph.html
86 lines (73 loc) · 3.8 KB
/
cost_graph.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Cost Graph</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/cost_graph.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
</head>
<body>
<nav class ="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand " style="margin-left: 10px ;" href = "Home.html">Light Up The Room</a>
<div class="collapse navbar-collapse">
<ul class= "navbar-nav " role="navigation">
<li class="nav-item">
<a class="nav-link text-light" href="time_form.html">Wanna Go?</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-light" href="" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
GRAPH
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="cost_graph.html">COST GRAPH</a></li>
<li><a class="dropdown-item" href="time_graph.html">TIME GRAPH</a></li>
<li><a class="dropdown-item" href="human_graph.html">HUMAN GRAPH</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<header class="page-header header container-fluid">
<div class = "jumbotron">
<h1 class="display-4" >Light Up The Room</h1>
</div>
</header>
<p>Cost Graph</p>
<!-- --------------------------------------------------------------------------------------- -->
<div class = "button-container">
<div class = "sec-button">
<button class="btn btn-primary btn-lg" type ="button" id="second">Second</button>
</div>
<div class = "min-button">
<button class="btn btn-primary btn-lg" type ="button" id="minute">Minute</button>
</div>
<div class = "hour-button">
<button class="btn btn-primary btn-lg" type ="button" id="hour">Hour</button>
</div>
</div>
<div class="container">
<div class="container-graph">
<span class="graph">
<div id="curve_chart"></div>
</span>
</div>
<div class="container-graph-info border border-dark">
<div class="graph-time-info">
<h1 id="time-label">Current Time</h1>
<h1 id="time-of-graph">N/A</h1>
</div>
<div class="graph-cost-info">
<h1 id="cost-label">Current Cost Per Second</h1>
<h1 id="cost-of-graph">N/A</h1>
</div>
</div>
</div>
<!------------------------------------------------------------------------------------------ -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="js/cost_graph.js"></script>
</body>
</html>