blob: 7c2876e90f165c551d61bb844f9c596515c062a6 [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
<head>
<title>Apache OODT Curation Interface</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<wicket:link>
<link type="text/css" rel="stylesheet" href="HomePage_wicket.css"/>
</wicket:link>
<wicket:remove>
<link type="text/css" rel="stylesheet" href="HomePage.css"/>
</wicket:remove>
</head>
<body>
<div id="page">
<div id="cas-header">
<div id="cas-logo-left"><!-- cas logo lhs --></div>
<div id="cas-logo-right"><!-- cas logo rhs --></div>
<h2 class="app-title" wicket:id="project_name">Project Name CAS Curation</h2>
<div class="userdetails">
<span wicket:id="loggedin_label">Logged in as mattmann</span>
<a href="#" wicket:id="login_link">Log In</a>
<a href="#" wicket:id="logout_link">Log Out</a>
</div>
</div>
</div>
<div class="menu">
<!-- Breadcrumbs Area -->
<div id="breadcrumbs">
<div style="margin-left: 10px;padding-left: 10px;">
<a href="#" style="color:black;" wicket:id="home_link">Home</a> > <span style="color:black;" wicket:id="crumb_name">Main</span>
</div>
</div>
</div>
<!-- begin main content -->
<div style="position:relative;min-height:300px;">
<wicket:child/>
<!-- so that it previews right -->
<wicket:remove>
<link type="text/css" rel="stylesheet" href="../../../../../../../../../../webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/curation/workbench/Workbench.css"/>
<div class="page">
<div class="container browsers">
<div id="browseStagingContainer">
<h5>Staging Area</h5>
<div id="browseStagingPath" class="pathbar">initializing...</div>
<div id="browseStaging" class="browser">
<div id="browseStagingNav">
<ul class="fileTree">
<li class="directory nav"><a id="stagingNavUpRoot" href="#" rel=".">.</a></li>
<li class="directory nav"><a id="stagingNavUpOne" href="#" rel="..">..</a></li>
</ul>
</div>
<div id="browseStagingContents"></div>
</div>
<div id="stagedMetadataWorkbench" class="editor">
<div id="infoNoMetadataExtractorDefined" class="info overlay">
<div class="infoContent">
No Metadata Detected...<br/>
</div>
</div>
<div id="stagingMetContainer">
<div id="stagingMetExtractorSelection">
<select id="stagingMetExtractorConfigList">
<option value="-1">Initializing...</option>
</select>
<input id="stagingMetExtractorRefreshButton" type="button" value="Refresh"/>
&nbsp;
</div>
<div id="stagedMetadataWorkbenchContent"></div>
</div>
</div>
</div>
<div id="browseCatalogContainer">
<h5>File Manager Catalog</h5>
<div id="browseCatalogPath" class="pathbar">initializing...</div>
<div id="browseCatalog" class="browser">
<div id="browseCatalogNav">
<ul class="fileTree">
<li class="directory nav"><a id="catalogNavUpRoot" href="#" rel=".">.</a></li>
<li class="directory nav"><a id="catalogNavUpOne" href="#" rel="..">..</a></li>
</ul>
</div>
<div id="browseCatalogContents"></div>
</div>
<div id="catalogMetadataWorkbench" class="editor">
<div id="catalogMetadataWorkbenchContent"></div>
</div>
</div>
<br class="clr"/>
</div>
<div class="container tasks">
<div id="ingestionTaskList">
<h5>File Manager Ingestion Task List</h5>
<div id="ingestionTaskListContent">
<table cellspacing="0" cellpadding="0" id="ingestionTaskListItems">
<thead>
<tr>
<th style="width:50px;">TaskId</th>
<th>Created</th>
<th>Files</th>
<th>Policy</th>
<th>ProductType</th>
<th>MetExtractor</th>
<th>MetExt Config</th>
<th>Status</th>
<th style="border-right-width:0px;">Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- product type workbench -->
<div id="productTypeWorkbenchContents" style="display:none">
<ul>
<li><a href='#ptwbAddProducts'>Add Products</a></li>
<li><a href='#ptwbMetadata'>View Metadata</a></li>
</ul><br class="clr"/>
<div id="ptwbAddProducts">
<span class="instructions">
Add files from the staging area by dragging them into the target box below. Once you have
Finished, click 'Save as Ingestion Task' to finalize.
</span>
<div id="droppedFileTarget" class="ptwbSectionBox">
<h5>File Drop Target...</h5>
</div>
<div id="droppedFileList" class="ptwbSectionBox">
<h5>Files to be ingested...</h5>
<ul></ul>
</div>
<div id="itMetExtractorSelector" class="ptwbSectionBox">
<h5>Metadata Extraction Configuration...</h5>
<span class="instructions">Choose a metadata extractor configuration from
the list below:
</span>
<select name="itMetExtractorConfigId" id="itMetExtractorConfigId">
<option value="">Initializing...</option>
</select><br/><br/>
</div>
<div id="itCreateIngestionTaskButton">
<span class="instructions">Click here to create an ingestion task for these files</span>
<input type="button" value="Save as Ingestion Task" onclick="createIngestionTask();"/>
</div>
</div>
<div id="ptwbMetadata">
<span class="instructions">
The following metadata has been defined for this product type.
</span>
<div class="ptwbMetadataList"></div>
</div>
</div>
</wicket:remove>
</div>
<!-- end main content -->
<div id="footer">
Apache Software Foundation.<br/>
<a href="http://apache.org/">apache.org</a><br/>
Built On Apache <a href="http://oodt.apache.org">OODT</a>
</div>
</body>
</html>