ifc-web-app/index.html
2024-05-31 08:13:10 +02:00

44 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>WebArchi</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='css/bim.css' />
<script type="importmap">
{
"imports": {
"three": "./vendor/three/build/three.module.js",
"@thatopen/fragments": "./vendor/@thatopen/fragments/dist/index.mjs",
"web-ifc": "./vendor/web-ifc/web-ifc-api.js",
"openbim-components": "./vendor/@thatopen/components/dist/index.mjs",
"lit": "./vendor/@lit-labs/ssr-dom-shim/index.js"
}
}
</script>
<script src='main.js' type="module"></script>
</head>
<body>
<div id="scene"></div>
<div id="ui" data-theme="light">
<div class="file ml-4">
<label class="file-label">
<input class="file-input"
type="file"
name="load-ifc"
id="load-ifc"
accept=".ifc" />
<span class="file-cta">
<span class="file-icon">
<i class="fas fa-upload"></i>
</span>
<span class="file-label">Apri file IFC...</span>
</span>
</label>
</div>
<div class="container p-3" style="min-height: 200px;">
<span class="is-large"></span>
</div>
</div>
</body>
</html>