You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2013/12/17 14:52:02 UTC

[3/3] git commit: MARMOTTA-142: Added a little bit of doku, improved labels.

MARMOTTA-142: Added a little bit of doku, improved labels.


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/593ea4fa
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/593ea4fa
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/593ea4fa

Branch: refs/heads/develop
Commit: 593ea4fa1e20883684786e1c254d65b01b58b58a
Parents: 559d2e6
Author: Jakob Frank <ja...@apache.org>
Authored: Tue Dec 17 14:50:43 2013 +0100
Committer: Jakob Frank <ja...@apache.org>
Committed: Tue Dec 17 14:50:43 2013 +0100

----------------------------------------------------------------------
 .../src/main/resources/web/admin/ldpath.html           | 13 +++++++------
 .../src/main/resources/web/admin/style.css             | 12 ++++++++++--
 2 files changed, 17 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/593ea4fa/platform/marmotta-ldpath/src/main/resources/web/admin/ldpath.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-ldpath/src/main/resources/web/admin/ldpath.html b/platform/marmotta-ldpath/src/main/resources/web/admin/ldpath.html
index c7a7d37..9cb9270 100644
--- a/platform/marmotta-ldpath/src/main/resources/web/admin/ldpath.html
+++ b/platform/marmotta-ldpath/src/main/resources/web/admin/ldpath.html
@@ -42,14 +42,15 @@
 <body>
   <!--###BEGIN_CONTENT###-->
   <h1>LDPath Test Suite</h1>
-  <p>
-    This is the LDPath playground.
-  </p>
+  <p>This is the LDPath playground.</p>
+  <p>Add a number of prototypical Resources (URIs) from your dataset to test the result of your program.</p>
+  <p>Information about LDPath and Syntax of the language is available on the <a href="http://marmotta.apache.org/ldpath/">Website</a> and in the <a href="http://wiki.apache.org/marmotta/LDPath">Wiki</a>.</p>
   <div id="playground">
     <div id="context">
-      <h2>Context</h2>
+      <h2>Test Resources</h2>
+      <p>URIs where to start evaluating the LDPath program below.</p>
       <div id="test_context"></div>
-      <div><input id="addContextUri" type=text /><button id="addContext">Add Context</button></div>
+      <div><input id="addContextUri" type=text /><button id="addContext">Add URI</button></div>
     </div>
     <div id="editor">
       <div>
@@ -69,7 +70,7 @@
     <div id="result">
       <h2>Results</h2>
       <div>
-        <table id="testResults">
+        <table id="testResults" class="simple_table">
           <thead><tr><th>&nbsp;</th><th>Field</th><th>Result</th></tr></thead>
           <tbody></tbody>
         </table>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/593ea4fa/platform/marmotta-ldpath/src/main/resources/web/admin/style.css
----------------------------------------------------------------------
diff --git a/platform/marmotta-ldpath/src/main/resources/web/admin/style.css b/platform/marmotta-ldpath/src/main/resources/web/admin/style.css
index 756f5bc..c6b1ee1 100644
--- a/platform/marmotta-ldpath/src/main/resources/web/admin/style.css
+++ b/platform/marmotta-ldpath/src/main/resources/web/admin/style.css
@@ -1,4 +1,4 @@
-/**
+/*
  * 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
@@ -20,7 +20,7 @@ h2 {
 }
 
 .CodeMirror {
-    border: 1px solid #eee;
+    border: 1px solid #0B61A4;
     line-height: 1.25em !important;
 }
 
@@ -62,11 +62,19 @@ h2 {
     margin: 1px;
     display: inline-block;
 }
+
 #test_context span.context > .context {
     text-decoration: none;
     color: black;
 }
+
 #test_context span.context > .delete {
     text-decoration: none;
     color: red;
 }
+
+button#runTest {
+    font-size: 16px;
+    font-weight: bold;
+    margin: 10px;
+}