Merge pull request #1322 from jackyq2015/master
UI tuning for metadata view
This commit is contained in:
commit
fff4fe40b3
@ -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",
|
||||
|
@ -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) {
|
||||
|
@ -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
2
refine
@ -943,7 +943,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
|
||||
|
||||
|
@ -145,7 +145,7 @@ 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.
|
||||
|
Loading…
Reference in New Issue
Block a user