You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ij...@apache.org on 2014/07/03 10:34:19 UTC

svn commit: r1607563 - in /jena/Experimental/jena-fuseki2/src/main/webapp: css/fui.css js/app/templates/dataset-info.tpl

Author: ijd
Date: Thu Jul  3 08:34:18 2014
New Revision: 1607563

URL: http://svn.apache.org/r1607563
Log:
Some minor tidying up on dataset info page

Modified:
    jena/Experimental/jena-fuseki2/src/main/webapp/css/fui.css
    jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-info.tpl

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/css/fui.css
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/css/fui.css?rev=1607563&r1=1607562&r2=1607563&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/css/fui.css (original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/css/fui.css Thu Jul  3 08:34:18 2014
@@ -153,11 +153,11 @@ a.navbar-brand img {
 }
 
 .dl-horizontal dt {
-  width: 200px;
+  width: 240px;
 }
 
 .dl-horizontal dd {
-  margin-left: 220px
+  margin-left: 260px
 }
 
 dt span.heading, dd span.heading {
@@ -175,3 +175,8 @@ dd span.heading {
 dt.font-weight-normal {
   font-weight: normal;
 }
+dd .numeric {
+  display: inline-block;
+  min-width: 4em;
+  text-align: right;
+}

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-info.tpl
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-info.tpl?rev=1607563&r1=1607562&r2=1607563&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-info.tpl (original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-info.tpl Thu Jul  3 08:34:18 2014
@@ -1,8 +1,4 @@
-<h2>
-  Dataset <%= name() %>
-</h2>
-
-<h3>Supported services</h3>
+<h2>Available services</h2>
 
 <dl class="dl-horizontal">
   <% _.each( servicesDescription(), function( serviceDescription ) { %>
@@ -15,30 +11,30 @@
   <% } ); %>
 </dl>
 
-<h3>Statistics</h3>
+<h2>Statistics</h2>
 <div id="statistics"></div>
 
-<h3>Dataset size</h3>
+<h2>Dataset size</h2>
 <p>
-<strong>Warning</strong> this may be slow and impose a significant load on large datasets:
-<a href="#" class="action count-graphs btn btn-primary">count triples in this dataset's graphs</a>
+<strong>Note</strong> this may be slow and impose a significant load on large datasets:
+<button href="#" class="action count-graphs btn btn-primary">count triples in all graphs</button>
 </p>
 <% if (countPerformed()) { %>
 <dl class="dl-horizontal">
-  <dt><span class="heading">graph name</span></dt><dd><span class="heading">number of triples</span></dd>
+  <dt><span class="heading">graph name:</span></dt><dd><span class="heading">triples:</span></dd>
   <% _.each( counts(), function( n, g ) { %>
     <dt class="font-weight-normal">
-      <%= g %>:
+      <%= g %>
     </dt>
     <dd>
-      <%= n %>
+      <div class="numeric"><%= n %></div>
     </dd>
   <% } ); %>
 </dl>
 
 <% } %>
 
-<h3>Ongoing operations</h3>
+<h2>Ongoing operations</h2>
 
 <p><em>TBD. Will list any long-lasting operations that are ongoing or recently completed,
 e.g. backups.</em></p>