Browse Source

move roi to subpage

raylu 7 hours ago
parent
commit
5b35cffd1f
2 changed files with 40 additions and 23 deletions
  1. 2 23
      www/index.html
  2. 38 0
      www/roi.html

+ 2 - 23
www/index.html

@@ -2,7 +2,7 @@
 <html>
 <head>
 	<meta charset="UTF-8">
-	<title>PrUn ROI</title>
+	<title>PrUn calculators</title>
 	<link rel="stylesheet" type="text/css" href="style.css">
 	<link rel="icon" href="https://www.raylu.net/hammer-man.svg" />
 	<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -10,28 +10,7 @@
 </head>
 <body>
 	<main>
-        <label><input type="checkbox" id="low-volume">show low volume</label>
-		<table>
-			<thead>
-				<tr>
-					<th>wrought<br>product</th>
-					<th>expertise</th>
-					<th data-tooltip="area includes worker habitation">daily<br>profit/area</th>
-					<th>break<br>even</th>
-					<th data-tooltip="construction cost of 1 building and fractional habitation">capex</th>
-					<th data-tooltip="input and worker costs of 1 building (deterioration/repair not included)">daily<br>opex</th>
-					<th data-tooltip="max of input and output t and m³ per area. 2 ≅ 2 SCB visits/day. 0.25 ≅ SCB visit every 4 days">logistics</th>
-					<th data-tooltip="units output by 1 building over average daily traded">daily output<br>traded</th>
-				</tr>
-			</thead>
-			<tbody></tbody>
-		</table>
+		<a href="roi.html">RoI</a>
 	</main>
-	<footer>
-		prices and traded volume are IC1/HRT from refined-price's 7-day volume-weighted average
-		<br>FRM and ORC use 112.12% fertility (promitor's)
-	</footer>
-	<div id="popover" popover="hint"></div>
-	<script src="roi.js"></script>
 </body>
 </html>

+ 38 - 0
www/roi.html

@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+	<meta charset="UTF-8">
+	<title>PrUn ROI</title>
+	<link rel="stylesheet" type="text/css" href="style.css">
+	<link rel="icon" href="https://www.raylu.net/hammer-man.svg" />
+	<meta name="viewport" content="width=device-width, initial-scale=1">
+	<meta name="theme-color" content="#222">
+</head>
+<body>
+	<a href="/">← back</a>
+	<main>
+        <label><input type="checkbox" id="low-volume">show low volume</label>
+		<table>
+			<thead>
+				<tr>
+					<th>wrought<br>product</th>
+					<th>expertise</th>
+					<th data-tooltip="area includes worker habitation">daily<br>profit/area</th>
+					<th>break<br>even</th>
+					<th data-tooltip="construction cost of 1 building and fractional habitation">capex</th>
+					<th data-tooltip="input and worker costs of 1 building (deterioration/repair not included)">daily<br>opex</th>
+					<th data-tooltip="max of input and output t and m³ per area. 2 ≅ 2 SCB visits/day. 0.25 ≅ SCB visit every 4 days">logistics</th>
+					<th data-tooltip="units output by 1 building over average daily traded">daily output<br>traded</th>
+				</tr>
+			</thead>
+			<tbody></tbody>
+		</table>
+	</main>
+	<footer>
+		prices and traded volume are IC1/HRT from refined-price's 7-day volume-weighted average
+		<br>FRM and ORC use 112.12% fertility (promitor's)
+	</footer>
+	<div id="popover" popover="hint"></div>
+	<script src="roi.js"></script>
+</body>
+</html>