Merge the editor and the terminal view. I think it will be nicer to work with them always side-by-side.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3380 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -12,17 +12,31 @@
|
||||
<span>😎</span>
|
||||
<span id="title">Tilde Friends</span>
|
||||
<a href="/">home</a>
|
||||
<a href="$(EDIT_SOURCE)">edit</a>
|
||||
<a href="#" onclick="event.preventDefault(); edit()">edit</a>
|
||||
<a href="$(VIEW_SOURCE)">view source</a>
|
||||
<a href="/~cory/about">about</a>
|
||||
<span id="status"></span>
|
||||
<span id="update">update available! <a href="">refresh</a> to update</span>
|
||||
<span id="login"></span>
|
||||
</div>
|
||||
<div id="terminals" class="vbox"><div id="terminal_" class="terminal" style="flex: 1 1"></div></div>
|
||||
<div class="input">
|
||||
<span id="prompt">></span>
|
||||
<input type='text' id='input'>
|
||||
<div id="content" class="hbox" style="flex: 1 1; width: 100%">
|
||||
<div id="editPane" style="flex: 0 0 50%; display: none; flex-flow: column; overflow: auto">
|
||||
<div class="navigation">
|
||||
<input type="button" id="closeEditor" name="closeEditor" value="Close" onclick="closeEditor()">
|
||||
<input type="button" id="save" name="save" value="Save" onclick="save()">
|
||||
<input type="button" id="saveAs" name="saveAs" value="Save As" onclick="saveAs()">
|
||||
<input type="checkbox" id="run" name="run" checked><label for="run">Restart after save</label>
|
||||
<input type="button" id="revert" name="revert" value="Revert to Saved" onclick="revert()">
|
||||
</div>
|
||||
<textarea id="editor" class="main"></textarea>
|
||||
</div>
|
||||
<div class="vbox" style="flex: 1 0 50%; overflow: auto">
|
||||
<div id="terminals" class="vbox"><div id="terminal_" class="terminal" style="flex: 1 1"></div></div>
|
||||
<div class="input">
|
||||
<span id="prompt">></span>
|
||||
<input type='text' id='input'>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/terminal/client.js"></script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user