jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject svn commit: r1600073 [3/3] - in /jena/Experimental/jena-fuseki2/src/main/webapp: ./ css/ fonts/ js/app/controllers/ js/app/templates/ js/app/views/
Date Wed, 04 Jun 2014 09:57:50 GMT
Modified: jena/Experimental/jena-fuseki2/src/main/webapp/fonts/fontawesome-webfont.ttf
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/fonts/fontawesome-webfont.ttf?rev=1600073&r1=1600072&r2=1600073&view=diff
==============================================================================
Binary files - no diff available.

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/fonts/fontawesome-webfont.woff
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/fonts/fontawesome-webfont.woff?rev=1600073&r1=1600072&r2=1600073&view=diff
==============================================================================
Binary files - no diff available.

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/index.html?rev=1600073&r1=1600072&r2=1600073&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/index.html (original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/index.html Wed Jun  4 09:57:49 2014
@@ -39,12 +39,9 @@
           <div class="collapse navbar-collapse navbar-ex1-collapse">
             <ul class="nav navbar-nav">
               <li class="active"><a href="index.html"><i class="fa fa-home"></i></a></li>
-              <li class=""><a href="query.html"><i class="fa fa-question-circle"></i>
query</a></li>
-              <li class=""><a href="upload.html"><i class="fa fa-plus-circle"></i>
add data</a></li>
-              <li class=""><a href="validate.html"><i class="fa fa-check-circle"></i>
validate</a></li>
-              <li class="admin"><a href="admin-data-management.html"><i class="fa
fa-cogs"></i> administer</a></li>
-              <li class="admin"><a href="admin-stats.html"><i class="fa fa-dashboard"></i>
stats</a></li>
-              <li class="admin"><a href="admin-logs.html"><i class="fa fa-book"></i>
logs</a></li>
+              <li class=""><a href="dataset.html"><i class="fa fa-database"></i>
inspect dataset</a></li>
+              <li class=""><a href="manage.html"><i class="fa fa-cogs"></i>
manage dataset</a></li>
+              <li class=""><a href="service.html"><i class="fa fa-dashboard"></i>
services</a></li>
               <li class=""><a href="documentation.html"><i class="fa fa-info-circle"></i>
help</a></li>
             </ul>
             <ul class="nav navbar-nav navbar-right">
@@ -64,31 +61,38 @@
 
     <div class="container">
       <div class="row">
-        <h1>Welcome to Apache Jena Fuseki <small>version <span class='host-details'>TODO</span></small></h1>
+        <div class="col-md-12">
+          <h1 class="text-center">Apache Jena Fuseki <small>version <span
class='host-details'>TODO</span></small></h1>
+        </div>
       </div>
-      <div class="row">
-        <h2>
-          Existing datasets:
-        </h2>
-        <div id="dataset-selection-list"></div>
+
+      <div class="row current-datasets">
+        <div class="col-md-12">
+          <h2>
+            Existing datasets
+          </h2>
+          <div id="dataset-selection-list"></div>
+        </div>
       </div>
+
       <div class="row">
-        <h2>Operations</h2>
-        <p>Use the following pages to perform actions or tasks on this server:</p>
-        <dl class="dl-horizontal">
-          <dt><a href="query.html">SPARQL query form</a></dt>
-          <dd>to run a SPARQL query against one of the active datasets hosted by this
server</dd>
-          <dt><a href="validation.html">validate</a></dt>
-          <dd>to validate SPARQL query syntax, or RDF data syntax</dd>
-          <dt><a href="admin/index.html">administer</a></dt>
-          <dd>to administer the datasets on this server, including adding and removing
datasets,
-              enabling data services, uploading data and performing backups. </dd>
-          <dt><a href="documentation.html">logs</a></dt>
-          <dd>to view server log files</dd>
-          <dt><a href="documentation.html">help</a></dt>
-          <dd>for a summary of commands, and links to online documentation</dd>
+        <div class="bg-info col-md-12">
+          <p><i class="fa fa-info-circle"></i> Use the following pages
to perform actions or tasks on this server:</p>
+          <dl class="dl-horizontal">
+            <dt><a href="query.html">SPARQL query form</a></dt>
+            <dd>to run a SPARQL query against one of the active datasets hosted by
this server</dd>
+            <dt><a href="validation.html">validate</a></dt>
+            <dd>to validate SPARQL query syntax, or RDF data syntax</dd>
+            <dt><a href="admin/index.html">administer</a></dt>
+            <dd>to administer the datasets on this server, including adding and removing
datasets,
+                enabling data services, uploading data and performing backups. </dd>
+            <dt><a href="documentation.html">logs</a></dt>
+            <dd>to view server log files</dd>
+            <dt><a href="documentation.html">help</a></dt>
+            <dd>for a summary of commands, and links to online documentation</dd>
 
-        </dl>
+          </dl>
+        </div>
       </div>
     </div>
 

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/js/app/controllers/index-controller.js
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/js/app/controllers/index-controller.js?rev=1600073&r1=1600072&r2=1600073&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/js/app/controllers/index-controller.js
(original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/js/app/controllers/index-controller.js
Wed Jun  4 09:57:49 2014
@@ -19,7 +19,6 @@ define(
         fui.vent.on( "models.fuseki-server.ready", this.onServerModelReady );
       },
 
-      /** When the fuseki server is ready, we can init the qonsole */
       onServerModelReady: function( event ) {
         new DatasetSelectionListView( {model: fui.models.fusekiServer} ).render();
       }

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-selection-list.tpl
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-selection-list.tpl?rev=1600073&r1=1600072&r2=1600073&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-selection-list.tpl
(original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/js/app/templates/dataset-selection-list.tpl
Wed Jun  4 09:57:49 2014
@@ -1,27 +1,31 @@
 <div class="col-md-span-12">
-  <table class='table'>
-    <tr class="headings"><th>Name</th><th>Services</th><th></th></tr>
-    <% _.each( datasets, function( ds ) { %>
-      <tr>
-        <td>
-          <%= ds.name() %>
-        </td>
-        <td>
-          <% _.each( ds.serviceTypes(), function( st ) { %>
-            <span class='badge'><%= st %></span>
-          <% }) %>
-        </td>
-        <td>
-          <a class="btn btn-sm action remove btn-primary" href="query.html?ds=<%= ds.name()
%>"><i class='fa fa-question-circle'></i> query</a>
-          <a class="btn btn-sm action remove btn-primary" href="upload.html?ds=<%=
ds.name() %>"><i class='fa fa-plus-circle'></i> add data</a>
+  <% if (datasets.length > 0) { %>
+    <table class='table ijd'>
+      <tr class="headings"><th>Name</th><th>Services</th><th></th></tr>
+      <% _.each( datasets, function( ds ) { %>
+        <tr>
+          <td>
+            <%= ds.name() %>
+          </td>
+          <td>
+            <% _.each( ds.serviceTypes(), function( st ) { %>
+              <span class='badge'><%= st %></span>
+            <% }) %>
+          </td>
+          <td>
+            <a class="btn btn-sm action remove btn-primary" href="query.html?ds=<%=
ds.name() %>"><i class='fa fa-question-circle'></i> query</a>
+            <a class="btn btn-sm action remove btn-primary" href="upload.html?ds=<%=
ds.name() %>"><i class='fa fa-plus-circle'></i> add data</a>
 
-<!--          
-          <a class="btn btn-sm action remove btn-primary" href="explore.html?ds=<%=
ds.name() %>"><i class='fa fa-globe'></i> explore</a>
--->          
-          <a class="btn btn-sm action configure btn-primary" href="admin-stats.html?ds=<%=
ds.name() %>"><i class='fa fa-dashboard'></i> stats</a>
-        </td>
-      </tr>
-    <% }) %>
+  <!--
+            <a class="btn btn-sm action remove btn-primary" href="explore.html?ds=<%=
ds.name() %>"><i class='fa fa-globe'></i> explore</a>
+  -->
+            <a class="btn btn-sm action configure btn-primary" href="admin-stats.html?ds=<%=
ds.name() %>"><i class='fa fa-dashboard'></i> stats</a>
+          </td>
+        </tr>
+      <% }) %>
 
-  </table>
+    </table>
+   <% } else { %>
+    <p>There are no datasets on this server yet. <a href="#">Add one.</a></p>
+   <% } %>
 </div>

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/js/app/views/dataset-selection-list.js
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/js/app/views/dataset-selection-list.js?rev=1600073&r1=1600072&r2=1600073&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/js/app/views/dataset-selection-list.js
(original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/js/app/views/dataset-selection-list.js
Wed Jun  4 09:57:49 2014
@@ -1,3 +1,8 @@
+/**
+ * This view presents a list of the available datasets for the user to interact
+ * with.
+ */
+
 define(
   function( require ) {
     var Backbone = require( "backbone" ),

Added: jena/Experimental/jena-fuseki2/src/main/webapp/manage.html
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/manage.html?rev=1600073&view=auto
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/manage.html (added)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/manage.html Wed Jun  4 09:57:49 2014
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Apache Jena Fuseki - manage dataset</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
+    <link href="css/font-awesome.min.css" rel="stylesheet" media="screen">
+    <link href="css/codemirror.css" rel="stylesheet" media="screen">
+    <link href="css/qonsole.css" rel="stylesheet" media="screen">
+    <link href="css/jquery.dataTables.css" rel="stylesheet" media="screen">
+    <link href="css/fui.css" rel="stylesheet" media="screen">
+
+    <script data-main="js/app/main.index.js" src="js/lib/require.min.js"></script>
+
+    <!--[if lt IE 9]>
+      <script src="js/lib/html5shiv.js"></script>
+      <script src="js/lib/respond.min.js"></script>
+    <![endif]-->
+  </head>
+  <body>
+    <nav class="navbar navbar-default" role="navigation">
+      <div class="container">
+        <div class="row">
+          <!-- Brand and toggle get grouped for better mobile display -->
+          <div class="navbar-header">
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
+              <span class="sr-only">Toggle navigation</span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+            </button>
+            <a class="navbar-brand" href="index.html">
+              <img src="images/jena-logo-notext-small.png" alt="Apache Jena logo" title="Apache
Jena" />
+              <div>Apache<br />Jena<br /><strong>Fuseki</strong></div>
+            </a>
+          </div>
+
+          <!-- Collect the nav links, forms, and other content for toggling -->
+          <div class="collapse navbar-collapse navbar-ex1-collapse">
+            <ul class="nav navbar-nav">
+              <li class=""><a href="index.html"><i class="fa fa-home"></i></a></li>
+              <li class=""><a href="dataset.html"><i class="fa fa-database"></i>
inspect dataset</a></li>
+              <li class="active"><a href="manage.html"><i class="fa fa-cogs"></i>
manage dataset</a></li>
+              <li class=""><a href="services.html"><i class="fa fa-dashboard"></i>
services</a></li>
+              <li class=""><a href="documentation.html"><i class="fa fa-info-circle"></i>
help</a></li>
+            </ul>
+            <ul class="nav navbar-nav navbar-right">
+              <li class="status-indicator">
+                <div>Server<br />status:</div>
+              </li>
+              <li class="status-indicator">
+                <a class="" href="admin/server-log.html" id="server-status-light" title="current
server status">
+                  <span class="server-up"></span>
+                </a>
+              </li>
+            </ul>
+          </div><!-- /.navbar-collapse -->
+        </div><!-- /row -->
+      </div><!-- /container -->
+    </nav>
+
+    <div class="container">
+
+      <div class="row">
+        <div class="col-md-12">
+          <h2>
+            Manage dataset
+          </h2>
+        </div>
+      </div>
+
+    </div>
+
+  </body>
+</html>
\ No newline at end of file

Propchange: jena/Experimental/jena-fuseki2/src/main/webapp/manage.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: jena/Experimental/jena-fuseki2/src/main/webapp/services.html
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/services.html?rev=1600073&view=auto
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/services.html (added)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/services.html Wed Jun  4 09:57:49 2014
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>Apache Jena Fuseki - services</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
+    <link href="css/font-awesome.min.css" rel="stylesheet" media="screen">
+    <link href="css/codemirror.css" rel="stylesheet" media="screen">
+    <link href="css/qonsole.css" rel="stylesheet" media="screen">
+    <link href="css/jquery.dataTables.css" rel="stylesheet" media="screen">
+    <link href="css/fui.css" rel="stylesheet" media="screen">
+
+    <script data-main="js/app/main.index.js" src="js/lib/require.min.js"></script>
+
+    <!--[if lt IE 9]>
+      <script src="js/lib/html5shiv.js"></script>
+      <script src="js/lib/respond.min.js"></script>
+    <![endif]-->
+  </head>
+  <body>
+    <nav class="navbar navbar-default" role="navigation">
+      <div class="container">
+        <div class="row">
+          <!-- Brand and toggle get grouped for better mobile display -->
+          <div class="navbar-header">
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
+              <span class="sr-only">Toggle navigation</span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+            </button>
+            <a class="navbar-brand" href="index.html">
+              <img src="images/jena-logo-notext-small.png" alt="Apache Jena logo" title="Apache
Jena" />
+              <div>Apache<br />Jena<br /><strong>Fuseki</strong></div>
+            </a>
+          </div>
+
+          <!-- Collect the nav links, forms, and other content for toggling -->
+          <div class="collapse navbar-collapse navbar-ex1-collapse">
+            <ul class="nav navbar-nav">
+              <li class=""><a href="index.html"><i class="fa fa-home"></i></a></li>
+              <li class=""><a href="dataset.html"><i class="fa fa-database"></i>
inspect dataset</a></li>
+              <li class=""><a href="manage.html"><i class="fa fa-cogs"></i>
manage dataset</a></li>
+              <li class="active"><a href="services.html"><i class="fa fa-dashboard"></i>
services</a></li>
+              <li class=""><a href="documentation.html"><i class="fa fa-info-circle"></i>
help</a></li>
+            </ul>
+            <ul class="nav navbar-nav navbar-right">
+              <li class="status-indicator">
+                <div>Server<br />status:</div>
+              </li>
+              <li class="status-indicator">
+                <a class="" href="admin/server-log.html" id="server-status-light" title="current
server status">
+                  <span class="server-up"></span>
+                </a>
+              </li>
+            </ul>
+          </div><!-- /.navbar-collapse -->
+        </div><!-- /row -->
+      </div><!-- /container -->
+    </nav>
+
+    <div class="container">
+
+      <div class="row">
+        <div class="col-md-12">
+          <h2>
+            Inspect dataset
+          </h2>
+        </div>
+      </div>
+
+    </div>
+
+  </body>
+</html>
\ No newline at end of file

Propchange: jena/Experimental/jena-fuseki2/src/main/webapp/services.html
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message