Move to static, rewrite client-JS
This commit is contained in:
parent
5b874e3456
commit
c5a551f770
7 changed files with 181 additions and 65 deletions
56
static/index.html
Normal file
56
static/index.html
Normal file
|
@ -0,0 +1,56 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<title>heist</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="solarized_dark.css"/>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: #002B36;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
textarea {
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
color: #fff;
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-family: monospace;
|
||||
outline: none;
|
||||
resize: none;
|
||||
font-size: 13px;
|
||||
}
|
||||
#box {
|
||||
padding: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#box code {
|
||||
padding: 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" src="jquery-1.7.min.js"></script>
|
||||
<script type="text/javascript" src="highlight.min.js"></script>
|
||||
<script type="text/javascript" src="application.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
var app = new heist('heist');
|
||||
app.newDocument();
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<pre id="box" style="display:none;"><code></code></pre>
|
||||
<textarea spellcheck="false" style="display:none;"></textarea>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue