github.com/olivere/camlistore@v0.0.0-20140121221811-1b7ac2da0199/server/camlistored/ui/permanode.html (about)

     1  <!--
     2  Copyright 2012 The Camlistore Authors
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8  	http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  -->
    16  
    17  <!doctype html>
    18  <html>
    19  <head>
    20  	<title>Permanode</title>
    21  	<script src="closure/goog/base.js"></script>
    22  	<script src="./deps.js"></script>
    23  	<script src="?camli.mode=config&var=CAMLISTORE_CONFIG"></script>
    24  	<script>
    25  		goog.require('cam.PermanodePage');
    26  	</script>
    27  	<link rel="stylesheet" href="permanode.css">
    28  	<link rel="stylesheet" href="blob_item.css">
    29  	<link rel="stylesheet" href="blob_item_container.css">
    30  </head>
    31  <body class="cam-permanode-page">
    32  	<div class="cam-permanode-nav"><a href="./">Home</a></div>
    33  	<h1>Permanode</h1>
    34  
    35  	<p>
    36  	Permalink:
    37  	<span id="permanode"></span>
    38  	<span id="permanodeBlob" class="cam-permanode-nav"></span>
    39  	<span id="detailLink" class="cam-permanode-nav"></span>
    40  	</p>
    41  
    42  	<form id="formTitle">
    43  		<p>
    44  		Title:
    45  		<input type="text" id="inputTitle" size="30" value="(loading)" disabled="disabled">
    46  		<input type="submit" id="btnSaveTitle" value="Save" disabled="disabled">
    47  		</p>
    48  	</form>
    49  
    50  	<form id="formTags">
    51  		<p>
    52  		Tags:
    53  		<span id="spanTags"></span>
    54  		<input id="inputNewTag" placeholder="tag1, tag2, tag3">
    55  		<input type="submit" id="btnAddTag" value="Add Tag(s)">
    56  	</form>
    57  
    58  	<form id="formAccess">
    59  		<p>
    60  		Access:
    61  		<select id="selectAccess" disabled="disabled">
    62  			<option value="private">Private</option>
    63  			<option value="public">Public</option>
    64  		</select>
    65  		<input type="submit" id="btnSaveAccess" value="Save" disabled="disabled">
    66  
    67  		... with URL:
    68  		<select id="selectPublishRoot">
    69  			<option value=""></option>
    70  		</select>
    71  		<input type="text" id="publishSuffix" size="40">
    72  		<input type="submit" id="btnSavePublish" value="Set URL">
    73  		</p>
    74  	</form>
    75  
    76  	<div id="existingPaths"></div>
    77  
    78  	<div id="cammountTip"></div>
    79  
    80  	<div id="members"></div>
    81  	<p><button id="btnGallery" value="list">Thumbnails</button></p>
    82  	<div id="membersList"></div>
    83  	<div id="membersThumbs"></div>
    84  
    85  	<div id="content"></div>
    86  
    87  	<div id="dnd" class="cam-permanode-dnd">
    88  		<form id="fileForm">
    89  			<input type="file" id="fileInput" multiple="true" onchange="">
    90  			<input type="submit" id="fileUploadBtn" value="Upload">
    91  		</form>
    92  		<p id='filelist'>
    93  		<em>or drag &amp; drop files here</em>
    94  		</p>
    95  		<pre id="info"></pre>
    96  	</div>
    97  
    98  	<h3>Current object attributes</h3>
    99  	<pre id="debugattrs" style="font-size: 8pt"></pre>
   100  
   101  	<script>
   102  		var page = new cam.PermanodePage(CAMLISTORE_CONFIG);
   103  		page.decorate(document.body);
   104  	</script>
   105  </body>
   106  </html>