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-02-19 23:11:51 +00:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
2014-01-19 12:42:51 +00:00
|
|
|
<title>ASCIIFlow Infinity</title>
|
2014-01-12 19:08:29 +00:00
|
|
|
<style>
|
2014-02-24 23:47:36 +00:00
|
|
|
|
|
|
|
* {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.95em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draw-tools, #file-tools, #edit-tools {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
2014-01-12 19:08:29 +00:00
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
2014-01-20 21:36:58 +00:00
|
|
|
.dialog {
|
2014-01-21 23:43:20 +00:00
|
|
|
position: fixed;
|
2014-02-24 23:47:36 +00:00
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
margin: auto;
|
2014-02-19 23:11:51 +00:00
|
|
|
max-width: 640px;
|
|
|
|
max-height: 480px;
|
2014-02-24 23:47:36 +00:00
|
|
|
width: 80%;
|
|
|
|
height: 80%;
|
|
|
|
background: #B2CAFF;
|
|
|
|
border-width: 2px;
|
|
|
|
border-color: #777;
|
|
|
|
border-style: solid;
|
2014-01-19 23:21:53 +00:00
|
|
|
display: none;
|
2014-02-24 23:47:36 +00:00
|
|
|
z-index: 100;
|
|
|
|
padding: 5px;
|
2014-01-19 13:28:36 +00:00
|
|
|
}
|
|
|
|
|
2014-01-20 21:36:58 +00:00
|
|
|
.visible {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
2014-01-12 19:08:29 +00:00
|
|
|
button {
|
2014-01-20 23:58:33 +00:00
|
|
|
display: block;
|
|
|
|
margin: 3px;
|
|
|
|
width: 60px;
|
2014-01-12 19:08:29 +00:00
|
|
|
height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2014-01-19 23:21:53 +00:00
|
|
|
outline: 0 !important;
|
2014-02-24 23:47:36 +00:00
|
|
|
border-width: 2px;
|
|
|
|
border-color: #777;
|
|
|
|
border-style: solid;
|
2014-01-12 19:08:29 +00:00
|
|
|
}
|
|
|
|
|
2014-02-24 23:47:36 +00:00
|
|
|
#draw-tools > button {
|
|
|
|
background: #B2CAFF;
|
2014-01-19 13:28:36 +00:00
|
|
|
}
|
|
|
|
|
2014-02-24 23:47:36 +00:00
|
|
|
#draw-tools > button.active {
|
|
|
|
background: #8BB5FF;
|
|
|
|
}
|
|
|
|
|
|
|
|
#file-tools > button {
|
2014-01-21 23:31:58 +00:00
|
|
|
background: #D8D8D8;
|
|
|
|
}
|
2014-01-22 22:57:33 +00:00
|
|
|
|
2014-02-24 23:47:36 +00:00
|
|
|
#edit-tools > button {
|
|
|
|
background: #FCB789;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dialog > button {
|
|
|
|
margin-top: 6px;
|
|
|
|
display: inline-block;
|
2014-01-21 23:31:58 +00:00
|
|
|
}
|
|
|
|
|
2014-01-12 19:08:29 +00:00
|
|
|
#ascii-canvas {
|
2014-01-19 23:21:53 +00:00
|
|
|
position: fixed;
|
2014-01-12 19:08:29 +00:00
|
|
|
left: 0px;
|
|
|
|
top: 0px;
|
2014-01-19 23:21:53 +00:00
|
|
|
}
|
|
|
|
|
2014-01-20 23:58:33 +00:00
|
|
|
#logo {
|
2014-01-21 23:43:20 +00:00
|
|
|
position: fixed;
|
2014-01-20 23:58:33 +00:00
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
z-index: 100;
|
|
|
|
background: #F8F8F8;
|
|
|
|
border-right: 1px solid #444;
|
|
|
|
border-bottom: 1px solid #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
#logo pre {
|
|
|
|
margin: 0px;
|
2014-02-24 23:47:36 +00:00
|
|
|
display: none;
|
2014-01-20 23:58:33 +00:00
|
|
|
}
|
|
|
|
|
2014-01-22 22:57:33 +00:00
|
|
|
textarea {
|
2014-02-19 23:11:51 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2014-01-21 23:31:58 +00:00
|
|
|
overflow: hidden;
|
|
|
|
resize: none;
|
2014-02-19 23:11:51 +00:00
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
border: 0px;
|
2014-01-21 23:31:58 +00:00
|
|
|
font-family: monospace;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
2014-01-12 19:08:29 +00:00
|
|
|
</style>
|
2014-01-05 00:24:48 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-01-20 23:58:33 +00:00
|
|
|
<div id="logo"><pre>
|
|
|
|
__ ____ ____ _ _ ____ _____ _ __
|
|
|
|
/ \ | ___|| ___||_||_| / ___|| | _ | \ __ / /
|
|
|
|
/ /\ \|_ \ | | _ _ / / | | | | | |\ \/ \/ /
|
|
|
|
/ __ \_\ \ | |__ | || |/ __| | |_| |_| | \ /
|
|
|
|
/__/ \__\___||____||_||_|_/ |____|____| \_/\_/
|
|
|
|
|
|
|
|
</pre></div>
|
2014-02-24 23:47:36 +00:00
|
|
|
|
|
|
|
<div id="draw-tools">
|
|
|
|
<button id="box-button" class="tool active">Box</button>
|
|
|
|
<button id="line-button" class="tool">Line</button>
|
|
|
|
<button id="freeform-button" class="tool">Draw</button>
|
|
|
|
<button id="erase-button" class="tool">Erase</button>
|
|
|
|
<button id="move-button" class="tool">Resize</button>
|
|
|
|
<button id="text-button" class="tool">Text</button>
|
|
|
|
<!-- <button id="select-button">Select</button> -->
|
|
|
|
</div>
|
|
|
|
<div id="file-tools">
|
|
|
|
<button id="export-button" class="tool">Export</button>
|
|
|
|
<button id="import-button" class="tool">Import</button>
|
2014-01-12 19:08:29 +00:00
|
|
|
</div>
|
2014-02-24 23:47:36 +00:00
|
|
|
<div id="edit-tools">
|
|
|
|
<button id="clear-button" class="tool">Clear</button>
|
|
|
|
<button id="undo-button" class="tool">Undo</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="export-button-dialog" class="dialog">
|
|
|
|
<textarea id="export-area"></textarea>
|
|
|
|
<button class="close-dialog-button">Close</button>
|
|
|
|
</div>
|
|
|
|
<div id="import-button-dialog" class="dialog">
|
|
|
|
<textarea id="import-area"></textarea>
|
|
|
|
<button class="close-dialog-button">Close</button>
|
|
|
|
<button id="import-submit-button">Submit</button>
|
|
|
|
</div>
|
|
|
|
|
2014-01-12 19:08:29 +00:00
|
|
|
<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>
|