2021-07-01 23:16:32 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2021-07-11 03:20:17 +08:00
|
|
|
|
2021-07-01 23:16:32 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf8">
|
2021-07-11 03:20:17 +08:00
|
|
|
<title>TEST</title>
|
2021-07-01 23:16:32 +08:00
|
|
|
<link rel="stylesheet" href="./styles.css">
|
2021-07-11 03:20:17 +08:00
|
|
|
<link rel="stylesheet" href="./src/vendor/bootstrap.css">
|
2021-07-01 23:16:32 +08:00
|
|
|
</head>
|
|
|
|
|
2021-07-11 03:20:17 +08:00
|
|
|
<body>
|
|
|
|
<canvas id="c"></canvas>
|
|
|
|
<div class="toolbar">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2021-07-07 06:18:24 +08:00
|
|
|
<div class="col">
|
|
|
|
<div class="input-group">
|
2021-07-11 03:20:17 +08:00
|
|
|
<input type="file" accept=".obj" class="form-control" id="fileInput">
|
|
|
|
<button id="loadBtn" class="btn btn-primary border-0" type="button">
|
|
|
|
<img src="./resources/svg/load.svg" alt="">
|
|
|
|
Load
|
|
|
|
</button>
|
2021-07-07 06:18:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col">
|
|
|
|
<div class="input-group">
|
2021-07-11 03:20:17 +08:00
|
|
|
<label class="input-group-text ">Voxel size</label>
|
|
|
|
<input id="voxelInput" type="number" min="0.1" step="0.1" value="0.1" class="form-control border-0" disabled>
|
2021-07-11 05:52:23 +08:00
|
|
|
<button id="splitBtn" class="btn btn-primary border-0" type="button" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Half voxel size (faster)" disabled>
|
|
|
|
<img src="./resources/svg/split.svg" alt="">
|
|
|
|
</button>
|
|
|
|
<!--
|
|
|
|
<button id="joinBtn" class="btn btn-primary border-0" type="button" disabled>
|
|
|
|
<img src="./resources/svg/join.svg" alt="">
|
|
|
|
</button>
|
|
|
|
-->
|
2021-07-11 03:20:17 +08:00
|
|
|
<button id="voxelBtn" class="btn btn-primary border-0" type="button" disabled>
|
|
|
|
<img src="./resources/svg/voxel.svg" alt="">
|
|
|
|
Voxelise
|
|
|
|
</button>
|
2021-07-07 06:18:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col">
|
2021-07-11 03:20:17 +08:00
|
|
|
<div class="d-grid">
|
|
|
|
<button id="exportBtn" class="btn btn-danger border-0" type="button" disabled>
|
|
|
|
<img src="./resources/svg/save.svg" alt="">
|
|
|
|
Export schematic
|
|
|
|
</button>
|
2021-07-07 06:18:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-11 03:20:17 +08:00
|
|
|
</div>
|
2021-07-07 06:18:24 +08:00
|
|
|
</div>
|
2021-07-11 03:20:17 +08:00
|
|
|
|
|
|
|
<div id="toast" class="toast canvas-toast align-items-center text-white bg-danger border-0" role="alert" aria-live="assertive" aria-atomic="true">
|
|
|
|
<div class="d-flex">
|
|
|
|
<div id="toastText" class="toast-body ms-2">
|
|
|
|
toastText
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-07-01 23:16:32 +08:00
|
|
|
</body>
|
|
|
|
|
2021-07-11 03:20:17 +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 src="./src/vendor/bootstrap.min.js"></script>
|
2021-08-03 04:52:58 +08:00
|
|
|
<script type="module" src="./dist/client.js"></script>
|
2021-07-01 23:16:32 +08:00
|
|
|
</html>
|