-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathace-order-calculator.html
172 lines (168 loc) · 7.79 KB
/
ace-order-calculator.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
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ace Order Calculator</title>
<link rel="stylesheet" href="assets\css\aceorder.css">
<link rel="icon" href="images/chok.ico">
</head>
<body>
<div class="container">
<h1>Ace Order Calculator</h1>
<div class="building-group">
<div class="form-group building">
<label for="material-factory-stars">Material Factory</label>
<div class="star-rating" data-target="materialFactoryStars">
<input type="radio" id="mf-star-1" name="materialFactoryStars" value="1">
<label for="mf-star-1">★</label> <!-- Unicode star character -->
<input type="radio" id="mf-star-2" name="materialFactoryStars" value="2">
<label for="mf-star-2">★</label>
<input type="radio" id="mf-star-3" name="materialFactoryStars" value="3">
<label for="mf-star-3">★</label>
<input type="radio" id="mf-star-4" name="materialFactoryStars" value="4" checked>
<label for="mf-star-4">★</label>
</div>
</div>
<div class="form-group building">
<label for="production-base-stars">Production Base</label>
<div class="star-rating" data-target="productionBaseStars">
<input type="radio" id="pb-star-1" name="productionBaseStars" value="1">
<label for="pb-star-1">★</label>
<input type="radio" id="pb-star-2" name="productionBaseStars" value="2">
<label for="pb-star-2">★</label>
<input type="radio" id="pb-star-3" name="productionBaseStars" value="3">
<label for="pb-star-3">★</label>
<input type="radio" id="pb-star-4" name="productionBaseStars" value="4" checked>
<label for="pb-star-4">★</label>
</div>
</div>
<div class="form-group building">
<label for="crafting-center-stars">Crafting Center</label>
<div class="star-rating" data-target="craftingCenterStars">
<input type="radio" id="cc-star-1" name="craftingCenterStars" value="1">
<label for="cc-star-1">★</label>
<input type="radio" id="cc-star-2" name="craftingCenterStars" value="2">
<label for="cc-star-2">★</label>
<input type="radio" id="cc-star-3" name="craftingCenterStars" value="3">
<label for="cc-star-3">★</label>
<input type="radio" id="cc-star-4" name="craftingCenterStars" value="4" checked>
<label for="cc-star-4">★</label>
</div>
</div>
<div class="form-group building">
<label for="energy-center-stars">Energy Center</label>
<div class="star-rating" data-target="energyCenterStars">
<input type="radio" id="ec-star-1" name="energyCenterStars" value="1">
<label for="ec-star-1">★</label>
<input type="radio" id="ec-star-2" name="energyCenterStars" value="2">
<label for="ec-star-2">★</label>
<input type="radio" id="ec-star-3" name="energyCenterStars" value="3">
<label for="ec-star-3">★</label>
<input type="radio" id="ec-star-4" name="energyCenterStars" value="4" checked>
<label for="ec-star-4">★</label>
</div>
</div>
</div>
<!-- Input Fields for Materials -->
<div class="form-group">
<label for="wood">
<img src="images/aceCal/wood.png" alt="Wood Icon" class="icon">
Wood
</label>
<input type="number" id="wood" value="">
</div>
<div class="form-group">
<label for="iron">
<img src="images/aceCal/iron.png" alt=" Icon" class="icon">
Iron
</label>
<input type="number" id="iron" value="">
</div>
<div class="form-group">
<label for="steel">
<img src="images/aceCal/steel.png" alt=" Icon" class="icon">
Steel
</label>
<input type="number" id="steel" value="">
</div>
<div class="form-group">
<label for="crystone">
<img src="images/aceCal/crys.png" alt=" Icon" class="icon">
Crystone
</label>
<input type="number" id="crystone" value="">
</div>
<div class="form-group">
<label for="weapon-crate">
<img src="images/aceCal/weap.png" alt=" Icon" class="icon">
Weapon Crate
</label>
<input type="number" id="weapon-crate" value="">
</div>
<div class="form-group">
<label for="med-crate">
<img src="images/aceCal/med.png" alt=" Icon" class="icon">
Med Crate
</label>
<input type="number" id="med-crate" value="">
</div>
<div class="form-group">
<label for="food-crate">
<img src="images/aceCal/food.png" alt=" Icon" class="icon">
Food Crate
</label>
<input type="number" id="food-crate" value="">
</div>
<div class="form-group">
<label for="id-card">
<img src="images/aceCal/id.png" alt=" Icon" class="icon">
ID Card
</label>
<input type="number" id="id-card" value="">
</div>
<div class="form-group">
<label for="precision-gear">
<img src="images/aceCal/gear.png" alt=" Icon" class="icon">
Precision Gear
</label>
<input type="number" id="precision-gear" value="">
</div>
<div class="form-group">
<label for="integrated-chip">
<img src="images/aceCal/chip.png" alt=" Icon" class="icon">
Integrated Chip
</label>
<input type="number" id="integrated-chip" value="">
</div>
<div class="form-group">
<label for="energy-core">
<img src="images/aceCal/core.png" alt=" Icon" class="icon">
Energy Core
</label>
<input type="number" id="energy-core" value="">
</div>
<div class="result">
<div class="result">
Total Gem Needed: <span id="total-cost">0</span>
</div>
<div class="result">
Total Time Needed: <span id="total-time"></span>
</div>
<div class="result">
<span id="suggestion"></span>
</div>
<div class="resetBtn">
<button onclick="resetForm()">Reset</button>
</div>
</div>
<div id="time-breakdown" class="result">
<div id="material-factory-breakdown"></div>
<div id="production-base-breakdown"></div>
<div id="crafting-center-breakdown"></div>
<div id="energy-center-breakdown"></div>
</div>
</div>
<script src="assets\js\aceorder.js"></script>
</body>
</html>