ObjToSchematic/index.html

73 lines
2.5 KiB
HTML
Raw Normal View History

2021-07-01 23:16:32 +08:00
<!DOCTYPE html>
<html>
2021-07-11 03:20:17 +08:00
2021-09-11 02:17:50 +08:00
<head>
<meta charset="utf8">
<title>ObjToSchematic</title>
<link rel="stylesheet" href="./styles.css">
</head>
2021-07-01 23:16:32 +08:00
2021-10-30 07:28:21 +08:00
<body>
2021-10-05 07:32:03 +08:00
<div id="main">
<canvas id="c"></canvas>
<div class="toolbar-container">
<div class="toolbar-container glass pill-left pill-right">
<div class="toolbar-item pill-left toolbar-item-1">
<div class="input-group">
<button id="buttonChooseFile" class="input-group-item pill-left">
Choose file
</button>
<input id="inputFile" type="text"
class="input-group-item input-group-item-dominant pill-right text-field cursor-pointer" value=""
readonly></input>
</div>
2021-09-11 02:17:50 +08:00
</div>
2021-10-05 07:32:03 +08:00
<div class="toolbar-item toolbar-item-2">
<div id="groupVoxel" class="input-group transparent">
<div class="input-group-item pill-left">Voxel size</div>
<input id="inputVoxelSize" type="number" class="input-group-item input-group-item-dominant text-field"
2021-10-30 07:28:21 +08:00
value="0.25" min="0.01" step="0.01" disabled>
2021-10-05 07:32:03 +08:00
</input>
<button id="buttonVoxelise" class="input-group-item pill-right bg-primary cursor-pointer" disabled>
Voxelise
</button>
</div>
</div>
<div class="toolbar-item pill-right toolbar-item-3">
<div id="groupExport" class="input-group transparent">
<button id="buttonSchematic" class="input-group-item input-group-item-dominant pill-left bg-secondary"
disabled>
Export .schematic
</button>
<button id="buttonLitematic" class="input-group-item input-group-item-dominant pill-right bg-secondary"
disabled>
Export .litematic
</button>
</button>
</div>
2021-07-07 06:18:24 +08:00
</div>
2021-09-20 03:23:43 +08:00
</div>
2021-07-07 06:18:24 +08:00
</div>
2021-09-11 02:17:50 +08:00
</div>
2021-07-11 03:20:17 +08:00
2021-10-05 07:32:03 +08:00
<div id="toast" class="status-container pill-left pill-right glass toast hide"></div>
2021-09-20 03:23:43 +08:00
2021-10-05 07:32:03 +08:00
<div id="modal" class="pill-left pill-right glass modal" hidden>
<div class="content">
<div id="textModal" class="modalTop"></div>
<div class="modalBottom">
<button id="buttonModalAction" class="button pill bg-secondary"></button>
<button id="buttonModalClose" class="button pill bg-primary">Close</button>
2021-07-11 03:20:17 +08:00
</div>
</div>
2021-09-11 02:17:50 +08:00
</div>
2021-10-30 07:28:21 +08:00
</body>
2021-07-11 03:20:17 +08:00
2021-10-30 07:28:21 +08:00
<script src="./src/vendor/jquery-3.6.0.min.js"></script>
<script src="./src/vendor/jquery-3.3.1.slim.min.js"></script>
<script src="./src/vendor/popper.min.js"></script>
<script>
require("./dist/client.js");
</script>
2021-09-11 02:17:50 +08:00
2021-07-01 23:16:32 +08:00
</html>