This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (135 loc) · 6.48 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CargoStranding</title>
<link rel="stylesheet" href="style/cargoStranding.css">
</head>
<body>
<h1>CargoStranding - A Death Stranding Multi-Request Material Calculator</h1>
<h2>Summary</h2>
<table class="tb" id="tbSummary">
<tr>
<th>Types\Sizes</th>
<th>S</th>
<th>M</th>
<th>L</th>
<th>XL1</th>
<th>XL2</th>
<th>XL3</th>
<th>XL4</th>
</tr>
<tr class="trQuantities">
<td></td><td>40</td><td>80</td><td>160</td><td>320</td><td>480</td><td>640</td><td>800</td>
</tr>
<tr id="trResins">
<td>Resins</td>
<td id="tdResins40"></td>
<td id="tdResins80"></td>
<td id="tdResins160"></td>
<td id="tdResins320"></td>
<td id="tdResins480"></td>
<td id="tdResins640"></td>
<td id="tdResins800"></td>
</tr>
<tr class="trQuantities">
<td></td><td>50</td><td>100</td><td>200</td><td>400</td><td>600</td><td>800</td><td>1000</td>
</tr>
<tr id="trMetals">
<td>Metals</td>
<td id="tdMetals50"></td>
<td id="tdMetals100"></td>
<td id="tdMetals200"></td>
<td id="tdMetals400"></td>
<td id="tdMetals600"></td>
<td id="tdMetals800"></td>
<td id="tdMetals1000"></td>
</tr>
<tr class="trQuantities">
<td></td><td>40</td><td>80</td><td>160</td><td>320</td><td>480</td><td>640</td><td>800</td>
</tr>
<tr id="trCeramics">
<td>Ceramics</td>
<td id="tdCeramics40"></td>
<td id="tdCeramics80"></td>
<td id="tdCeramics160"></td>
<td id="tdCeramics320"></td>
<td id="tdCeramics480"></td>
<td id="tdCeramics640"></td>
<td id="tdCeramics800"></td>
</tr>
<tr class="trQuantities">
<td></td><td>30</td><td>60</td><td>120</td><td>240</td><td>360</td><td>480</td><td>600</td>
</tr>
<tr id="trChemicals">
<td>Chemicals</td>
<td id="tdChemicals40"></td>
<td id="tdChemicals80"></td>
<td id="tdChemicals160"></td>
<td id="tdChemicals320"></td>
<td id="tdChemicals480"></td>
<td id="tdChemicals640"></td>
<td id="tdChemicals800"></td>
</tr>
<tr class="trQuantities">
<td></td><td>60</td><td>120</td><td>240</td><td>480</td><td>720</td><td>960</td><td>1200</td>
</tr>
<tr id="trSpecialAlloys">
<td>Special Alloys</td>
<td id="tdSpecialAlloys60"></td>
<td id="tdSpecialAlloys120"></td>
<td id="tdSpecialAlloys240"></td>
<td id="tdSpecialAlloys480"></td>
<td id="tdSpecialAlloys720"></td>
<td id="tdSpecialAlloys960"></td>
<td id="tdSpecialAlloys1200"></td>
</tr>
</table>
<h2>Requests</h2>
<table class="tb">
<thead>
<tr>
<th class="columnID">ID</th>
<th class="columnType">Type</th>
<th class="columnQuantity">Needed / Added</th>
<th class="columnTotal">(Empty) / Total</th>
<th class="columnList">List</th>
<th class="columnWeight">Weight</th>
<th class="columnVolume">Volume</th>
<th class="columnAction">Action</th>
<th class="columnSelect">Select</th>
</tr>
</thead>
<tbody id="tbRequests"></tbody>
</table>
<div id="divAddRequest">
<h3>Add a new request of ...</h3>
<p hidden>Press the key written inside the parenthesis to select one without using mouse/touchpad</p>
<button class="btTypes" id="btResins"
onclick="tableRequests.newRequest(MaterialTypes.Resins)">
Resins <i class="iHotkeyHints">(R/r)</i></button>
<button class="btTypes" id="btMetals"
onclick="tableRequests.newRequest(MaterialTypes.Metals)">
Metals <i class="iHotkeyHints">(M/m)</i></button>
<button class="btTypes" id="btCeramics"
onclick="tableRequests.newRequest(MaterialTypes.Ceramics)">
Ceramics <i class="iHotkeyHints">(C)</i></button>
<button class="btTypes" id="btChemicals"
onclick="tableRequests.newRequest(MaterialTypes.Chemicals)">
Chemicals <i class="iHotkeyHints">(c)</i></button>
<button class="btTypes" id="btSpecialAlloys"
onclick="tableRequests.newRequest(MaterialTypes.SpecialAlloys)">
Special Alloys <i class="iHotkeyHints">(S/s)</i></button>
<h3>Or ..</h3>
<button class="btTypes" id="btClearRequests" onclick="tableRequests.clearRequests()">Clear all requests <i class="iHotkeyHints">(Z/z)</i></button>
<button class="btTypes" id="btSelectAll" onclick="tableRequests.selectAll()">Select all requests <i class="iHotkeyHints">(A/a)</i></button>
<button class="btTypes" id="btUnselectAll" onclick="tableRequests.unselectAll()">Unselect all requests <i class="iHotkeyHints">(U/u)</i></button>
<button class="btTypes" id="btDeleteSelected" onclick="tableRequests.deleteSelected()">Delete selected requests <i class="iHotkeyHints">(D/d)</i></button>
</div>
<br>
<i>The key inside the parenthesis are hotkeys</i>
<br><br>
<i>© 7Ji 2023. Check <a href="https://github.com/7Ji/CargoStrandingWeb">the repo of this project on Github</a> and also my <a href="https://github.com/7Ji">Github account</a>. The project is hosted on my <a href="https://7ji.github.io/">blog site</a> on its dedicated <a href="https://7ji.github.io/CargoStranding">page</a>, but can be run offline just fine.</i>
<script src="script/cargoStranding.js"></script>
</body>
</html>