mirror of
https://github.com/LucasDower/ObjToSchematic.git
synced 2024-12-21 03:09:14 +08:00
74 lines
2.5 KiB
HTML
74 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf8">
|
|
<title>ObjToSchematic</title>
|
|
<link rel="stylesheet" href="./styles.css">
|
|
</head>
|
|
|
|
<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>
|
|
</div>
|
|
<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"
|
|
value="0.1" disabled>
|
|
</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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="toast" class="status-container pill-left pill-right glass toast hide"></div>
|
|
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
|
|
<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>
|
|
|
|
</html> |