You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2014/10/16 14:17:30 UTC

[4/5] git commit: MARMOTTA-553: cosmetics

MARMOTTA-553: cosmetics


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

Branch: refs/heads/develop
Commit: 63832d43c828f64721ed5b32945727d18bdc5c7d
Parents: a8dc901
Author: Sergio Fernández <wi...@apache.org>
Authored: Thu Oct 16 14:16:27 2014 +0200
Committer: Sergio Fernández <wi...@apache.org>
Committed: Thu Oct 16 14:16:27 2014 +0200

----------------------------------------------------------------------
 .../src/main/resources/templates/rdfhtml.ftl        | 16 ++++++++--------
 .../main/resources/web/public/html/reasoning.html   |  4 ++--
 2 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/63832d43/platform/marmotta-core/src/main/resources/templates/rdfhtml.ftl
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/resources/templates/rdfhtml.ftl b/platform/marmotta-core/src/main/resources/templates/rdfhtml.ftl
index fd2d816..a60302e 100644
--- a/platform/marmotta-core/src/main/resources/templates/rdfhtml.ftl
+++ b/platform/marmotta-core/src/main/resources/templates/rdfhtml.ftl
@@ -230,11 +230,11 @@
             <#if resources?has_content>
                 <#list resources as resource>
                     <h2>
-                	<#if resource.uri?has_content>
-                		<a href="${resource.uri}" class="ldcache">${resource.uri}</a>
-                	<#else>
-                		<a href="${SERVER_URL}resource?genid=${resource.encoded_genid}">bnode://${resource.genid}</a>
-                    </#if>                		
+                    <#if resource.uri?has_content>
+                        <a href="${resource.uri}" class="ldcache">${resource.uri}</a>
+                    <#else>
+                        <a href="${SERVER_URL}resource?genid=${resource.encoded_genid}">bnode://${resource.genid}</a>
+                    </#if>
                     <#if timemaplink?? && resource.uri?has_content>
                         <a style="float:right" id="timemap_link" href="${SERVER_URL}${timemaplink}${resource.uri}">
                             <img style="width: 24px" title="browser versions" alt="memento" src="${SERVER_URL}core/public/img/icon/memento_logo_128.png">
@@ -259,7 +259,7 @@
                                 <td>
                                 </#if>
                                     <#if triple.object.uri?has_content>
-                                    	<a rel="${triple.predicate.curie}" href="${triple.object.uri}" class="${cacheClass(triple.object)}">${triple.object.curie}</a>
+                                        <a rel="${triple.predicate.curie}" href="${triple.object.uri}" class="${cacheClass(triple.object)}">${triple.object.curie}</a>
                                     <#elseif triple.object.genid?has_content>	
                                         <a rel="${triple.predicate.curie}" href="${SERVER_URL}resource?genid=${triple.object.encoded_genid}">${triple.object.genid}</a>
                                     <#else>
@@ -336,14 +336,14 @@
                 <!--
                 <div class="introspectionDetails">
                     <h4><a href="${resources[0].uri}" class="ldcache">${resources[0].uri}</a> as Context</h4>
-                	<table id="inspect_context">
+                    <table id="inspect_context">
                       <tr class="trClassHeader">
                         <th>Subject</th>
                         <th>Property</th>
                         <th>Object</th>
                         <th>Context<th>
                       </tr>
-                	</table>
+                    </table>
                 </div>
                 -->
             </div>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/63832d43/platform/marmotta-core/src/main/resources/web/public/html/reasoning.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/resources/web/public/html/reasoning.html b/platform/marmotta-core/src/main/resources/web/public/html/reasoning.html
index 75597af..dcfc077 100644
--- a/platform/marmotta-core/src/main/resources/web/public/html/reasoning.html
+++ b/platform/marmotta-core/src/main/resources/web/public/html/reasoning.html
@@ -53,7 +53,7 @@
             $("#content").append();
             $("#content").append("<br>has been inferred because of<br>");
             for(var i=0; i<data.justifications.length;i++) {
-                var box = $("<div style='border:1px solid black;'/>");
+                var box = $("<div style='font-family:monospace; border:1px solid black;'/>");
                 box.append("Triples<br>");
                 box.append(triplesToTable(data.justifications[i].triples));
                 box.append("<br>and Rules<br>");
@@ -103,7 +103,7 @@
 </head>
 <body>
     <div id="tooltip">
-        <h2 style="color:#006D8F;margin:0;">Reasoning-Maintenance</h2>
+        <h2 style="color:#0B61A4;margin:0;">Reasoning-Maintenance</h2>
         <div id="content"></div>
     </div>
 </body>