|
|
|
<!DOCTYPE html>
|
|
|
|
<html style="height: 100%;">
|
|
|
|
<head>
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
|
|
|
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/lib/codemirror.js"></script>
|
|
|
|
<link rel="stylesheet" href="codemirror-5.16.0/lib/codemirror.css">
|
|
|
|
<link rel="stylesheet" href="codemirror-5.16.0/addon/dialog/dialog.css">
|
|
|
|
<link rel="stylesheet" href="codemirror-5.16.0/addon/fold/foldgutter.css" />
|
|
|
|
<script src="codemirror-5.16.0/mode/javascript/javascript.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/mode/loadmode.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/mode/meta.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/edit/closebrackets.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/edit/matchbrackets.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/edit/trailingspace.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/selection/active-line.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/search/search.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/search/match-highlighter.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/search/searchcursor.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/dialog/dialog.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/fold/foldcode.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/fold/foldgutter.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/fold/brace-fold.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/fold/xml-fold.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/fold/markdown-fold.js"></script>
|
|
|
|
<script src="codemirror-5.16.0/addon/fold/comment-fold.js"></script>
|
|
|
|
<style>
|
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
.CodeMirror {
|
|
|
|
position: absolute;
|
|
|
|
top: 25px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
#cme_toolbox {
|
|
|
|
font: 12px Arial,Helvetica,Tahoma,Verdana,sans-serif;
|
|
|
|
height: 25px;
|
|
|
|
background: -webkit-linear-gradient(#EEEEEE, #DADADA); /* For Safari 5.1 to 6.0 */
|
|
|
|
background: -o-linear-gradient(white, #DDDDDD); /* For Opera 11.1 to 12.0 */
|
|
|
|
background: -moz-linear-gradient(white, #DDDDDD); /* For Firefox 3.6 to 15 */
|
|
|
|
background: linear-gradient(white, #DDDDDD); /* Standard syntax */
|
|
|
|
}
|
|
|
|
.CodeMirror-focused .cm-matchhighlight {
|
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);
|
|
|
|
background-position: bottom;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="cme_toolbox"></div>
|
|
|
|
<textarea id="editor1" name="editor1"></textarea>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|