perkeep/server/go/camlistored/ui/permanode.html

56 lines
1.8 KiB
HTML
Raw Normal View History

<html>
<head>
<title>Permanode</title>
<script type="text/javascript" src="base64.js"></script>
<script type="text/javascript" src="Crypto.js"></script>
<script type="text/javascript" src="SHA1.js"></script>
<script type="text/javascript" src="camli.js"></script>
<script type="text/javascript" src="?camli.mode=config&cb=onConfiguration"></script>
<script type="text/javascript" src="permanode.js"></script>
2011-06-09 22:00:20 +00:00
<style>
div.fileupload {
margin: 0.25em;
border: 1px solid #888;
padding: 0.25em;
}
</style>
</head>
<body>
<div>[<a href="./">Home</a>]</div>
<h1>Permanode</h1>
<p>Permalink: <span id="permanode"></span> [<span id="permanodeBlob"></span>]</p>
<form id="formTitle">
<p>Title: <input type="text" id="inputTitle" size="30" value="(loading)" disabled="disabled" />
<input type="submit" id="btnSave" value="Save" disabled="disabled" /></p>
</form>
<form id="formTags">
<p>Tags: <span id="spanTags"></span> <input id="inputNewTag" /> <input type="submit" id="btnAddTag" value="Add Tag(s)" />
</form>
<form id="formType">
<p>Type:
<select id='type'>
<option value=''>(None / auto)</option>
<option value='_other'>(Other)</option>
<option value="file">File</option>
<option value="collection">File Collection / Gallery</option>
<option value="microblog">Microblog Post</option>
<option value="blog">Blog Post</option>
</select>
</p>
</form>
<div id='dnd' style="border: 2px dashed black; min-height: 250px; display: block;">
<form id="fileForm">
<input type="file" id="fileInput" multiple="true" onchange="">
<input type="submit" id="fileUploadBtn" value="Upload">
<form><p><i>(or drag &amp; drop files here)</i></p>
<pre id="info"></pre></div>
</body>
</html>