RandomSec/main/webapp/modules/core/index.vt

126 lines
6.2 KiB
Plaintext

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Google Refine</title>
<link rel="icon" type="image/png" href="images/favicon.png">
$scriptInjection
$styleInjection
</head>
<body>
<div id="header">
<span id="google-refine-version"></span>
<a id="app-home-button" href="./"><img alt="Google Refine" src="images/google-refine-home-button.png" /></a>
<div id="path">&nbsp;</div>
</div>
<div id="body">
<div class="grid-layout layout-loose"><table>
<tr>
<td id="welcome-panel">
<h1>Welcome to Google Refine</h1>
<p>Google Refine is a power tool that allows you to load data, understand it,
clean it up, reconcile it internally, augment it with data coming from
<a href="http://www.freebase.com/" class="quiet-link">Freebase</a>, and optionally
contribute your data to Freebase for others to use.
</p>
<p><a href="about.html" class="quiet-link">Credits and Licenses &raquo;</a>
</p>
</td>
<td id="projects-panel">
<div class="island">
<div id="projects" class="round-corners">
<h1>Open a Project</h1>
<div id="projects-container"></div>
</div>
</div>
</td>
<td id="forms">
<div class="island">
<form id="file-upload-form" method="post" enctype="multipart/form-data" action="/command/core/create-project-from-upload" accept-charset="UTF-8">
<div id="form-tabs-create-project" class="round-corners">
<a class="form-tab-link" href="javascript:showHide('file-upload-form', 'project-upload-form')">or Import an Existing Project</a>
<h1>Create a New Project</h1>
<div class="grid-layout layout-tight layout-full"><table>
<tr><td><span class="field-label">Data File</span>:</td>
<td><input type="file" id="project-file-input" name="project-file" /></td>
</tr>
<tr><td><span class="field-label">Or Data File URL</span>:</td>
<td><input id="project-url-input" name="project-url" size="50" /></td>
</tr>
<tr><td><span class="field-label">Project Name</span>:</td>
<td><input type="text" size="30" id="project-name-input" name="project-name" /></td></tr>
<tr><td></td>
<td><input type="submit" value="Create Project" id="upload-file-button" class="button-primary" /></td></tr>
</table></div>
</div>
<div id="form-create-project-more-options">
<h2>Advanced Options</h2>
<table><tr>
<td>
<div class="field-label">Limit load to:</div>
<div class="field-body"><input id="limit-input" name="limit" size="5" /> rows (blank for all)</div>
<div class="field-label">Ignore:</div>
<div class="field-body"><input id="ignore-input" name="ignore" size="5" value="0" /> initial non-blank lines</div>
<div class="field-label">Skip:</div>
<div class="field-body"><input id="skip-input" name="skip" size="5" value="0" /> initial data rows</div>
</td>
<td>
<div class="field-label">When parsing text files:</div>
<div class="field-group">
<div><input id="split-into-columns-input" type="checkbox" checked="true" name="split-into-columns" /> Split into columns</div>
<div>Column separator:
<input id="separator-input" name="separator" size="2" /></div>
<div class="field-hint">leave blank to guess comma or tab</div>
</div>
<div class="field-group">
<div><input id="guess-value-type-input" name="guess-value-type" type="checkbox" checked="true" /> Guess cells' value types</div>
<div class="field-hint">try to parse numbers, dates, etc.</div>
</div>
<div class="field-group">
<div>Header lines:
<input id="header-lines-input" name="header-lines" size="5" value="1" /></div>
<div class="field-hint">use 0 if there is no header line</div>
</div>
<div class="field-group">
<div><input id="ignore-quotes-input" name="ignore-quotes" type="checkbox" />Ignore Quotation Marks </div>
<div class="field-hint">Ignore quotation marks,<br/>using all newlines and separators</div>
</div>
</td>
</tr></table>
</div>
</form>
<form id="project-upload-form" method="post" enctype="multipart/form-data" action="/command/core/import-project" accept-charset="UTF-8" style="display:none;">
<div id="form-tabs-import-project" class="round-corners">
<a class="form-tab-link" href="javascript:showHide('project-upload-form', 'file-upload-form')">or Create a New Project</a>
<h1>Import an Existing Project</h1>
<p>Import an existing Google Refine .tar or .tar.gz file:</p>
<div class="grid-layout layout-tight"><table>
<tr><td class="field-label">Project File:</td><td><input type="file" id="project-tar-file-input" name="project-file" /></td></tr>
<tr><td class="field-label">Rename (optional):</td><td><input type="text" size="30" id="project-name-input" name="project-name" /></td></tr>
<tr><td></td><td><input type="submit" value="Import Project" id="import-project-button" class="button-primary" /></td></tr>
</table></div>
</div>
</form>
</div>
</td>
</tr>
</table></div>
</div>
</body>
</html>