UI tuning for metadata view

This commit is contained in:
Jacky 2017-11-11 09:43:21 -05:00
parent d10eb388a7
commit d1e9ab9135
5 changed files with 18 additions and 14 deletions

View File

@ -23,17 +23,17 @@
"try-these": "If you have no data to work with, try these",
"sample-data": "sample data sets",
"change-metadata-value": "Change value of metadata key",
"name": "Project Name:",
"created": "Create Time:",
"modified": "Last Modified Time:",
"name": "Project name:",
"created": "Create time:",
"modified": "Last modified time:",
"creator": "Creator:",
"contributors": "Contributors:",
"subject": "Subject:",
"description": "Description:",
"rowCount": "Row Count:",
"customMetadata": "Custom Metadata(JSON):",
"rowCount": "Row count:",
"customMetadata": "Custom metadata(JSON):",
"id": "Project ID:",
"importOptionMetadata": "Import Option Metadata(JSON):"
"importOptionMetadata": "Import option metadata(JSON):"
},
"core-index-create": {
"create-proj": "Create Project",
@ -98,7 +98,7 @@
"core-index-open": {
"open-proj": "Open Project",
"name": "Name",
"rename": "rename",
"rename": "Rename",
"edit-meta-data": "About",
"creator": "Creator",
"contributors": "Contributors",

View File

@ -20,7 +20,11 @@ function EditMetadataDialog(metaData, targetRowElem) {
var td2 = tr.insertCell(2);
if (key !== "modified" && key !== "rowCount" && key !== "importOptionMetadata" && key !== "id") {
if (key !== "created" &&
key !== "modified" &&
key !== "rowCount" &&
key !== "importOptionMetadata" &&
key !== "id") {
$('<button class="button">').text($.i18n._('core-index')["edit"]).appendTo(td2).click(function() {
var newValue = window.prompt($.i18n._('core-index')["change-metadata-value"]+" " + key, value);
if (newValue !== null) {

View File

@ -93,12 +93,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#projects-container > table thead th:nth-child(1) {
border: 0;
width: 1%
width: 1.5%
}
#projects-container > table thead th:nth-child(2) {
border: 0;
width: 3%
width: 3.5%
}
#projects-container > table thead th:nth-child(3) {
@ -130,7 +130,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
padding: 8px
}
#metadata-body tr:nth-child(even) {background: #BFDBFF}
#metadata-body tr:nth-child(even) {background: #f2f2f2}
#metadata-body tr:nth-child(odd) {background: #FFF}
#metadata-body > table {

2
refine
View File

@ -942,7 +942,7 @@ elif [ "$OS" = "linux" ] ; then
fi
echo You have "$freeRam"M of free memory.
echo You current configuration will allow to use $REFINE_MEMORY of memory.
echo Your current configuration will allow to use $REFINE_MEMORY of memory.
echo OpenRefine can run better when given more memory. Read our FAQ on how to allocate more memory here:
echo https://github.com/OpenRefine/OpenRefine/wiki/FAQ:-Allocate-More-Memory

View File

@ -145,10 +145,10 @@ rem --- Check free memory ---------------------------------------------
for /f "usebackq skip=1 tokens=*" %%i in (`wmic os get FreePhysicalMemory ^| findstr /r /v "^$"`) do @set /A freeRam=%%i/1024
echo You have %freeRam%M of free memory.
echo You current configuration will allow to use %REFINE_MEMORY% of memory.
echo Your current configuration will allow to use %REFINE_MEMORY% of memory.
echo OpenRefine can run better when given more memory. Read our FAQ on how to allocate more memory here:
echo https://github.com/OpenRefine/OpenRefine/wiki/FAQ:-Allocate-More-Memory
echo .
echo.
if not "%REFINE_MAX_FORM_CONTENT_SIZE%" == "" goto gotMaxFormContentSize
set REFINE_MAX_FORM_CONTENT_SIZE=1048576