perkeep/server/camlistored/ui/search.html

52 lines
1.4 KiB
HTML

<html>
<head>
<title>Camlistored UI</title>
<script type="text/javascript" src="Crypto.js"></script>
<script type="text/javascript" src="SHA1.js"></script>
<script src="camli.js"></script>
<script src="?camli.mode=config&cb=onConfiguration"></script>
<script src="search.js"></script>
<link rel="stylesheet" href="camli.css">
</head>
<body>
<div class="camli-nav"><a href="./">Home</a></div>
<h1>Search</h1>
<h2>Find all roots</h2>
<form id="formRoots">
<input type="submit" id="btnRoots" value="Search">
</form>
<h2>In all attributes</h2>
<form id="formAnyAttr">
<input id="inputAnyAttr" placeholder="attrValue1">
<input type="submit" id="btnAnyAttr" value="Search">
</form>
<h2>By Tag</h2>
<form id="formTags">
<input id="inputTag" placeholder="tag1">
<input type="submit" id="btnTagged" value="Search">
</form>
<h2>By Title</h2>
<form id="formTitles">
<input id="inputTitle" placeholder="title1">
<input type="submit" id="btnTitle" value="Search">
</form>
<h3 id="titleRes">Search</h3>
<div id="divRes">
</div>
<p>
<form id="formAddToCollec">
<input id="inputCollec" placeholder="collection's permanode">
<input type="submit" id="btnAddToCollec" value="Add to collection"> or
</form>
<button id="btnNewCollec">Create new collection</button>
</p>
</body>
</html>