1
0
Fork 0
mirror of https://github.com/jstrieb/urlpages.git synced 2025-03-15 13:04:33 +01:00
urlpages/editor/index.html

42 lines
1.6 KiB
HTML
Raw Normal View History

2019-06-29 21:53:15 -07:00
<!DOCTYPE html>
<html>
<head>
2019-06-30 03:07:52 -07:00
<title>URL Pages Editor</title>
2020-05-27 16:35:30 -04:00
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="main.css">
<script src="../b64.js" type="text/javascript"></script>
<script src="editor.js" type="text/javascript"></script>
2019-06-29 21:53:15 -07:00
</head>
2019-06-30 00:19:52 -07:00
<body onload="initialize()">
2019-06-29 22:47:33 -07:00
<div id="textboxes" onkeyup="update()">
2019-07-01 20:46:28 -04:00
<textarea id="html" placeholder="HTML" rows="9"></textarea>
<textarea id="css" placeholder="CSS" rows="9"></textarea>
<textarea id="javascript" placeholder="JavaScript" rows="9"></textarea>
2019-06-29 22:47:33 -07:00
</div>
2019-06-29 21:53:15 -07:00
<div id="bottomleft-buttons">
<label for="hide">Hide Buttons
<input type="checkbox" id="hide" onclick="hideButtons(this)" />
</label>
2019-06-30 01:34:31 -07:00
<!-- Seemingly random attributes necessary for TinyUrl to accept the request -->
<form action="http://tinyurl.com/create.php" method="get" target="_blank">
<input type="hidden" id="source" name="source" value="indexpage">
<input type="hidden" name="url" id="url" />
2019-06-30 05:22:59 -07:00
<button onclick="setCodeUrl()">Short Link to Editor</button>
<button onclick="setViewUrl()">Short Link to Page</button>
2019-06-30 01:34:31 -07:00
</form>
<button><a id="getLinkLink" href="" target="_blank">Open Page</a></button>
2019-06-30 01:14:07 -07:00
<button onclick="showCopyCodePrompt()">Copy Code</button>
2019-06-30 01:25:38 -07:00
<button><a id="downloadLink" href="" target="_blank" download="export.html">Download Code</a></button>
<button><a href="https://jstrieb.github.io/link-lock" target="_blank">Add a Password</a></button>
</div>
<div id="topright-buttons">
<button><a href="http://github.com/jstrieb/urlpages" target="_blank">Fork on GitHub</a></button>
</div>
2019-06-30 00:19:52 -07:00
<iframe></iframe>
2019-06-29 21:53:15 -07:00
</body>
</html>