Sketchy/index.html

100 lines
3.5 KiB
HTML
Raw Normal View History

2014-02-01 18:18:29 +00:00
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset='UTF-8'>
<link rel='stylesheet/less' href='css/main.less'>
2014-02-04 15:02:41 +00:00
<link rel='stylesheet' href='css/switches.css'>
<link rel='stylesheet' href='css/value_selector.css'>
<link rel='stylesheet' href='css/seekbars.css'>
2014-02-01 18:18:29 +00:00
<script src='js/less-1.5.0.min.js'></script>
2014-02-04 15:02:41 +00:00
<script src='js/libs/mobilebrowsers.js'></script>
2014-02-01 18:18:29 +00:00
</head>
<body>
<header>
2014-02-04 15:02:41 +00:00
<button class='menu'></button>
<span class='separator long left menu'></span>
<p id='title'>Sketchy</p>
<button class='save'></button>
<span class='separator small right'></span>
2014-02-01 18:18:29 +00:00
</header>
2014-02-02 20:16:28 +00:00
<div id='container'>
<canvas></canvas>
<canvas></canvas>
</div>
2014-02-01 18:18:29 +00:00
2014-02-04 15:02:41 +00:00
<div id='menu'>
<p class='icon-settings'>Settings</p>
<div class='options'>
<div class='general'>
<button id='settype'>Brush Type<span>Sketch</span></button>
<button id='setcolor'>Color<span>#000000</span></button>
<button id='setlineJoin'>Line Join<span>Round</span></button>
<button id='setlineCap'>Line Cap<span>Round</span></button>
<p id='lineWidth'>Line Width <span>2</span></p>
<div role="slider" aria-valuemin="0" aria-valuenow="80" aria-valuemax="100" aria-valuetext="slider description">
<div>
<progress value="2" max="100"></progress>
<button>handler</button>
</div>
</div>
</div>
</div>
</div>
<form role='dialog' data-type='value-selector' id='type' class='hidden'>
<section class='scrollable'>
<h1>Brush Type</h1>
<ol role='listbox'>
<li role='option' aria-selected='true'><label role='presentation'><span>Sketch</span></label></li>
<li role='option'><label role='presentation'><span>Fur</span></label></li>
<li role='option'><label role='presentation'><span>Pen</span></label></li>
<li role='option'><label role='presentation'><span>Line</span></label></li>
</ol>
</section>
<menu>
<button class='affirmative full'>Cancel</button>
</menu>
</form>
<form role='dialog' data-type='value-selector' id='lineJoin' class='hidden'>
<section class='scrollable'>
<h1>Line Join</h1>
<ol role='listbox'>
<li role='option' aria-selected='true'><label role='presentation'><span>Round</span></label></li>
<li role='option'><label role='presentation'><span>Bevel</span></label></li>
<li role='option'><label role='presentation'><span>Miter</span></label></li>
</ol>
</section>
<menu>
<button class='affirmative full'>Cancel</button>
</menu>
</form>
<form role='dialog' data-type='value-selector' id='lineCap' class='hidden'>
<section class='scrollable'>
<h1>Line Cap</h1>
<ol role='listbox'>
<li role='option' aria-selected='true'><label role='presentation'><span>Round</span></label></li>
<li role='option'><label role='presentation'><span>Square</span></label></li>
<li role='option'><label role='presentation'><span>Butt</span></label></li>
</ol>
</section>
<menu>
<button class='affirmative full'>Cancel</button>
</menu>
</form>
<script src='js/libs/yepnope.min.js'></script>
2014-02-01 18:18:29 +00:00
<script src='js/libs/zepto.min.js'></script>
<script src='js/functions.js'></script>
<script src='js/main.js'></script>
</body>
</html>