Cory McWilliams
f72e8cbd91
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4767 ed5197a5-7fde-0310-b194-c3ffbd925b24
41 lines
2.2 KiB
HTML
41 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Tilde Friends</title>
|
|
<link type="text/css" rel="stylesheet" href="/static/style.css">
|
|
<link type="image/png" rel="shortcut icon" href="/static/favicon.png">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<script>
|
|
function set_access_key_title(event) {
|
|
if (!event.srcElement.title) {
|
|
event.srcElement.title = `${event.srcElement.dataset.tip} [${(event.srcElement.accessKeyLabel || ('⌨️' + event.srcElement.accessKey)).toUpperCase()}]`;
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="display: flex; flex-flow: column">
|
|
<tf-navigation></tf-navigation>
|
|
<div id="content" class="hbox" style="flex: 1 1; width: 100%">
|
|
<div id="editPane" class="vbox" style="flex: 1 1; display: none">
|
|
<div class="navigation hbox">
|
|
<button id="closeEditor" name="closeEditor" accesskey="c" onmouseover="set_access_key_title(event)" data-tip="Close the editor">Close</button>
|
|
<button id="save" name="save" accesskey="s" onmouseover="set_access_key_title(event)" data-tip="Save the app under the given path">Save</button>
|
|
<button id="icon" name="icon" accesskey="i" onmouseover="set_access_key_title(event)" data-tip="Set an icon/emoji for the app">📦</button>
|
|
<input type="text" id="name" name="name" style="flex: 1 1; min-width: 1em"></input>
|
|
<button id="delete" name="delete" accesskey="d" onmouseover="set_access_key_title(event)" data-tip="Delete the app">Delete</button>
|
|
<button id="trace_button" accesskey="t" onmouseover="set_access_key_title(event)" data-tip="Open a performance trace for the server">Trace</button>
|
|
</div>
|
|
<div class="hbox" style="height: 100%">
|
|
<tf-files-pane></tf-files-pane>
|
|
<div style="display: flex; flex: 1 1 50%; flex-flow: column" id="editor"></div>
|
|
</div>
|
|
</div>
|
|
<div id="viewPane" class="vbox" style="flex: 1 1; overflow: auto">
|
|
<iframe id="document" sandbox="allow-forms allow-scripts allow-top-navigation allow-modals allow-popups allow-downloads" style="width: 100%; height: 100%; border: 0"></iframe>
|
|
</div>
|
|
</div>
|
|
<script>window.litDisableBundleWarning = true;</script>
|
|
<script src="/static/client.js" type="module"></script>
|
|
</body>
|
|
</html>
|