-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (91 loc) · 3.78 KB
/
Copy pathindex.html
File metadata and controls
97 lines (91 loc) · 3.78 KB
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
<html>
<head>
<title>TPCalc</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="js/calc.js"></script>
<link href="css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="icon" type="image/png" href="img/gold.png">
</head>
<body>
<div id="header">
<a href="https://gw2dotnettools.github.io/TPCalc/"><font color="white" size="5"><b>gw2dotnettools.github.io/TPCalc</b></font></a>
</div>
<div class="content">
<div class="column input-column">
<fieldset>
<legend>Buy Price</legend>
<div class="field-wrap">
<input id="buyGold" onkeyup="update()" type="text" maxlength="5">
<img src="img/gold.png" alt="" />
<label for="buyGold">gold</label>
</div>
<div class="field-wrap">
<input id="buySilver" onkeyup="update()" type="text" maxlength="2">
<img src="img/silver.png" alt="" />
<label for="buySilver">silver</label>
</div>
<div class="field-wrap">
<input id="buyCopper" onkeyup="update()" type="text" maxlength="2">
<img src="img/copper.png" />
<label for="buyCopper">copper</label>
</div>
</fieldset>
<fieldset>
<legend>Sell Price</legend>
<div class="field-wrap">
<input id="sellGold" onkeyup="update()" type="text" maxlength="5">
<img src="img/gold.png" alt="" />
<label for="sellGold">gold</label>
</div>
<div class="field-wrap">
<input id="sellSilver" onkeyup="update()" type="text" maxlength="2">
<img src="img/silver.png" alt="" />
<label for="sellSilver">silver</label>
</div>
<div class="field-wrap">
<input id="sellCopper" onkeyup="update()" type="text" maxlength="2">
<img src="img/copper.png" />
<label for="sellCopper">copper</label>
</div>
</fieldset>
<fieldset>
<legend>Quantity</legend>
<input id="quantity" onkeyup="update()" type="text" value="1">
<button class="btn" onclick="reset()">Reset</button>
</fieldset>
</div>
<div class="column result-column">
<table>
<tr>
<td style="padding-right:4px"><b>Revenue</b></td>
<td id="revenue" class="align-right"></td>
</tr>
<tr>
<td style="padding-right:4px"><b>- Cost</b></td>
<td id="cost" class="align-right"></td>
</tr>
<tr>
<td style="padding-right:4px"><b>- Listing Fee</b></td>
<td id="listingFee" class="align-right"></td>
</tr>
<tr>
<td style="padding-right:4px"><b>- Sale Fee</b></td>
<td id="saleFee" class="align-right"></td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td style="padding-right:4px"><b>= Profit</b></td>
<td id="profit" class="align-right"></td>
</tr>
<tr>
<td/>
<td id="profitPercent" class="align-right"></td>
</tr>
</table>
</div>
</div>
</body>
</html>