Renamed in client-side code. Refine should start and existing projects should still work.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1293 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-09-22 22:55:28 +00:00
parent 22cbcddd78
commit d15fe661fa
42 changed files with 194 additions and 201 deletions

View File

@ -1,26 +1,26 @@
Gridworks Helpers for Eclipse
-----------------------------
Google Refine for Eclipse
-------------------------
This file contains Eclipse-specific help files that can get simplify your life
developing Gridworks with Eclipse (http://www.eclipse.org/).
developing Google Refine with Eclipse (http://www.eclipse.org/).
Launch Files (*.launch)
-----------------------
These are files that help you running Gridworks directly from eclipse without having to execute
These are files that help you running Google Refine directly from eclipse without having to execute
the shell scripts.
To run, right click on the files directly from Eclipse, then do "Run As -> <name>".
Code Style Format Configurations (Gridworks.style.xml)
Code Style Format Configurations (Refine.style.xml)
------------------------------------------------------
This is the code formatting configurations that all Gridworks developers should follow.
This is the code formatting configurations that all Google Refine developers should follow.
To import, open the Eclipse preferences, then follow to "Java > Code Style > Formatter"
and click the "Import" button and load the file.
@ -33,6 +33,6 @@
Thank you for your interest.
The Freebase Gridworks Development Team
http://code.google.com/p/freebase-gridworks/
The Google Refine Development Team
http://code.google.com/p/google-refine/

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<profiles version="11">
<profile kind="CodeFormatterProfile" name="Gridworks" version="11">
<profile kind="CodeFormatterProfile" name="Google Refine" version="11">
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>

View File

@ -39,7 +39,7 @@ Apache License 2.0
------------------
licenses/apache2.0.LICENSE.txt
calendar-parser (package com.google.gridworks.expr.util)
calendar-parser (package com.google.refine.expr.util)
ant-tools
commons-lang
commons-codec

View File

@ -2,11 +2,11 @@
<!--+
|
| Gridworks Extensions Build File
| Google Refine Extensions Build File
|
+-->
<project name="gridworks-extensions" default="build" basedir=".">
<project name="google-refine-extensions" default="build" basedir=".">
<target name="build">
<echo message="Building extensions" />
<ant dir="sample-extension/" target="build" />

View File

@ -7,7 +7,7 @@ var test_facets = new function() {
// test opening Food project
test = newTest();
assert (test, "assertText", { jquery: '("h1")[0]', validator: "Welcome to Gridworks" });
assert (test, "assertText", { jquery: '("h1")[0]', validator: "Welcome to Google Refine" });
this.test_home_page = test;
// make sure the dataset was loaded properly

View File

@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>About Freebase Gridworks</title>
<title>About Google Refine</title>
<link rel="icon" type="image/png" href="images/favicon.png">
<link rel="stylesheet" href="/styles/common.css" />
<link rel="stylesheet" href="/styles/index.css" />
@ -9,9 +9,9 @@
<script type="text/javascript" src="externals/jquery-1.4.2.min.js"></script>
<script>
$(function() {
if (GridworksVersion && GridworksVersion.version) {
if (GridworksVersion.version != "$VERSION") {
$("#version").text("Version " + GridworksVersion.version + " [" + GridworksVersion.revision + "]").show();
if (GoogleRefineVersion && GoogleRefineVersion.version) {
if (GoogleRefineVersion.version != "$VERSION") {
$("#version").text("Version " + GoogleRefineVersion.version + " [" + GoogleRefineVersion.revision + "]").show();
}
}
});
@ -66,29 +66,30 @@
<body>
<div id="header">
<a id="logo" href="http://www.freebase.com/" title="Freebase"><img alt="Freebase" src="images/freebase-headerlogo.png" /></a>
<div id="path"><span class="app-path-section"><a href="./">Gridworks</a></span></div>
<div id="path"><span class="app-path-section"><a href="./">Google Refine</a></span></div>
</div>
<div id="body">
<h1>About Free<b>base</b> Grid<b>works</b></h1>
<h1>About Google Refine</h1>
<h2 id="version" style="display: none"></h2>
<div id="about">
<p>
Freebase Gridworks is a power tool that allows you to load data,
Google Refine is a power tool that allows you to load data,
understand it, clean it up, reconcile it internally, and augment it
with data coming from Freebase. All with the comfort and privacy of
with data coming from Freebase and other web sources. All with the comfort and privacy of
your own computer.</p>
<p>
It was originally developed by <a href="http://www.metaweb.com/">Metaweb Technologies, Inc.</a>
It was originally developed by <a href="http://www.metaweb.com/">Metaweb Technologies, Inc.</a>.
Metaweb was acquired by <a href="http://www.google.com/">Google, Inc.</a>, in July 2010.
</p>
<h2>License</h2>
<pre class="license">/*
* Copyright (c) 2010, Metaweb Technologies, Inc. All rights reserved.
* Copyright (c) 2010, Google, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -102,11 +103,11 @@
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY METAWEB TECHNOLOGIES AND CONTRIBUTORS
* THIS SOFTWARE IS PROVIDED BY GOOGLE, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL METAWEB
* TECHNOLOGIES OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE,
* INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
@ -123,7 +124,7 @@
------------------
licenses/apache2.0.LICENSE.txt
calendar-parser (package com.google.gridworks.expr.util)
calendar-parser (package com.google.refine.expr.util)
ant-tools
commons-lang
commons-codec
@ -220,11 +221,5 @@ Flag icon
</ul>
</div>
</div>
<div id="footer">
<a href="about.html">About Freebase Gridworks</a>
&bull;
&copy; 2010 <a href="http://www.metaweb.com/">Metaweb Technologies, Inc.</a>
</div>
</body>
</html>

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Error - Gridworks</title>
<title>Error - Google Refine</title>
<link rel="icon" type="image/png" href="images/favicon.png">
@ -27,19 +27,19 @@
<body>
<div id="header">
<a id="logo" href="http://www.freebase.com/" title="Freebase"><img alt="Freebase" src="images/freebase-headerlogo.png" /></a>
<div id="path"><span class="app-path-section"><a href="./">Gridworks</a></span></div>
<div id="path"><span class="app-path-section"><a href="./">Google Refine</a></span></div>
</div>
<div id="body">
<h1>Oops, something went wrong!</h1>
<p id="message"></p>
<p>Redirecting you back to <a href="index.html">Gridworks' home page</a> in 20 seconds ...</p>
<p>Redirecting you back to <a href="index.html">Google Refine' home page</a> in 20 seconds ...</p>
</div>
<div id="footer">
<a href="about.html">About Freebase Gridworks</a>
<a href="about.html">About Google Refine</a>
&bull;
&copy; 2010 <a href="http://www.metaweb.com/">Metaweb Technologies, Inc.</a>
&copy; 2010 <a href="http://www.metaweb.com/">Google, Inc.</a>
</div>
</body>
</html>

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Freebase Gridworks</title>
<title>Google Refine</title>
<link rel="icon" type="image/png" href="images/favicon.png">
@ -10,23 +10,21 @@
</head>
<body>
<div id="header">
<span id="gridworks-version"></span>
<span id="google-refine-version"></span>
<a id="logo" href="http://www.freebase.com/" title="Freebase"><img alt="Freebase" src="images/freebase-headerlogo.png" /></a>
<div id="path"><span class="app-path-section"><a href="./">Gridworks</a></span></div>
<div id="path"><span class="app-path-section"><a href="./">Google Refine</a></span></div>
</div>
<div id="body">
<div class="grid-layout layout-loose"><table>
<tr>
<td id="welcome-panel">
<h1>Welcome to Gridworks</h1>
<p>Freebase Gridworks is a power tool that allows you to load data, understand it,
<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>It was originally developed by <a href="http://www.metaweb.com/" class="quiet-link">Metaweb</a>.
</p>
<p><a href="about.html" class="quiet-link">Credits and Licenses &raquo;</a>
</p>
</td>
@ -111,7 +109,7 @@
<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 Gridworks .tar or .tar.gz file:</p>
<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>

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Freebase Gridworks - Preferences</title>
<title>Google Refine - Preferences</title>
<script type="text/javascript" src="wirings.js"></script>
$scriptInjection
@ -14,7 +14,7 @@
<body>
<div id="header">
<a id="logo" href="http://www.freebase.com/" title="Freebase"><img alt="Freebase" src="images/freebase-headerlogo.png" /></a>
<div id="path"><span class="app-path-section"><a href="./">Gridworks</a></span><span class="app-path-section">Preferences</span></div>
<div id="path"><span class="app-path-section"><a href="./">Google Refine</a></span><span class="app-path-section">Preferences</span></div>
</div>
<div id="body">

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Freebase Gridworks</title>
<title>Google Refine</title>
<script type="text/javascript">var theProject = { id : $projectID };</script>
<script type="text/javascript" src="wirings.js"></script>
@ -15,7 +15,7 @@
<body>
<div id="header">
<a id="logo" href="http://www.freebase.com/" title="Freebase"><img alt="Freebase" src="images/freebase-headerlogo.png" /></a>
<div id="path"><span class="app-path-section"><a href="./">Gridworks</a></span></div>
<div id="path"><span class="app-path-section"><a href="./">Google Refine</a></span></div>
</div>
<div id="body">

View File

@ -293,7 +293,7 @@ ClusteringDialog.prototype._apply = function(onDone) {
}
if (edits.length > 0) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"mass-edit",
{},
{

View File

@ -36,7 +36,7 @@ ColumnReorderingDialog.prototype._dismiss = function() {
ColumnReorderingDialog.prototype._commit = function() {
var columnNames = this._elmts.columnContainer.find('div').map(function() { return this.getAttribute("column"); }).get();
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"reorder-columns",
null,
{ "columnNames" : JSON.stringify(columnNames) },

View File

@ -14,7 +14,7 @@
</tr>
<tr>
<td colspan="2">
<div id="expression-preview-tabs" class="gridworks-tabs">
<div id="expression-preview-tabs" class="refine-tabs">
<ul>
<li><a href="#expression-preview-tabs-preview">Preview</a></li>
<li><a href="#expression-preview-tabs-history">History</a></li>

View File

@ -39,7 +39,7 @@ ExtendDataPreviewDialog.getAllProperties = function(typeID, onDone) {
var done = false;
$.getJSON(
Gridworks.gridworksHelperService + "/get_properties_of_type?type=" + typeID + "&callback=?",
Refine.refineHelperService + "/get_properties_of_type?type=" + typeID + "&callback=?",
null,
function(data) {
if (done) return;

View File

@ -107,7 +107,7 @@ TemplatingExporterDialog.prototype._export = function() {
.css("display", "none")
.attr("method", "post")
.attr("action", "/command/core/export-rows/" + name + ".txt")
.attr("target", "gridworks-export");
.attr("target", "refine-export");
var appendField = function(name, value) {
$('<textarea />')
@ -127,7 +127,7 @@ TemplatingExporterDialog.prototype._export = function() {
document.body.appendChild(form);
window.open("about:blank", "gridworks-export");
window.open("about:blank", "refine-export");
form.submit();
document.body.removeChild(form);

View File

@ -495,7 +495,7 @@ ListFacet.prototype._editChoice = function(choice, choiceDiv) {
edit.from = [ originalContent ];
}
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"mass-edit",
{},
{
@ -610,7 +610,7 @@ ListFacet.prototype._remove = function() {
};
ListFacet.prototype._updateRest = function() {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};
ListFacet.prototype._editExpression = function() {
@ -619,7 +619,7 @@ ListFacet.prototype._editExpression = function() {
("Edit Facet's Expression based on Column " + this._config.columnName) :
"Edit Facet's Expression";
var column = Gridworks.columnNameToColumn(this._config.columnName);
var column = Refine.columnNameToColumn(this._config.columnName);
var o = DataTableView.sampleVisibleRows(column);
new ExpressionPreviewDialog(

View File

@ -332,7 +332,7 @@ RangeFacet.prototype._remove = function() {
};
RangeFacet.prototype._updateRest = function() {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};
RangeFacet.prototype._editExpression = function() {
@ -341,7 +341,7 @@ RangeFacet.prototype._editExpression = function() {
("Edit Facet's Expression based on Column " + this._config.columnName) :
"Edit Facet's Expression";
var column = Gridworks.columnNameToColumn(this._config.columnName);
var column = Refine.columnNameToColumn(this._config.columnName);
var o = DataTableView.sampleVisibleRows(column);
new ExpressionPreviewDialog(

View File

@ -319,5 +319,5 @@ ScatterplotFacet.prototype._remove = function() {
};
ScatterplotFacet.prototype._updateRest = function() {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};

View File

@ -130,5 +130,5 @@ TextSearchFacet.prototype._scheduleUpdate = function() {
};
TextSearchFacet.prototype._updateRest = function() {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};

View File

@ -359,7 +359,7 @@ TimeRangeFacet.prototype._remove = function() {
};
TimeRangeFacet.prototype._updateRest = function() {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};
TimeRangeFacet.prototype._editExpression = function() {
@ -368,7 +368,7 @@ TimeRangeFacet.prototype._editExpression = function() {
("Edit Facet's Expression based on Column " + this._config.columnName) :
"Edit Facet's Expression";
var column = Gridworks.columnNameToColumn(this._config.columnName);
var column = Refine.columnNameToColumn(this._config.columnName);
var o = DataTableView.sampleVisibleRows(column);
new ExpressionPreviewDialog(

View File

@ -54,7 +54,7 @@ function formatDate(d) {
}
function isThereNewRelease() {
var thisRevision = GridworksVersion.revision;
var thisRevision = GoogleRefineVersion.revision;
var revision_pattern = /r([0-9]+)/;
@ -62,10 +62,10 @@ function isThereNewRelease() {
return false;
}
var latestRevision = GridworksReleases.releases[0].revision;
var latestRevision = GoogleRefineReleases.releases[0].revision;
var thisRev = parseInt(revision_pattern.exec(thisRevision)[1],10);
var latestRev = parseInt(revision_pattern.exec(GridworksReleases.releases[0].revision)[1],10);
var latestRev = parseInt(revision_pattern.exec(GoogleRefineReleases.releases[0].revision)[1],10);
return latestRev > thisRev;
}
@ -203,19 +203,19 @@ function onLoad() {
$("#more-options").show();
});
var version = (GridworksVersion.version != "$VERSION") ? "Version " + GridworksVersion.version + "-" + GridworksVersion.revision : "";
$("#gridworks-version").text(version);
var version = (GoogleRefineVersion.version != "$VERSION") ? "Version " + GoogleRefineVersion.version + "-" + GoogleRefineVersion.revision : "";
$("#google-refine-version").text(version);
var script = $('<script></script>')
.attr("src", "http://freebase-gridworks.googlecode.com/svn/support/releases.js")
.attr("src", "http://google-refine.googlecode.com/svn/support/releases2.js")
.attr("type", "text/javascript")
.appendTo(document.body);
var poll = function() {
if ("GridworksReleases" in window) {
if ("GoogleRefineReleases" in window) {
if (isThereNewRelease()) {
$('<div id="version-message">' +
'New version "' + GridworksReleases.releases[0].description + '" <a href="' + GridworksReleases.homepage + '">available for download here</a>.' +
'New version "' + GoogleRefineReleases.releases[0].description + '" <a href="' + GoogleRefineReleases.homepage + '">available for download here</a>.' +
'</div>').appendTo(document.body);
}
} else {

View File

@ -1,11 +1,11 @@
var theProject;
var ui = {};
var Gridworks = {
gridworksHelperService: "http://6.gridworks-helper.dfhuynh.user.dev.freebaseapps.com"
var Refine = {
refineHelperService: "http://6.gridworks-helper.dfhuynh.user.dev.freebaseapps.com"
};
Gridworks.reportException = function(e) {
Refine.reportException = function(e) {
if (window.console) {
console.log(e);
}
@ -71,22 +71,22 @@ function initializeUI(uiState) {
$('<span class="app-path-section" id="project-name-in-path"></span>').appendTo(path);
$('<a href="javascript:{}" class="permalink">permalink</a>')
.mouseenter(function() {
this.href = Gridworks.getPermanentLink();
this.href = Refine.getPermanentLink();
}).appendTo(path);
Gridworks.setTitle();
Refine.setTitle();
var body = $("#body").empty().html(
'<div bind="viewPanel" class="view-panel"></div>' +
'<div bind="processPanel" class="process-panel"></div>' +
'<div bind="leftPanel" class="left-panel">' +
'<div bind="leftPanelTabs" class="gridworks-tabs">' +
'<div bind="leftPanelTabs" class="refine-tabs">' +
'<ul>' +
'<li><a href="#gridworks-tabs-facets">Facet/Filter</a></li>' +
'<li><a href="#gridworks-tabs-history" bind="historyTabHeader">Undo/Redo</a></li>' +
'<li><a href="#refine-tabs-facets">Facet/Filter</a></li>' +
'<li><a href="#refine-tabs-history" bind="historyTabHeader">Undo/Redo</a></li>' +
'</ul>' +
'<div id="gridworks-tabs-facets" bind="facetPanel" class="facet-panel"></div>' +
'<div id="gridworks-tabs-history" bind="historyPanel" class="history-panel"></div>' +
'<div id="refine-tabs-facets" bind="facetPanel" class="facet-panel"></div>' +
'<div id="refine-tabs-history" bind="historyPanel" class="history-panel"></div>' +
'</div>' +
'</div>' +
'<div class="menu-bar-container" bind="menuBarContainer"><div bind="menuBarPanel" class="menu-bar"></div></div>'
@ -116,11 +116,11 @@ function initializeUI(uiState) {
$(window).bind("resize", resizeAll);
if (uiState.facets) {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
}
}
Gridworks.setTitle = function(status) {
Refine.setTitle = function(status) {
var title = theProject.metadata.name + " - Gridworks";
if (status) {
title = status + " - " + title;
@ -133,7 +133,7 @@ Gridworks.setTitle = function(status) {
$('<a href="#">' + theProject.metadata.name + '</a>').appendTo(name);
};
Gridworks.reinitializeProjectData = function(f) {
Refine.reinitializeProjectData = function(f) {
Ajax.chainGetJSON(
"/command/core/get-project-metadata?" + $.param({ project: theProject.id }), null,
function(data) {
@ -155,7 +155,7 @@ Gridworks.reinitializeProjectData = function(f) {
* Utility state functions
*/
Gridworks.createUpdateFunction = function(options, onFinallyDone) {
Refine.createUpdateFunction = function(options, onFinallyDone) {
var functions = [];
var pushFunction = function(f) {
var index = functions.length;
@ -168,7 +168,7 @@ Gridworks.createUpdateFunction = function(options, onFinallyDone) {
ui.historyWidget.update(onDone);
});
if (options.everythingChanged || options.modelsChanged || options.columnStatsChanged) {
pushFunction(Gridworks.reinitializeProjectData);
pushFunction(Refine.reinitializeProjectData);
}
if (options.everythingChanged || options.modelsChanged || options.rowsChanged || options.rowMetadataChanged || options.cellsChanged || options.engineChanged) {
pushFunction(function(onDone) {
@ -184,14 +184,14 @@ Gridworks.createUpdateFunction = function(options, onFinallyDone) {
return functions[0];
};
Gridworks.update = function(options, onFinallyDone) {
Refine.update = function(options, onFinallyDone) {
var done = false;
var dismissBusy = null;
Gridworks.setAjaxInProgress();
Refine.setAjaxInProgress();
Gridworks.createUpdateFunction(options, function() {
Gridworks.clearAjaxInProgress();
Refine.createUpdateFunction(options, function() {
Refine.clearAjaxInProgress();
done = true;
if (dismissBusy) {
@ -209,11 +209,11 @@ Gridworks.update = function(options, onFinallyDone) {
}, 500);
};
Gridworks.postCoreProcess = function(command, params, body, updateOptions, callbacks) {
Gridworks.postProcess("core", command, params, body, updateOptions, callbacks);
Refine.postCoreProcess = function(command, params, body, updateOptions, callbacks) {
Refine.postProcess("core", command, params, body, updateOptions, callbacks);
};
Gridworks.postProcess = function(moduleName, command, params, body, updateOptions, callbacks) {
Refine.postProcess = function(moduleName, command, params, body, updateOptions, callbacks) {
updateOptions = updateOptions || {};
callbacks = callbacks || {};
@ -238,14 +238,14 @@ Gridworks.postProcess = function(moduleName, command, params, body, updateOption
dismissBusy();
}
Gridworks.clearAjaxInProgress();
Refine.clearAjaxInProgress();
if (o.code == "error") {
if ("onError" in callbacks) {
try {
callbacks.onError(o);
} catch (e) {
Gridworks.reportException(e);
Refine.reportException(e);
}
} else {
alert(o.message);
@ -255,12 +255,12 @@ Gridworks.postProcess = function(moduleName, command, params, body, updateOption
try {
callbacks.onDone(o);
} catch (e) {
Gridworks.reportException(e);
Refine.reportException(e);
}
}
if (o.code == "ok") {
Gridworks.update(updateOptions, callbacks.onFinallyDone);
Refine.update(updateOptions, callbacks.onFinallyDone);
if ("historyEntry" in o) {
ui.processWidget.showUndo(o.historyEntry);
@ -270,7 +270,7 @@ Gridworks.postProcess = function(moduleName, command, params, body, updateOption
try {
callbacks.onPending(o);
} catch (e) {
Gridworks.reportException(e);
Refine.reportException(e);
}
}
ui.processWidget.update(updateOptions, callbacks.onFinallyDone);
@ -278,7 +278,7 @@ Gridworks.postProcess = function(moduleName, command, params, body, updateOption
}
}
Gridworks.setAjaxInProgress();
Refine.setAjaxInProgress();
$.post(
"/command/" + moduleName + "/" + command + "?" + $.param(params),
@ -294,11 +294,11 @@ Gridworks.postProcess = function(moduleName, command, params, body, updateOption
}, 500);
};
Gridworks.setAjaxInProgress = function() {
Refine.setAjaxInProgress = function() {
$(document.body).attr("ajax_in_progress", "true");
};
Gridworks.clearAjaxInProgress = function() {
Refine.clearAjaxInProgress = function() {
$(document.body).attr("ajax_in_progress", "false");
};
@ -306,7 +306,7 @@ Gridworks.clearAjaxInProgress = function() {
* Utility model functions
*/
Gridworks.cellIndexToColumn = function(cellIndex) {
Refine.cellIndexToColumn = function(cellIndex) {
var columns = theProject.columnModel.columns;
for (var i = 0; i < columns.length; i++) {
var column = columns[i];
@ -316,7 +316,7 @@ Gridworks.cellIndexToColumn = function(cellIndex) {
}
return null;
};
Gridworks.columnNameToColumn = function(columnName) {
Refine.columnNameToColumn = function(columnName) {
var columns = theProject.columnModel.columns;
for (var i = 0; i < columns.length; i++) {
var column = columns[i];
@ -326,7 +326,7 @@ Gridworks.columnNameToColumn = function(columnName) {
}
return null;
};
Gridworks.columnNameToColumnIndex = function(columnName) {
Refine.columnNameToColumnIndex = function(columnName) {
var columns = theProject.columnModel.columns;
for (var i = 0; i < columns.length; i++) {
var column = columns[i];
@ -337,7 +337,7 @@ Gridworks.columnNameToColumnIndex = function(columnName) {
return -1;
};
Gridworks.preparePool = function(pool) {
Refine.preparePool = function(pool) {
for (var id in pool.recons) {
if (pool.recons.hasOwnProperty(id)) {
var recon = pool.recons[id];
@ -353,7 +353,7 @@ Gridworks.preparePool = function(pool) {
}
};
Gridworks.fetchRows = function(start, limit, onDone, sorting) {
Refine.fetchRows = function(start, limit, onDone, sorting) {
var body = {
engine: JSON.stringify(ui.browsingEngine.getJSON())
};
@ -368,7 +368,7 @@ Gridworks.fetchRows = function(start, limit, onDone, sorting) {
theProject.rowModel = data;
// Un-pool objects
Gridworks.preparePool(data.pool);
Refine.preparePool(data.pool);
for (var r = 0; r < data.rows.length; r++) {
var row = data.rows[r];
for (var c = 0; c < row.cells.length; c++) {
@ -387,7 +387,7 @@ Gridworks.fetchRows = function(start, limit, onDone, sorting) {
);
};
Gridworks.getPermanentLink = function() {
Refine.getPermanentLink = function() {
var params = [
"project=" + escape(theProject.id),
"ui=" + escape(JSON.stringify({
@ -412,7 +412,7 @@ function onLoad() {
}
}
Gridworks.reinitializeProjectData(function() {
Refine.reinitializeProjectData(function() {
initializeUI(uiState);
});
}

View File

@ -107,7 +107,7 @@ BrowsingEngine.prototype._initializeUI = function() {
this._elmts.modeSelectors.buttonset();
this._elmts.modeSelectors.find("input").change(function() {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
});
this._elmts.refreshLink.click(function() { self.update(); });
@ -170,7 +170,7 @@ BrowsingEngine.prototype.addFacet = function(type, config, options) {
this._facets.push({ elmt: elmt, facet: facet });
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};
BrowsingEngine.prototype._createFacetContainer = function() {
@ -205,7 +205,7 @@ BrowsingEngine.prototype.removeFacet = function(facet) {
}
if (update) {
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
}
};
@ -251,7 +251,7 @@ BrowsingEngine.prototype.reset = function() {
this._facets[i].facet.reset();
}
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};
BrowsingEngine.prototype.remove = function() {
@ -270,5 +270,5 @@ BrowsingEngine.prototype.remove = function() {
}
}, 300);
Gridworks.update({ engineChanged: true });
Refine.update({ engineChanged: true });
};

View File

@ -253,7 +253,7 @@ MenuBar.handlers.exportRows = function(format, ext) {
.css("display", "none")
.attr("method", "post")
.attr("action", "/command/core/export-rows/" + name + "." + ext)
.attr("target", "gridworks-export");
.attr("target", "refine-export");
$('<input />')
.attr("name", "engine")
@ -270,7 +270,7 @@ MenuBar.handlers.exportRows = function(format, ext) {
document.body.appendChild(form);
window.open("about:blank", "gridworks-export");
window.open("about:blank", "refine-export");
form.submit();
document.body.removeChild(form);
@ -282,8 +282,8 @@ MenuBar.handlers.exportProject = function() {
$(form)
.css("display", "none")
.attr("method", "post")
.attr("action", "/command/core/export-project/" + name + ".gridworks.tar.gz")
.attr("target", "gridworks-export");
.attr("action", "/command/core/export-project/" + name + ".google-refine.tar.gz")
.attr("target", "refine-export");
$('<input />')
.attr("name", "project")
.attr("value", theProject.id)
@ -291,7 +291,7 @@ MenuBar.handlers.exportProject = function() {
document.body.appendChild(form);
window.open("about:blank", "gridworks-export");
window.open("about:blank", "refine-export");
form.submit();
document.body.removeChild(form);
@ -316,7 +316,7 @@ MenuBar.handlers.renameProject = function() {
success: function (data) {
if (data && typeof data.code != 'undefined' && data.code == "ok") {
theProject.metadata.name = name;
Gridworks.setTitle();
Refine.setTitle();
} else {
alert("Failed to rename project: " + data.message);
}
@ -380,7 +380,7 @@ MenuBar.handlers.browseToDataLoad = function() {
};
MenuBar.handlers.importQAData = function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"import-qa-data",
{},
{},

View File

@ -143,7 +143,7 @@ SchemaAlignmentDialog.UILink._getPropertiesOfType = function(typeID, targetTypeI
}
$.getJSON(
Gridworks.gridworksHelperService + "/get_properties_of_type?" + $.param(params) + "&callback=?",
Refine.refineHelperService + "/get_properties_of_type?" + $.param(params) + "&callback=?",
null,
function(data) {
if (done) return;

View File

@ -169,7 +169,7 @@ SchemaAlignmentDialog.prototype._constructFooter = function(footer) {
$('<button></button>').html("&nbsp;&nbsp;OK&nbsp;&nbsp;").click(function() {
var protograph = self.getJSON();
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"save-protograph",
{},
{ protograph: JSON.stringify(protograph) },
@ -198,7 +198,7 @@ SchemaAlignmentDialog.prototype._constructBody = function(body) {
'</p>').appendTo(body);
$(
'<div id="schema-alignment-tabs" class="gridworks-tabs">' +
'<div id="schema-alignment-tabs" class="refine-tabs">' +
'<ul>' +
'<li><a href="#schema-alignment-tabs-protograph">Skeleton</a></li>' +
'<li><a href="#schema-alignment-tabs-preview-mqllike">MQL-like Preview</a></li>' +

View File

@ -91,7 +91,7 @@ ReconFreebaseQueryPanel.prototype.start = function() {
};
}
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"reconcile",
{},
bodyParams,

View File

@ -271,7 +271,7 @@ ReconStandardServicePanel.prototype.start = function() {
}
);
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"reconcile",
{},
{

View File

@ -55,7 +55,7 @@
true,
{},
$.suggest.suggest.defaults, {
service_url: Gridworks.gridworksHelperService,
service_url: Refine.refineHelperService,
service_path: "/suggest_property",
flyout_service_url: "http://www.freebase.com",
css: { pane: "fbs-pane fbs-pane-property" }

View File

@ -44,7 +44,7 @@ DialogSystem.dismissUntil = function(level) {
try {
layer.onCancel();
} catch (e) {
Gridworks.reportException(e);
Refine.reportException(e);
}
}
}

View File

@ -1,5 +1,5 @@
var GridworksVersion = {
description: "Gridworks $VERSION",
var GoogleRefineVersion = {
description: "Google Refine $VERSION",
version: "$VERSION",
revision: "$REVISION"
};

View File

@ -240,7 +240,7 @@ DataTableCellUI.prototype._doJudgmentForSimilarCells = function(judgment, params
"recon-judge-similar-cells",
params || {},
$.extend(bodyParams || {}, {
columnName: Gridworks.cellIndexToColumn(this._cellIndex).name,
columnName: Refine.cellIndexToColumn(this._cellIndex).name,
similarValue: this._cell.v,
judgment: judgment,
identifierSpace: (this._cell.r) ? this._cell.r.identifierSpace : null,
@ -270,7 +270,7 @@ DataTableCellUI.prototype._searchForMatch = function(suggestOptions) {
if (elmts.checkSimilar[0].checked) {
params.similarValue = self._cell.v;
params.columnName = Gridworks.cellIndexToColumn(self._cellIndex).name;
params.columnName = Refine.cellIndexToColumn(self._cellIndex).name;
self._postProcessSeveralCells("recon-judge-similar-cells", {}, params, true);
} else {
@ -303,14 +303,14 @@ DataTableCellUI.prototype._searchForMatch = function(suggestOptions) {
DataTableCellUI.prototype._postProcessOneCell = function(command, params, bodyParams, columnStatsChanged) {
var self = this;
Gridworks.postCoreProcess(
Refine.postCoreProcess(
command,
params,
bodyParams,
{ columnStatsChanged: columnStatsChanged },
{
onDone: function(o) {
Gridworks.preparePool(o.pool);
Refine.preparePool(o.pool);
if (o.cell.r) {
o.cell.r = o.pool.recons[o.cell.r];
}
@ -324,7 +324,7 @@ DataTableCellUI.prototype._postProcessOneCell = function(command, params, bodyPa
};
DataTableCellUI.prototype._postProcessSeveralCells = function(command, params, bodyParams, columnStatsChanged) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
command,
params,
bodyParams,
@ -410,11 +410,11 @@ DataTableCellUI.prototype._startEdit = function(elmt) {
MenuSystem.dismissAll();
if (applyOthers) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"mass-edit",
{},
{
columnName: Gridworks.cellIndexToColumn(self._cellIndex).name,
columnName: Refine.cellIndexToColumn(self._cellIndex).name,
expression: "value",
edits: JSON.stringify([{
from: [ originalContent ],
@ -425,7 +425,7 @@ DataTableCellUI.prototype._startEdit = function(elmt) {
{ cellsChanged: true }
);
} else {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"edit-one-cell",
{
row: self._rowIndex,
@ -437,7 +437,7 @@ DataTableCellUI.prototype._startEdit = function(elmt) {
{},
{
onDone: function(o) {
Gridworks.preparePool(o.pool);
Refine.preparePool(o.pool);
if (o.cell.r) {
o.cell.r = o.pool.recons[o.cell.r];
}

View File

@ -280,7 +280,7 @@ DataTableView.prototype._renderDataTable = function(table) {
.click(function() {
var newStarred = !row.starred;
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"annotate-one-row",
{ row: row.i, starred: newStarred },
null,
@ -301,7 +301,7 @@ DataTableView.prototype._renderDataTable = function(table) {
.click(function() {
var newFlagged = !row.flagged;
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"annotate-one-row",
{ row: row.i, flagged: newFlagged },
null,
@ -354,7 +354,7 @@ DataTableView.prototype._renderDataTable = function(table) {
DataTableView.prototype._showRows = function(start, onDone) {
var self = this;
Gridworks.fetchRows(start, this._pageSize, function() {
Refine.fetchRows(start, this._pageSize, function() {
self.render();
if (onDone) {
@ -471,33 +471,33 @@ DataTableView.prototype._createMenuForAllColumns = function(elmt) {
{
label: "Star Rows",
click: function() {
Gridworks.postCoreProcess("annotate-rows", { "starred" : "true" }, null, { rowMetadataChanged: true });
Refine.postCoreProcess("annotate-rows", { "starred" : "true" }, null, { rowMetadataChanged: true });
}
},
{
label: "Unstar Rows",
click: function() {
Gridworks.postCoreProcess("annotate-rows", { "starred" : "false" }, null, { rowMetadataChanged: true });
Refine.postCoreProcess("annotate-rows", { "starred" : "false" }, null, { rowMetadataChanged: true });
}
},
{},
{
label: "Flag Rows",
click: function() {
Gridworks.postCoreProcess("annotate-rows", { "flagged" : "true" }, null, { rowMetadataChanged: true });
Refine.postCoreProcess("annotate-rows", { "flagged" : "true" }, null, { rowMetadataChanged: true });
}
},
{
label: "Unflag Rows",
click: function() {
Gridworks.postCoreProcess("annotate-rows", { "flagged" : "false" }, null, { rowMetadataChanged: true });
Refine.postCoreProcess("annotate-rows", { "flagged" : "false" }, null, { rowMetadataChanged: true });
}
},
{},
{
label: "Remove All Matching Rows",
click: function() {
Gridworks.postCoreProcess("remove-rows", {}, null, { rowMetadataChanged: true });
Refine.postCoreProcess("remove-rows", {}, null, { rowMetadataChanged: true });
}
}
]
@ -548,7 +548,7 @@ DataTableView.prototype._createSortingMenu = function(elmt) {
{
"label" : "Reorder Rows Permanently",
"click" : function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"reorder-rows",
null,
{ "sorting" : JSON.stringify(self._sorting) },

View File

@ -1,6 +1,6 @@
DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var doTextTransform = function(expression, onError, repeat, repeatCount) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"text-transform",
{
columnName: column.name,
@ -54,7 +54,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doFillDown = function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"fill-down",
{
columnName: column.name
@ -65,7 +65,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doBlankDown = function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"blank-down",
{
columnName: column.name
@ -78,7 +78,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var doJoinMultiValueCells = function() {
var separator = window.prompt("Enter separator to use between values", ", ");
if (separator !== null) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"join-multi-value-cells",
{
columnName: column.name,
@ -94,7 +94,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var doSplitMultiValueCells = function() {
var separator = window.prompt("What separator currently separates the values?", ",");
if (separator !== null) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"split-multi-value-cells",
{
columnName: column.name,
@ -194,7 +194,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
ignoreBlankCells: elmts.ignoreBlankCellsCheckbox[0].checked
};
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"transpose-columns-into-rows",
config,
null,
@ -254,7 +254,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
rowCount: rowCount
};
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"transpose-rows-into-columns",
config,
null,

View File

@ -1,5 +1,5 @@
DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var columnIndex = Gridworks.columnNameToColumnIndex(column.name);
var columnIndex = Refine.columnNameToColumnIndex(column.name);
var doAddColumn = function() {
var frame = $(
DOM.loadHTML("core", "scripts/views/data-table/add-column-dialog.html")
@ -19,7 +19,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
return;
}
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"add-column",
{
baseColumnName: column.name,
@ -63,7 +63,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
return;
}
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"add-column-by-fetching-urls",
{
baseColumnName: column.name,
@ -96,7 +96,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
columnIndex,
o.rowIndices,
function(extension) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"extend-data",
{
baseColumnName: column.name,
@ -112,7 +112,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doRemoveColumn = function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"remove-column",
{
columnName: column.name
@ -125,7 +125,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
var doRenameColumn = function() {
var newColumnName = window.prompt("Enter new column name", column.name);
if (newColumnName !== null) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"rename-column",
{
oldColumnName: column.name,
@ -138,7 +138,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doMoveColumnTo = function(index) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"move-column",
{
columnName: column.name,
@ -150,11 +150,11 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doMoveColumnBy = function(change) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"move-column",
{
columnName: column.name,
index: Gridworks.columnNameToColumnIndex(column.name) + change
index: Refine.columnNameToColumnIndex(column.name) + change
},
null,
{ modelsChanged: true }
@ -214,7 +214,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
config.fieldLengths = JSON.stringify(lengths);
}
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"split-column",
config,
null,

View File

@ -4,7 +4,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doReconDiscardJudgments = function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"recon-discard-judgments",
{ columnName: column.name },
null,
@ -13,7 +13,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doReconMatchBestCandidates = function() {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"recon-match-best-candidates",
{ columnName: column.name },
null,
@ -22,7 +22,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
};
var doReconMarkNewTopics = function(shareNewTopics) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"recon-mark-new-topics",
{ columnName: column.name, shareNewTopics: shareNewTopics },
null,
@ -56,7 +56,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
function(o) {
var types = "result" in o ? o.result.type : [];
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"recon-match-specific-topic-to-cells",
{
columnName: column.name,

View File

@ -39,7 +39,7 @@ HistoryWidget.prototype._render = function() {
'<div class="history-panel-help" bind="helpDiv">' +
'<h1>Don\'t worry ...</h1>' +
'<p>about making mistakes. Every change you make will be shown here, and you can undo changes at any point.</p>' +
'<p><a href="http://wiki.freebase.com/index.php?title=Gridworks" target="_blank">Learn more &raquo;</a></p>' +
'<p><a href="http://code.google.com/p/google-refine/wiki/GettingStarted?tm=6" target="_blank">Learn more &raquo;</a></p>' +
'</div>' +
'<div class="history-panel-body" bind="bodyDiv">' +
'<div class="history-past" bind="pastDiv"></div>' +
@ -100,7 +100,7 @@ HistoryWidget.prototype._render = function() {
HistoryWidget.prototype._onClickHistoryEntry = function(evt, entry, lastDoneID) {
var self = this;
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"undo-redo",
{ lastDoneID: lastDoneID },
null,
@ -218,7 +218,7 @@ HistoryWidget.prototype._showApplyOperationsDialog = function() {
return;
}
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"apply-operations",
{},
{ operations: JSON.stringify(json) },
@ -227,7 +227,7 @@ HistoryWidget.prototype._showApplyOperationsDialog = function() {
onDone: function(o) {
if (o.code == "pending") {
// Something might have already been done and so it's good to update
Gridworks.update({ everythingChanged: true });
Refine.update({ everythingChanged: true });
}
}
}

View File

@ -72,7 +72,7 @@ ProcessWidget.prototype.showUndo = function(historyEntry) {
ProcessWidget.prototype.undo = function() {
if (this._latestHistoryEntry !== null) {
Gridworks.postCoreProcess(
Refine.postCoreProcess(
"undo-redo",
{ undoID: this._latestHistoryEntry.id },
null,
@ -101,7 +101,7 @@ ProcessWidget.prototype._render = function(newData) {
this._div.stop(true, false).empty();
if (!newData.processes.length) {
Gridworks.setTitle();
Refine.setTitle();
this._div.hide();
} else {
this._div.show();
@ -130,7 +130,7 @@ ProcessWidget.prototype._render = function(newData) {
if (process.status == "pending") {
div.text(process.description + " (pending)");
} else {
Gridworks.setTitle(process.progress + "%");
Refine.setTitle(process.progress + "%");
div.text(process.description + " (" + process.progress + "%)");
}
};
@ -190,12 +190,12 @@ ProcessWidget.prototype._runOnDones = function() {
this._updateOptions = {};
this._onDones = [];
Gridworks.update(updateOptions, function() {
Refine.update(updateOptions, function() {
for (var i = 0; i < onDones.length; i++) {
try {
onDones[i]();
} catch (e) {
Gridworks.reportException(e);
Refine.reportException(e);
}
}
});

View File

@ -1,6 +1,6 @@
body {
background-color: #f4f7fa;
background-image: url('../images/gridworks-watermark.png');
background-image: url('../images/google-refine-watermark.png');
background-repeat: no-repeat;
background-position: left top;
}
@ -12,7 +12,7 @@ body {
vertical-align: top;
}
#gridworks-version {
#google-refine-version {
float: right;
color: #aaa;
margin: 5px;

View File

@ -1,54 +1,54 @@
.gridworks-tabs.ui-tabs {
.refine-tabs.ui-tabs {
padding: 0;
}
.gridworks-tabs.ui-corner-all {
.refine-tabs.ui-corner-all {
}
.gridworks-tabs.ui-widget-content {
.refine-tabs.ui-widget-content {
border: none;
background: none;
color: inherit;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav {
.refine-tabs.ui-tabs .ui-tabs-nav {
padding: 0;
}
.gridworks-tabs.ui-tabs .ui-widget-header {
.refine-tabs.ui-tabs .ui-widget-header {
background: none;
border: none;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav li a {
.refine-tabs.ui-tabs .ui-tabs-nav li a {
padding: 4px 10px;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav li a span.count {
.refine-tabs.ui-tabs .ui-tabs-nav li a span.count {
color: #666;
font-weight: normal;
font-size: 80%;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-default,
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-default {
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-default,
.refine-tabs.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-default {
background: #C5D1D4;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-default a,
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-default a:link,
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-default a:visited {
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-default a,
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-default a:link,
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-default a:visited {
color: black;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-active,
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-active {
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-active,
.refine-tabs.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-active {
background: #DBE8EB;
border: none;
color: black;
}
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-active a,
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-active a:link,
.gridworks-tabs.ui-tabs .ui-tabs-nav .ui-state-active a:visited {
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-active a,
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-active a:link,
.refine-tabs.ui-tabs .ui-tabs-nav .ui-state-active a:visited {
color: black;
}
.gridworks-tabs.ui-tabs .ui-tabs-panel {
.refine-tabs.ui-tabs .ui-tabs-panel {
margin: 0px;
padding: 15px;
border: 1px solid #DBE8EB;

View File

@ -52,7 +52,7 @@ body {
padding: 0px;
font-size: 11px;
}
.left-panel .gridworks-tabs.ui-tabs .ui-tabs-panel {
.left-panel .refine-tabs.ui-tabs .ui-tabs-panel {
padding: 7px;
overflow: hidden;
}