-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct.html
167 lines (163 loc) · 6.75 KB
/
product.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Gold - MyStackApp
</title>
<link href="css/materialize.min.css" type="text/css" rel="stylesheet" media="screen,projection" />
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection" />
<meta charset="UTF-8">
<script>
function showStats() {
document.getElementById("gold-table").hidden = false;
document.getElementById("gold-title").hidden = false;
document.getElementById("gold-chart-mobile").hidden = true;
document.getElementById("button1").style.backgroundColor = "#999999";
document.getElementById("button2").style.backgroundColor = "#CCCCCC";
}
function showChart() {
document.getElementById("gold-table").hidden = true;
document.getElementById("gold-title").hidden = true;
document.getElementById("gold-chart-mobile").hidden = false;
document.getElementById("button1").style.backgroundColor = "#CCCCCC";
document.getElementById("button2").style.backgroundColor = "#999999";
}
</script>
</head>
<body>
<header>
<nav>
<div class="nav-wrapper hide-on-small-only">
<a href="#" class="left"><i class="mdi-navigation-refresh"></i></a>
<a href="home.html" class="brand-logo left">MyStackApp</a>
<a href="#" class="right"><i class="mdi-action-settings"></i></a>
</div>
<div class="nav-wrapper hide-on-med-and-up">
<a href="home.html" class="left"><i class="mdi-hardware-keyboard-arrow-left"></i></a>
<a href="home.html" class="brand-logo left">My Stack</a>
<a href="add.html" class="right"><i class="mdi-content-add"></i></a>
</div>
</nav>
</header>
<div class="row">
<nav id="sidebar" class="col m2 l2 hide-on-small-only">
<ul>
<li>
<a href="home.html"><i class="mdi-action-home"></i><span>Home</span></a>
</li>
<li>
<a href="product.html"><i class="mdi-au"></i><span>My Gold</span></a>
</li>
<li>
<a href="product.html"><i class="mdi-ag"></i><span>My Silver</span></a>
</li>
<li>
<a href="product.html"><i class="mdi-pt"></i><span>My Platinum</span></a>
</li>
</ul>
</nav>
<div class="col s12 m5 l4">
<div id="gold-summary">
<div class="left">
<div>
<span id="total-value">$18,234.10</span>
</div>
<div>Total Value</div>
</div>
<div class="right right-align">
<div id="total-daily-change">Daily +3.5%</div>
<div id="total-overall-change">Overall +1.2%</div>
</div>
<div class="clearfix"></div>
</div>
<div id="gold-spot" class="hide-on-med-and-down">
<div>
<div id="current-spot">Current Spot</div>
<div class="row">
<div class="col s4 center-align">
<div>1206.10</div>
<div>Bid</div>
</div>
<div class="col s4 center-align">
<div>1207.10</div>
<div>Ask</div>
</div>
<div class="col s4 center-align">
<div>+23.40</div>
<div>Change</div>
</div>
</div>
</div>
</div>
</div>
<div class="center-align hide-on-med-and-up mdi-nav">
<span id="button1">
<a href="#" onclick="showStats();"><i class="mdi-navigation-menu"></i></a>
</span>
<span id="button2">
<a href="#" onclick="showChart();"><i class="mdi-editor-insert-chart"></i></a>
</span>
</div>
<div hidden id="gold-chart-mobile" class="col m5 l6 hide-on-med-and-up">
<img src="images/gold-chart-mobile.png" alt="My stack value over time" class="chart" />
</div>
<div id="gold-chart" class="col m5 l6 hide-on-small-only">
<img src="images/goldchart.png" alt="My stack value over time" class="chart" />
</div>
<div id="gold-title" class="col l10 show-on-medium-and-up">
<div class="col l4" id="stack-title">My Stack</div>
<form class="col l4 right">
<div class="hide-on-med-and-down">
<label><i class="mdi-action-search"></i></label>
<input type="search" id="search" required>
<a href="add.html"><i class="mdi-content-add"></i></a>
</div>
</form>
</div>
<div id="gold-table" class="col s12 m10 right show-on-medium-and-up">
<table>
<thead>
<tr>
<th class="hide-on-med-and-down">Image</th>
<th>Item</th>
<th>Qty.</th>
<th>Weight/unit (g)</th>
<th>% au</th>
<th>Value</th>
</tr>
</thead>
<tr>
<td class="hide-on-med-and-down">
<a href="detail.html"><img src="images/CoinGoldEagle.jpg" alt="coin" width="40" height="40"></a>
</td>
<td>US Eagle</td>
<td>1</td>
<td>1.244</td>
<td>.917</td>
<td>1199.10</td>
</tr>
<tr>
<td class="hide-on-med-and-down">
<a href="detail.html"><img src="images/CoinGoldEagle.jpg" alt="coin" width="40" height="40"></a>
</td>
<td>US Eagle</td>
<td>5</td>
<td>1.244</td>
<td>.917</td>
<td>5995.10</td>
</tr>
<tr>
<td class="hide-on-med-and-down">
<a href="detail.html"><img src="images/CoinGoldEagle.jpg" alt="coin" width="40" height="40"></a>
</td>
<td>US Eagle</td>
<td>5</td>
<td>1.244</td>
<td>.917</td>
<td>5995.10</td>
</tr>
</table>
</div>
</div>
</body>
</html>