-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (33 loc) · 1.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Handlebars sandbox</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.0/styles/sunburst.min.css">
<style>
body { font-family: Georgia, serif; margin-left: auto; margin-right: auto; width: 1300px; }
#hs-title { text-align: center; }
#hs-template, #hs-context { width: 640px; height: 200px; }
#hs-template { float: left; }
#hs-context { float: right; }
#hs-options { clear: both; padding-top: 15px; text-align: center; }
#hs-rendered { border: 1px dashed; }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.0/highlight.min.js"></script>
<script src="hs.js"></script>
</head>
<body>
<h1 id="hs-title"><a href="http://handlebarsjs.com/">Handlebars</a> sandbox</h1>
<textarea id="hs-template" title="Template"></textarea>
<textarea id="hs-context" title="Context"></textarea>
<p id="hs-options">
<input type="checkbox" id="hs-strip" checked><label for="hs-strip">Strip blank lines</label>
<input type="button" id="hs-reset" value="Reset">
</p>
<pre><code id="hs-output" class="hljs" title="Output"></code></pre>
<div id="hs-rendered" title="Rendered"></div>
<a href="https://github.com/malinges/handlebars-sandbox"><img style="position: absolute; top: 0; right: 0; border: 0;" alt="Fork me on GitHub" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
</body>
</html>