Cory McWilliams
a52c0367bf
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3226 ed5197a5-7fde-0310-b194-c3ffbd925b24
35 lines
2.5 KiB
HTML
35 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Web Terminal</title>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/codemirror.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/edit/trailingspace.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/dialog/dialog.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/search/search.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/search/searchcursor.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/search/jump-to-line.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/search/matchesonscrollbar.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/scroll/annotatescrollbar.min.js"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/codemirror.min.css"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/dialog/dialog.min.css"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/addon/search/matchesonscrollbar.min.css"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/theme/base16-dark.min.css"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.12.0/mode/javascript/javascript.min.js"></script>
|
|
<link type ="text/css" rel="stylesheet" href="/terminal/style.css"></link>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link type="image/png" rel="shortcut icon" href="/terminal/favicon.png"></link>
|
|
</head>
|
|
<body style="display: flex; flex-flow: column">
|
|
<div class="navigation">
|
|
<input type="button" id="back" name="back" value="Back" onclick="back()">
|
|
<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">Run after Saving</label>
|
|
<input type="button" id="revert" name="revert" value="Revert to Saved" onclick="revert()">
|
|
<button onclick="addLicense()"><img src="/terminal/agplv3-88x31.png" width="34" height="12"> Add License Header</button>
|
|
</div>
|
|
<textarea id="editor" class="main">$(SOURCE)</textarea>
|
|
<script src="/terminal/editor.js"></script>
|
|
</body>
|
|
</html>
|