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 2013/02/20 08:42:39 UTC
[42/45] properly ignored files
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/5486b79f/platform/marmotta-core/target/classes/web/admin/dataview.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/target/classes/web/admin/dataview.html b/platform/marmotta-core/target/classes/web/admin/dataview.html
deleted file mode 100644
index b8e98cf..0000000
--- a/platform/marmotta-core/target/classes/web/admin/dataview.html
+++ /dev/null
@@ -1,268 +0,0 @@
-<!--
-
- Copyright (C) 2013 Salzburg Research.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<!DOCTYPE HTML>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<!--###BEGIN_HEAD###-->
- <title>Data Views</title>
- <meta charset="UTF-8"/>
- <script type="text/javascript" src="../public/js/lib/jquery-1.6.4.js"></script>
- <script type="text/javascript" src="https://www.google.com/jsapi"></script>
- <script type="text/javascript" src="js/lib/sgvizler.pack.js"></script>
- <script type="text/javascript">
-
- var HAS_DATA = true;
-
- var SERVER_URL = _SERVER_URL;
-
- var colors = [ '#3366CC','#DC3912','#FF9900','#109618','#990099','#0099C6','#DD4477','#66AA00','#B82E2E','#316395','#994499','#22AA99','#AAAA11',
- 'blue','red','orange','green','navy','Crimson','DarkGreen','DarkTurquoise','DodgerBlue','OliveDrab','pink','violet',
- 'GoldenRod','Fuchsia','Darkorange','DarkSlateBlue','GreenYellow','LightSeaGreen','Maroon','MediumVioletRed']
-
- sgvizler.option.libfolder = "lib/";
-
- sgvizler.option.query.endpoint = SERVER_URL+"sparql/select";
- sgvizler.option.query.endpoint_output = 'json';
-
- function drawGraphs() {
- $("#graphs").empty().append(loader());
-
- var query = "SELECT ?graph (COUNT(?s) AS ?triples) WHERE { GRAPH ?graph { ?s ?p ?o }} GROUP BY ?graph";
-
- $("#graphs").attr('data-sgvizler-query',query);
- $("#graphs").attr('data-sgvizler-chart','gPieChart');
- $("#graphs").attr('data-sgvizler-log',"2");
-
- var query = new sgvizler.query();
- $.extend(query,sgvizler.option.query,sgvizler.ui.getQueryOptionAttr(document.getElementById('graphs')));
- $.extend(query.chartOptions,sgvizler.ui.getChartOptionAttr(document.getElementById('graphs')));
- query.draw({
- 'select':function(chart,data) {
- var selection = chart.getSelection();
- if(selection.length > 0) {
- drawClasses(data.getValue(selection[0].row,0));
- }
- }
- },{is3D:true,title:'All Graphs in the system. Click to select!',colors:colors})
- }
-
- function drawClasses(graph) {
- if(graph) {
- $("#classes_all").removeAttr("disabled").show();
- }
- else $("#classes_all").prop("disabled", "disabled").hide();
-
- var title = graph ? "Classes in graph "+graph : "Classes in all graphs";
-
- var query = graph ?
- "SELECT ?class (COUNT(?s) AS ?count) WHERE { GRAPH <"+graph+"> {{?s a ?class} UNION {SELECT ?s WHERE { GRAPH <"+graph+"> { ?s ?a ?b. FILTER NOT EXISTS{?s a ?class}}}GROUP BY ?s}}}GROUP BY ?class" :
- "SELECT ?class (COUNT(?s) AS ?count) WHERE {{?s a ?class} UNION {SELECT ?s WHERE{ ?s ?a ?b. FILTER NOT EXISTS{?s a ?class}}GROUP BY ?s}}GROUP BY ?class";
-
- $("#classes").attr('data-sgvizler-query',query);
- $("#classes").attr('data-sgvizler-chart','gPieChart');
- $("#classes").attr('data-sgvizler-log',"2");
-
- var query = new sgvizler.query();
- $.extend(query,sgvizler.option.query,sgvizler.ui.getQueryOptionAttr(document.getElementById('classes')));
- $.extend(query.chartOptions,sgvizler.ui.getChartOptionAttr(document.getElementById('classes')));
- query.draw({
- 'select':function(chart,data) {
- var selection = chart.getSelection();
- if(selection.length > 0) {
- drawResources(graph,data.getValue(selection[0].row,0),undefined,colors[selection[0].row]);
- }
- }
- },{is3D:true,title:title,colors:colors},function(data){
- drawResources(graph,data.getValue(0,0),undefined,colors[0]);
- });
- }
-
-
- function drawResources(graph,clazz,lim,color) {
- var limit = lim ? lim : 5;
- var query;
- var l_s = limit=="all" ? "":" LIMIT "+limit;
- if(graph) {
- if(clazz) {
- query = "SELECT ?a ?b ?c WHERE { GRAPH <"+graph+"> {?a ?b ?c.{SELECT ?a WHERE {GRAPH <"+graph+"> {?a a <"+clazz+">}}ORDER BY ?a "+l_s+"}}}";
- } else {
- query = "SELECT ?a ?b ?c WHERE { GRAPH <"+graph+"> {?a ?b ?c.{SELECT ?a WHERE {GRAPH <"+graph+"> {?a ?b ?c.FILTER NOT EXISTS {?a a ?class}}}ORDER BY ?a "+l_s+"}}}";
- }
- } else {
- if(clazz) {
- query = "SELECT ?a ?b ?c WHERE {?a ?b ?c.{SELECT ?a WHERE {?a a <"+clazz+">}ORDER BY ?a "+l_s+"}}";
- } else {
- query = "SELECT ?a ?b ?c WHERE {?a ?b ?c.{SELECT ?a WHERE {?a ?b ?c.FILTER NOT EXISTS {?a a ?class}}ORDER BY ?a "+l_s+"}}";
- }
- }
-
- sparql(query,function(data){
- $("#resources").empty();
- if(data.results.bindings.length==0) return $("#resources").append("<p>Nothing to display!</p>");
- else {
- var sel = $("<select></select>")
- .append("<option>5</option>")
- .append("<option>10</option>")
- .append("<option>25</option>")
- .append("<option>50</option>")
- .append("<option>all</option>")
- .change(function(){
- drawResources(graph,clazz,$(this).val(),color);
- });
- sel.val(limit);
- var c_s = clazz ? " of type "+clazz : " without type relation";
- var g_s = graph ? " in graph "+graph : "";
- $("#resources").append($("<div></div>").append("Show ").append(sel).append(" items"+c_s+g_s));
- $("#resources").append(parse(data,color));
- }
-
- },function(){alert("cannot show data")});
- }
-
- //return a result object
- function parse(data,color) {
- var x = 0;
- var current;
- var table;
- var res = $("<div style='margin:10px'></div>");
- for(var i=0; i<data.results.bindings.length;i++) {
- var d = data.results.bindings[i];
- if(d.a.value!=current) {
- x = 0;
- current = d.a.value;
- table = $("<table class='resource' style='margin-bottom:10px'></table>").append("<th style='background-color:"+color+" !important' colspan='2'><a target='_blank' href='../../../../resource?uri="+encodeURIComponent(d.a.value)+"'>"+d.a.value+"</a></th>");
- res.append(table);
- }
- var style = x%2==0 ? "white" : "#efefef";
- x++;
- var value = d.c.type=="uri" ? "<a target='_blank' href='../../../../resource?uri="+encodeURIComponent(d.c.value)+"'>"+d.c.value+"</a>" : d.c.value;
- table.append($("<tr></tr>")
- .append("<td style='background-color:"+style+"'>"+d.b.value+"</td>")
- .append("<td style='background-color:"+style+"'>"+value+"</td></tr>"));
- }
- return res;
- }
-
- function drawStatistics() {
-
- $("#view").append("<h2>Overview</h2>");
- $("#view").append("<div id='statistics'></div>");
- $("#statistics").append(loader());
- count();
-
- function count() {
- var statistics = {};
-
- //count triples
- var Q1 = "SELECT (COUNT (?s) AS ?triples) WHERE { ?s ?p ?o }";
- sparql(Q1,function(data){
- statistics.triples = data.results.bindings[0].triples.value;
-
- },error);
-
- if(statistics.triples == 0) {
- draw(statistics);
- HAS_DATA = false;
- return;
- }
-
- //count subjects
- var Q2 = "SELECT (COUNT (?s) AS ?subjects) WHERE { SELECT ?s WHERE { ?s ?p ?o } GROUP BY ?s }";
- sparql(Q2,function(data){
- statistics.subjects = data.results.bindings[0].subjects.value;
- },error);
-
- //count graphs
- var Q3 = "SELECT (COUNT (?x) AS ?graphs) WHERE { SELECT ?x {GRAPH ?x { ?s ?p ?o }} GROUP BY ?x}";
- sparql(Q3,function(data){
- statistics.graphs = data.results.bindings[0].graphs.value;
- },error);
-
- draw(statistics);
- }
-
- function draw(statistics) {
- if(statistics.triples == 0) {
- $("#statistics").empty().html("System does not contain any data");
- } else {
- var s = "System contains $2 subjects with overall $1 triples in $3 graphs";
- s = s.replace(/\$1/g,statistics.triples);
- s = s.replace(/\$2/g,statistics.subjects);
- s = s.replace(/\$3/g,statistics.graphs);
- $("#statistics").empty().text(s);
- }
- }
-
- function error() {
- alert("an error occurred!");
- }
- }
-
- function sparql(query,onsuccess,onfailure) {
- $.ajax({url:SERVER_URL+"sparql/select?output=json&query="+encodeURIComponent(query),success:onsuccess,error:onfailure,async:false});
- }
-
- function loader() {
- return $("<img src='../public/img/loader/lmf-loader_32.gif'>");
- }
-
- sgvizler.go(function(){
- drawStatistics();
- if(HAS_DATA) {
- $("#view").append("<h2>Graphs</h2>");
- $("#view").append("<div id='graphs' style='height:350px;'></div>");
- $("#view").append($("<h2>Types</h2>").append($("<button id='classes_all' style='font-size: 12px;margin-left:5px;'>(show types of all graphs)</button>").click(function(){drawClasses()})));
- $("#view").append("<div id='classes' style='height:350px;'></div>");
- $("#view").append("<h2>Resources</h2>");
- $("#view").append("<div id='resources' style=''></div>");
- drawGraphs();
- drawClasses();
- }
- });
-
- </script>
- <style type="text/css">
- .resource {
- border:1px solid #666;
- border-collapse: collapse;
- width: 100%;
- }
- .resource th {
- background: none !important;
- padding: 3px;
- }
- .resource th a {
- color:white !important;
- font-weight: bold !important;
- }
- .resource td a {
- color:black !important;
- }
- .resource td {
- padding: 2px;
- }
- </style>
-<!--###END_HEAD###-->
-</head>
-<body>
- <!--###BEGIN_CONTENT###-->
- <h1>Dataview</h1>
- <div id="view"></div>
- <!--###END_CONTENT###-->
-</body>
-</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/5486b79f/platform/marmotta-core/target/classes/web/admin/export.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/target/classes/web/admin/export.html b/platform/marmotta-core/target/classes/web/admin/export.html
deleted file mode 100644
index 35bebf5..0000000
--- a/platform/marmotta-core/target/classes/web/admin/export.html
+++ /dev/null
@@ -1,112 +0,0 @@
-<!--
-
- Copyright (C) 2013 Salzburg Research.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<html>
-<head>
-<!--###BEGIN_HEAD###-->
- <title>Exporter</title>
- <link rel="stylesheet" type="text/css" href="../public/style/smoothness/jquery-ui-1.8.21.custom.css" />
- <script type="text/javascript" src="../public/js/lib/jquery-1.7.2.js"></script>
- <script type="text/javascript" src="../public/js/lib/jquery-ui-1.8.21.js"></script>
-
- <script type="text/javascript">
- var updateDownloadLink = function() {
- var format = $("#formats").val();
- var context = $("#contexts").val();
-
- var downloadLink = _SERVER_URL + "export/download?";
- if(context != null && format != null) {
- if(context != "all") {
- downloadLink += "context="+encodeURIComponent(context)+"&format="+encodeURIComponent(format);
- } else {
- downloadLink += "format="+encodeURIComponent(format);
- }
- $("#download").removeAttr("disabled");
- $("#download").attr("href",downloadLink);
- }
-
- };
-
-
- $(document).ready(function() {
- // load contexts
- $.get(_SERVER_URL + "context/list?labels=true", function(data) {
- $("#contexts").empty();
- $("#contexts").append("<option>all</option>");
- $.each(data, function(row,item) {
- $("#contexts").append("<option value='"+item.uri+"'>"+item.label+"</option>");
- });
-
- $("#contexts").change(updateDownloadLink);
-
- updateDownloadLink();
- }, "json");
-
- // load supported formats
- $.get(_SERVER_URL + "export/types", function(data) {
- $("#formats").empty();
- $.each(data, function(row,item) {
- $("#formats").append("<option>"+item+"</option>");
- });
-
- $("#formats").change(updateDownloadLink);
-
- updateDownloadLink();
- }, "json");
-
- // initialise download link
- });
- </script>
- <style>
- .export_table {
- margin: 0px auto;
- background-color: #eeeeee;
- padding: 20px;
- border: 1px solid gray;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- }
- .export_table td {
- padding: 3px;
- }
- </style>
-<!--###END_HEAD###-->
-</head>
-<body>
-
-<!--###BEGIN_CONTENT###-->
-<h1>Export Data</h1>
-<p>
- The following page allows you to export and download RDF data contained in the Linked Media Framework. You can choose
- from different serialization formats and either export all RDF data or only the RDF data contained in a certain
- context (named graph). If you want to download the data instead of displaying in the browser, right-click the download
- link and choose "save as".
-</p>
-
-<div id="exporter_div">
- <table class="export_table">
- <tr><td><strong>Format:</strong></td><td><select id="formats"></select></td></tr>
- <tr><td><strong>Context:</strong></td><td><select id="contexts"></select></td></tr>
- <tr><td><strong>Download:</strong></td><td><a style="font-weight: bold" id="download" href="" disabled="disabled">Download Link</a></td></tr>
- </table>
-</div>
-
-
-<!--###END_CONTENT###-->
-
-</body>
-</html>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/5486b79f/platform/marmotta-core/target/classes/web/admin/first_steps.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/target/classes/web/admin/first_steps.html b/platform/marmotta-core/target/classes/web/admin/first_steps.html
deleted file mode 100644
index 7336a80..0000000
--- a/platform/marmotta-core/target/classes/web/admin/first_steps.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!--
-
- Copyright (C) 2013 Salzburg Research.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<html>
-<head>
- <title>LMF - The first Steps</title>
- <!--###BEGIN_HEAD###-->
- <script type="text/javascript" src="../public/js/lib/jquery-1.6.4.js"></script>
- <script type="text/javascript">
-
- var _STARTPAGE_DEFAULT = "core/admin/about.html";
-
- function changeStartpage() {
- $.ajax({
- type:"POST",
- contentType: "application/json",
- url: _SERVER_URL + "config/data/kiwi.pages.startup",
- data: '["'+_STARTPAGE_DEFAULT+'"]',
- success: function() {
- alert("Set startup page to "+_SERVER_URL+_STARTPAGE_DEFAULT);
- },
- error: function() {
- alert("Some error occurs. Try to change value manually! Sorry!");
- }
- });
- }
- </script>
- <!--###END_HEAD###-->
-</head>
-<body>
-<!--###BEGIN_CONTENT###-->
-<h1>Welcome to the Linked Media Framework</h1>
- <p>
- Congratulations! You've made it to install the LMF. Now, whats's next? Have a look at the tips below.<br><br>
- Have Fun!<br>
- <i>Your LMF Team</i><br><br>
- </p>
- <h2>First steps:</h2>
-
- <h3>1. Interacting with Resources</h3>
- <p>
- To interact with resources, you need a REST client that is capable of issuing POST, PUT, GET and DELETE commands to remote resources.
- A very basic command line tool for this is <a href="http://curl.haxx.se/download.html">cURL</a>.
- </p>
- <h4>Create a Resource</h4>
-
- <p><strong>Command:</strong></p>
- <pre>
-curl -i -X POST http://localhost:8080/LMF/resource/1234
- </pre>
- <p>
- As a result, the resource with the URI http://localhost:8080/LMF/resource/1234 will be created, indicated by an HTTP status code of 201.
- </p>
-
- <h4>Upload RDF Metadata for a Resource</h4>
- <p>
- The server decides based on the "Content-Type" header how to process data sent with the request. To upload
- metadata, the Content-Type should be of the form "type/subtype; <strong>rel=meta</strong>". Examples:
- </p>
- <ul>
- <li>application/rdf+xml; rel=meta</li>
- <li>text/rdf+n3; rel=meta</li>
- <li>...</li>
- </ul>
- <p><em>Command:</em></p>
- <pre>
-curl -X PUT -i -H "Content-Type: text/rdf+n3; rel=meta" \
- -d '<http://localhost:8080/LMF/resource/1234> <http://www.w3.org/2000/01/rdf-schema#label> "Test Resource".' \
- http://localhost:8080/LMF/resource/1234
- </pre>
-
- <p>Result will be a redirect to the real URI of the resource for this content type (according to the Linked Data principles). Follow this redirect by using the command:</p>
- <pre>
-curl -X PUT -i -H "Content-Type: text/rdf+n3; rel=meta" \
- -d '<http://localhost:8080/LMF/resource/1234> <http://www.w3.org/2000/01/rdf-schema#label> "Test Resource".' \
- http://localhost:8080/LMF/meta/text/rdf+n3/1234
- </pre>
-
- <p class="box">Note that many HTTP clients will rewrite the method from PUT to GET if you turn on automatic following of
- redirects (e.g. cURL and Firefox). It is therefore recommended to follow all redirects manually.</p>
-
- <h4>Upload Media Content for a Resource</h4>
- <p>
- The server decides based on the "Content-Type" header how to process data sent with the request. To upload
- content, the Content-Type should be of the form "type/subtype; <strong>rel=content</strong>". Examples:
- </p>
- <ul>
- <li>text/html; rel=content </li>
- <li>text/plain; rel=content </li>
- <li>image/jpeg; rel=content </li>
- <li>...</li>
- </ul>
- <p><strong>Command:</strong></p>
- <pre>
-curl -X PUT -i -H "Content-Type: text/plain; rel=content" \
- -d 'This is textual content of the resource' \
- http://localhost:8080/LMF/resource/1234
- </pre>
- <p>Again, we have to manually perform the redirect that is sent by the server:</p>
- <pre>
-curl -X PUT -i -H "Content-Type: text/plain; rel=content" \
- -d 'This is textual content of the resource' \
- http://localhost:8080/LMF/content/text/plain/1234
- </pre>
-
- <h4>Retrieving Content and Metadata</h4>
- <p>
- Retrieving content and metadata works analogously to updating and follows the Linked Data principles. Instead
- of "PUT" you use the method "GET", and instead of the header "Content-Type" you use the header "Accept":
- </p>
- <pre>
-curl -X GET -L -i -H "Accept: application/rdf+xml; rel=meta" \
- http://localhost:8080/LMF/resource/1234
- </pre>
- <p class="box">
- Note that in case of retrieving content or metadata it is safe to turn on automatic redirects in HTTP
- clients (-L option in cURL), because the method is GET anyways.
- </p>
-
- <h4>Deleting a Resource</h4>
- <p>A resource is deleted using the DELETE method. Command:</p>
- <pre>
-curl -i -X DELETE http://localhost:8080/LMF/resource/1234
- </pre>
-
-
- <h3>2. Importing RDF Datasets and Ontologies</h3>
-
- <p>
- Sometimes it is desirable to import larger datasets consisting of more than one resource. Individually
- adding resources would be cumbersome. Therefore, the LMF provides an import functionality that can be
- used for uploading:
- </p>
-
- <p><strong>Command: </strong></p>
- <pre>
-curl -i -H "Content-Type: text/rdf+n3" -X POST -d @test.n3 http://localhost:8080/LMF/import/upload
- </pre>
- <p>
- Would import the file test.n3 into the system. The command
- </p>
- <pre>
-curl -X GET http://localhost:8080/LMF/import/types
- </pre>
- <p>
- returns a list of types supported by the LMF importer.
- </p>
-
- <h3>3. Experimenting with Semantic Search and SPARQL</h3>
-
- <p>
- The admin interface offers a "Semantic Search" tab where you can configure and explore the semantic
- search and SPARQL support offered by the Linked Media Framework. Search over resources will always be
- domain-specific and will need to take into account the schema of the data. Therefore, the semantic search
- component provides only very simple and straightforward search functionality by default, using the
- properties rdfs:label and rdfs:comment.
- </p>
- <p>
- To adapt the search component to your specific domain, the LMF Admin Interface offers under the
- "Semantic Search" tab the possibility to define so-called "shortcut programs". A shortcut program is a set
- of rules that map index fields to RDF properties or paths of RDF properties. For example, the following
- program defines four fields (title, summary, tag, type):
- </p>
- <pre>
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns##>;
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>;
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#>;
-@prefix hgtags: <http://www.holygoat.co.uk/owl/redwood/0.1/tags/>;
-
-title = rdfs:label :: xsd:string;
-summary = rdfs:comment :: xsd:string;
-tag = hgtags:taggedWithTag / hgtags:name :: xsd:string;
-type = rdf:type :: xsd:anyURI;
- </pre>
- <p>
- In the most simple case (e.g. title), the rule maps an index field to exactly one RDF property. In more
- complex cases, the rule allows to follow a path of RDF properties; e.g. in the "tag" field above, the rule
- would start at the current resources and follow the hgtags:taggedWithTag property, and from there it will
- follow the hgtags:name property and store it in the index.
- </p>
-<!--###END_CONTENT###-->
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/5486b79f/platform/marmotta-core/target/classes/web/admin/import.html
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/target/classes/web/admin/import.html b/platform/marmotta-core/target/classes/web/admin/import.html
deleted file mode 100644
index 8fb88ac..0000000
--- a/platform/marmotta-core/target/classes/web/admin/import.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!--
-
- Copyright (C) 2013 Salzburg Research.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<html>
-<head>
-<!--###BEGIN_HEAD###-->
- <title>Importer</title>
- <script type="text/javascript" src="../public/js/lib/jquery-1.6.4.js"></script>
- <script type="text/javascript" src="../public/js/lib/lmf-0.0.1.js"></script>
- <script type="text/javascript" src="js/widgets/import.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- var imp = new Importer("importer_div",_SERVER_URL);
- })
- </script>
- <style>
- .import_type {
- padding: 2px;
- cursor: pointer;
- font-weight: bold;
- }
- .importer_table {
- background-color: #eeeeee;
- padding: 10px;
- border: 1px solid gray;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- }
- </style>
-<!--###END_HEAD###-->
-</head>
-<body>
-<!--###BEGIN_CONTENT###-->
-<div id="importer_div"></div>
-<!--###END_CONTENT###-->
-</body>
-</html>