| 
									
										
										
										
											2016-04-30 18:28:33 +00:00
										 |  |  | <!DOCTYPE html> | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | <html> | 
					
						
							|  |  |  | 	<head> | 
					
						
							|  |  |  | 		<title>Tilde Friends</title> | 
					
						
							| 
									
										
										
										
											2021-01-02 18:10:00 +00:00
										 |  |  | 		<link type="text/css" rel="stylesheet" href="/static/style.css"> | 
					
						
							|  |  |  | 		<link type="image/png" rel="shortcut icon" href="/static/favicon.png"> | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | 		<meta name="viewport" content="width=device-width, initial-scale=1"> | 
					
						
							|  |  |  | 	</head> | 
					
						
							| 
									
										
										
										
											2016-04-30 18:28:33 +00:00
										 |  |  | 	<body style="display: flex; flex-flow: column"> | 
					
						
							|  |  |  | 		<div class="navigation"> | 
					
						
							| 
									
										
										
										
											2016-12-22 17:38:21 +00:00
										 |  |  | 			<span>😎</span> | 
					
						
							| 
									
										
										
										
											2016-04-30 18:28:33 +00:00
										 |  |  | 			<span id="title">Tilde Friends</span> | 
					
						
							| 
									
										
										
										
											2022-02-05 23:04:04 +00:00
										 |  |  | 			<a accesskey="h" data-tip="Open home app." href="/">home</a> | 
					
						
							|  |  |  | 			<a accesskey="a" data-tip="Open apps list." href="/~core/apps/">apps</a> | 
					
						
							| 
									
										
										
										
											2022-02-03 23:57:47 +00:00
										 |  |  | 			<a accesskey="e" data-tip="Toggle the app editor." href="#" onclick="event.preventDefault(); toggleEdit()">edit</a> | 
					
						
							| 
									
										
										
										
											2022-02-05 23:04:04 +00:00
										 |  |  | 			<a accesskey="t" data-tip="Open performance trace." href="#" onclick="event.preventDefault(); trace()">trace</a> | 
					
						
							|  |  |  | 			<a accesskey="g" data-tip="Show graphs." href="#" onclick="event.preventDefault(); toggleStats()">stats</a> | 
					
						
							| 
									
										
										
										
											2016-04-30 18:28:33 +00:00
										 |  |  | 			<span id="status"></span> | 
					
						
							|  |  |  | 			<span id="login"></span> | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2017-01-16 15:24:44 +00:00
										 |  |  | 		<div id="content" class="hbox" style="flex: 1 1; width: 100%"> | 
					
						
							| 
									
										
										
										
											2022-03-07 21:06:20 +00:00
										 |  |  | 			<div id="statsPane" class="vbox" style="display: none; flex 1 1"> | 
					
						
							| 
									
										
										
										
											2022-01-22 18:50:29 +00:00
										 |  |  | 				<div class="hbox"> | 
					
						
							|  |  |  | 					<input type="button" id="closeStats" name="closeStats" value="Close" onclick="closeStats()"> | 
					
						
							|  |  |  | 				</div> | 
					
						
							| 
									
										
										
										
											2022-03-07 21:06:20 +00:00
										 |  |  | 				<div id="graphs" class="vbox" style="height: 100%"></div> | 
					
						
							| 
									
										
										
										
											2022-01-22 18:50:29 +00:00
										 |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2021-01-02 18:10:00 +00:00
										 |  |  | 			<div id="editPane" class="vbox" style="display: none"> | 
					
						
							| 
									
										
										
										
											2017-01-16 15:24:44 +00:00
										 |  |  | 				<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()"> | 
					
						
							| 
									
										
										
										
											2021-01-02 18:10:00 +00:00
										 |  |  | 					<input type="text" id="name" name="name"></input> | 
					
						
							| 
									
										
										
										
											2022-01-30 14:51:09 +00:00
										 |  |  | 					<input type="button" id="push_to_parent" value="Push to Parent" onclick="pushToParent()"> | 
					
						
							|  |  |  | 					<input type="button" id="pull_from_parent" value="Pull from Parent" onclick="pullFromParent()"> | 
					
						
							| 
									
										
										
										
											2017-01-16 15:24:44 +00:00
										 |  |  | 					<input type="button" id="revert" name="revert" value="Revert to Saved" onclick="revert()"> | 
					
						
							| 
									
										
										
										
											2022-06-20 18:13:19 +00:00
										 |  |  | 					<input type="button" id="delete" name="delete" value="Delete" onclick="deleteApp()"> | 
					
						
							| 
									
										
										
										
											2021-01-02 18:10:00 +00:00
										 |  |  | 				</div> | 
					
						
							|  |  |  | 				<div class="hbox" style="height: 100%"> | 
					
						
							| 
									
										
										
										
											2022-02-26 22:51:35 +00:00
										 |  |  | 					<div id="filesPane"> | 
					
						
							|  |  |  | 						<div class="hbox"> | 
					
						
							|  |  |  | 							<span id="files_header">Files</span> | 
					
						
							|  |  |  | 							<span id="files_hide" onclick="hideFiles()">«</span> | 
					
						
							|  |  |  | 							<span id="files_show" onclick="showFiles()">»</span> | 
					
						
							|  |  |  | 						</div> | 
					
						
							|  |  |  | 						<div id="files_content"> | 
					
						
							|  |  |  | 							<ul id="files"></ul> | 
					
						
							|  |  |  | 							<br> | 
					
						
							|  |  |  | 							<div><button onclick="newFile()">New File</button></div> | 
					
						
							|  |  |  | 							<div><button onclick="removeFile()">Remove File</button></div> | 
					
						
							|  |  |  | 						</div> | 
					
						
							| 
									
										
										
										
											2021-01-02 18:10:00 +00:00
										 |  |  | 					</div> | 
					
						
							|  |  |  | 					<div id="docPane" style="display: flex; flex: 1 1 50%; flex-flow: column"> | 
					
						
							|  |  |  | 						<div style="flex: 1 1 50%; position: relative"> | 
					
						
							|  |  |  | 							<textarea id="editor" class="main"></textarea> | 
					
						
							|  |  |  | 						</div> | 
					
						
							|  |  |  | 					</div> | 
					
						
							| 
									
										
										
										
											2017-01-16 15:24:44 +00:00
										 |  |  | 				</div> | 
					
						
							|  |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2021-12-22 15:05:08 +00:00
										 |  |  | 			<div id="viewPane" class="vbox" style="flex: 1 0 50%; overflow: auto"> | 
					
						
							| 
									
										
										
										
											2022-06-20 19:50:03 +00:00
										 |  |  | 				<iframe id="document" sandbox="allow-forms allow-scripts allow-top-navigation allow-modals" allow="serial" style="width: 100%; height: 100%; border: 0"></iframe> | 
					
						
							| 
									
										
										
										
											2017-01-16 15:24:44 +00:00
										 |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2016-04-30 18:28:33 +00:00
										 |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2022-06-18 17:07:36 +00:00
										 |  |  | 		<script src="/split/split.min.js"></script> | 
					
						
							|  |  |  | 		<script src="/smoothie/smoothie.js"></script> | 
					
						
							| 
									
										
										
										
											2021-01-02 18:10:00 +00:00
										 |  |  | 		<script src="/static/client.js"></script> | 
					
						
							| 
									
										
										
										
											2016-03-12 18:50:43 +00:00
										 |  |  | 	</body> | 
					
						
							|  |  |  | </html> |