mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-10 14:34:20 +00:00
e944fc3946
Use Unicode icons instead
52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>WBO</title>
|
|
<link rel="icon" type="image/png" href="favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="stylesheet" type="text/css" href="board.css" />
|
|
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="board">
|
|
<svg id="canvas"
|
|
width="500" height="500" version="1.1"
|
|
xmlns="http://www.w3.org/2000/svg">
|
|
<defs id="defs"></defs>
|
|
</svg>
|
|
</div>
|
|
|
|
<div id="menu">
|
|
<h2 id="toggleMenu">Menu</h2>
|
|
<br/>
|
|
|
|
<div id="menuItems">
|
|
<h3>Tools</h3>
|
|
<ul id="tools">
|
|
<li class="tool"><span class="tool-icon"></span><span class="tool-name">Tool template</span></li>
|
|
</ul>
|
|
|
|
<h3>Configuration</h3>
|
|
<label for="chooseColor">Color:</label>
|
|
<input type="color" id="chooseColor" value="#1913B0" />
|
|
<br/>
|
|
<label for="chooseSize">Size:</label>
|
|
<input type="range" id="chooseSize" value="10" min="1" max="50" step="1" />
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="js/minitpl.js"></script>
|
|
<script type="text/javascript" src="js/board.js"></script>
|
|
<script type="text/javascript" src="tools/pencil/pencil.js"></script>
|
|
<script type="text/javascript" src="tools/text/text.js"></script>
|
|
<script type="text/javascript" src="tools/eraser/eraser.js"></script>
|
|
<script type="text/javascript" src="tools/hand/hand.js"></script>
|
|
<script type="text/javascript" src="tools/line/line.js"></script>
|
|
<script type="text/javascript" src="/js/canvascolor/canvascolor.min.js"></script>
|
|
</body>
|
|
</html>
|