|
@@ -5,19 +5,76 @@
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
|
<title>Proof of Concept - iGeom - Web</title>
|
|
|
+ <link
|
|
|
+ rel="stylesheet"
|
|
|
+ href="node_modules/bootstrap/dist/css/bootstrap.min.css"
|
|
|
+ />
|
|
|
+ <link rel="stylesheet" href="css/app.css" />
|
|
|
+ <link rel="stylesheet" href="css/icons.css" />
|
|
|
</head>
|
|
|
<body>
|
|
|
- <div id="tool-bar">
|
|
|
- <button id="btn-point" onclick="point.click()">Desenhar Ponto</button>
|
|
|
- <button id="btn-line" onclick="line.click()">Desenhar Reta</button>
|
|
|
- <button id="btn-circunference" onclick="circunference.click()">
|
|
|
- Desenhar Circunferência
|
|
|
- </button>
|
|
|
+ <div class="wrapper">
|
|
|
+ <nav id="sidebar">
|
|
|
+ <div id="tool-bar">
|
|
|
+ <h3>Tools</h3>
|
|
|
+ <div class="tools">
|
|
|
+ <button
|
|
|
+ id="btn-point"
|
|
|
+ class="tool icon icon-point"
|
|
|
+ onclick="point.click()"
|
|
|
+ >
|
|
|
+ <span> Point</span>
|
|
|
+ </button>
|
|
|
+ <button
|
|
|
+ id="btn-line"
|
|
|
+ class="tool icon icon-line"
|
|
|
+ onclick="line.click()"
|
|
|
+ >
|
|
|
+ <span>Line</span>
|
|
|
+ </button>
|
|
|
+ <button
|
|
|
+ id="btn-circunference"
|
|
|
+ class="tool icon icon-circumference"
|
|
|
+ onclick="circunference.click()"
|
|
|
+ >
|
|
|
+ <span>Circunferece</span>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
|
|
|
- <span id="status"> </span>
|
|
|
+ <span id="status"> </span>
|
|
|
+ </div>
|
|
|
+ </nav>
|
|
|
+ <div id="content">
|
|
|
+ <nav id="header">
|
|
|
+ <div class="d-flex">
|
|
|
+ <div class="p-1 flex-fill">
|
|
|
+ <ul>
|
|
|
+ <li class="logo">
|
|
|
+ <img src="assets/logo.png" alt="iGeom.logo" />
|
|
|
+ </li>
|
|
|
+ <li><button>File</button></li>
|
|
|
+ <li><button>Edit</button></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="p-1 flex-fill">
|
|
|
+ <div id="selected-document">New Document 1</div>
|
|
|
+ </div>
|
|
|
+ <div class="p-1 flex-fill"></div>
|
|
|
+ </div>
|
|
|
+ </nav>
|
|
|
+ <nav id="files">
|
|
|
+ <ul>
|
|
|
+ <li class="file active"><button>New Document 1</button></li>
|
|
|
+ <li class="file"><button>New Document 2</button></li>
|
|
|
+ <li class="new"><button class="new-file">+</button></li>
|
|
|
+ </ul>
|
|
|
+ </nav>
|
|
|
+ <div id="container"></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div id="container"></div>
|
|
|
- <script src="https://unpkg.com/konva@3.3.3/konva.min.js"></script>
|
|
|
+ <script src="node_modules/jquery/dist/jquery.min.js"></script>
|
|
|
+ <script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
|
+ <script src="node_modules/konva/konva.min.js"></script>
|
|
|
<script src="app/app.js"></script>
|
|
|
<script src="app/components/line.js"></script>
|
|
|
<script src="app/components/point.js"></script>
|
|
@@ -25,7 +82,5 @@
|
|
|
<script>
|
|
|
app.bootstrap();
|
|
|
</script>
|
|
|
-
|
|
|
-
|
|
|
</body>
|
|
|
</html>
|