rearranged statusbar (its now in the same container with the textarea)

added ace-editor and styles
This commit is contained in:
tom tomsen
2011-12-14 15:25:02 +01:00
parent 60f016d0c1
commit 022ff3313e
2 changed files with 26 additions and 27 deletions
+5 -2
View File
@@ -85,8 +85,11 @@ if (isset($_POST['code'])) {
<body>
<div class="output"><?php echo $debugOutput ?></div>
<form method="POST" action="">
<textarea cols="100" rows="20" name="code"><?php echo (isset($_POST['code']) ? htmlentities($_POST['code'], ENT_QUOTES, 'UTF-8') : null) ?></textarea>
<div class="statusbar">Line: 1, Column: 1</div>
<div class="input">
<div class="editor" id="editor"><?php echo (isset($_POST['code']) ? htmlentities($_POST['code'], ENT_QUOTES, 'UTF-8') : null) ?></div>
<div class="statusbar">Line: 1, Column: 1</div>
</div>
<input type="submit" name="subm" value="Try this!" />
</form>
<div class="help">