Added rough SVG support. Added doctypes to all of my HTML, and tried to fix some CSS issues that happened as a result.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3223 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-04-30 18:28:33 +00:00
parent 25d97e5e3b
commit 0bd836e915
5 changed files with 57 additions and 38 deletions

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<title>Web Terminal</title>
@ -10,18 +11,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="image/png" rel="shortcut icon" href="/terminal/favicon.png"></link>
</head>
<body>
<div id="body">
<div>
<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 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>