playcanvas-editor/index.html

55 lines
2.0 KiB
HTML
Raw Permalink Normal View History

2018-03-08 20:09:02 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Editor</title>
<link rel="stylesheet" href="assets/css/styles.css">
<script src="assets/js/vendor/riot+compiler.js"></script>
<script src="assets/js/vendor/playcanvas-latest.js"></script>
<style>
body {
margin:0;
padding:0;
box-sizing: border-box;
font-size: 16px;
font-family: sans-serif;
color: #777;
}
:root {
--dark: #404040;
}
.page-container {display:flex; height: 100vh;}
.left,.right {flex:0 0 300px; background-color: #EEE;min-width:200px;}
.left {flex:0 0 240px;}
.view {flex:1}
</style>
</head>
<body>
<div class="page-container">
<section class="left">
<Hierarchy />
</section>
<section class="view">
<Application />
</section>
<section class="right">
<Properties />
</section>
</div>
<script type="riot/tag" src="assets/tags/hierarchy.tag.html"></script>
<script type="riot/tag" src="assets/tags/application.tag.html"></script>
<script type="riot/tag" src="assets/tags/property/components/model.tag.html"></script>
<script type="riot/tag" src="assets/tags/property/components/camera.tag.html"></script>
<script type="riot/tag" src="assets/tags/property/components/light.tag.html"></script>
<script type="riot/tag" src="assets/tags/property/components/element.tag.html"></script>
<script type="riot/tag" src="assets/tags/property/components/components.tag.html"></script>
<script type="riot/tag" src="assets/tags/property/properties.tag.html"></script>
<script>
riot.mount('*');
</script>
<script src="assets/js/app.js"></script>
</body>
</html>