add snippet editor to the demo

This commit is contained in:
nightwing 2013-03-19 18:27:09 +04:00
commit 19ea0fe979
9 changed files with 274 additions and 142 deletions

View file

@ -13,20 +13,20 @@
<!--DEVEL-->
<link rel="stylesheet" href="demo/kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
<script async="true" src="http://use.edgefonts.net/source-code-pro.js"></script>
<script async="true" src="http://use.edgefonts.net/source-code-pro.js"></script>
<!--DEVEL-->
<link href="./doc/site/images/favicon.ico" rel="icon" type="image/x-icon">
<!--PACKAGE
<link rel="stylesheet" href="kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
<script async="true" src="http://use.edgefonts.net/source-code-pro.js"></script>
<script async="true" src="http://use.edgefonts.net/source-code-pro.js"></script>
PACKAGE-->
</head>
<body>
<div id="optionsPanel" style="position:absolute;height:100%;width:260px">
<a href="http://ajaxorg.github.com/ace/" >
<img id="logo" src="demo/kitchen-sink/logo.png">
</a>
</a>
<div style="position: absolute; overflow: hidden; top:80px; bottom:0">
<div style="width: 120%; height:100%; overflow-y: scroll">
@ -151,7 +151,7 @@
</select>
</td>
</tr>
<tr><td colspan="2">
<table id="more-controls">
<tr>
@ -265,10 +265,15 @@
<input type="checkbox" id="read_only">
</td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="Edit Snippets", onclick="env.editSnippets()">
</td>
</tr>
</table>
</td></tr>
</table>
</div>
</div>
</div>