2014-01-05 00:24:48 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2014-01-11 21:02:14 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
2014-01-05 00:24:48 +00:00
|
|
|
<title>asciiflow-2.0</title>
|
2014-01-12 19:08:29 +00:00
|
|
|
<style>
|
|
|
|
#menu {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
z-index: 100;
|
2014-01-13 23:17:02 +00:00
|
|
|
width: 400px;
|
2014-01-12 19:08:29 +00:00
|
|
|
background: #EEE;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 97px;
|
|
|
|
height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ascii-canvas {
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
top: 0px;
|
|
|
|
cursor: crosshair;
|
|
|
|
};
|
|
|
|
</style>
|
2014-01-05 00:24:48 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-01-12 19:08:29 +00:00
|
|
|
<div id="menu">
|
|
|
|
<button id="box-button">Box</button>
|
|
|
|
<button id="line-button">Line</button>
|
|
|
|
<button id="freeform-button">Freeform</button>
|
2014-01-13 23:17:02 +00:00
|
|
|
<button id="erase-button">Erase</button>
|
2014-01-18 00:28:46 +00:00
|
|
|
<button id="move-button">Move</button>
|
2014-01-12 19:08:29 +00:00
|
|
|
</div>
|
|
|
|
<canvas id="ascii-canvas"></canvas>
|
2014-01-07 22:49:54 +00:00
|
|
|
<script src="jquery-1.9.1.min.js"></script>
|
2014-01-05 00:24:48 +00:00
|
|
|
<script src="js-compiled.js"></script>
|
|
|
|
</body>
|
2014-01-07 22:49:54 +00:00
|
|
|
</html>
|