[VIVO-1312] Implement Linked Data Fragment Server (#53)
* [VIVO-1312] Linked Data Fragments initial implementation * [VIVO-1312] Use known ontologies in the prefixes config * [VIVO-1312] Simplify SPARQL as when restricted to specific values, they don’t need ordering * [VIVO-1312] Freemarker fixes * [VIVO-1312] Remove blank nodes * [VIVO-1312] Add access control header and standard prefixes for TPF * [VIVO-1312] Render literals in form so that they will work on resubmit * [VIVO-1312] Minor template update * [VIVO-1312] Minor template update
This commit is contained in:
parent
e9cb3de52e
commit
68a462b05a
63 changed files with 5215 additions and 0 deletions
30
api/src/main/resources/tpf/base.ftl.html
Normal file
30
api/src/main/resources/tpf/base.ftl.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<#-- @license ©2015 Miel Vander Sande - Multimedia Lab / iMinds / Ghent University -->
|
||||
<#macro display_page>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" prefix="hydra: http://www.w3.org/ns/hydra/core# void: http://rdfs.org/ns/void#">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Linked Data Fragments Server ${ (title!header)?ensure_starts_with("(")?ensure_ends_with(")") }</title>
|
||||
<link rel="stylesheet" href="${ assetsPath }style.css" />
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:700italic,400,700|Droid+Sans+Mono" type="text/css" />
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1><a href="${homePath}">Linked Data Fragments Server</a></h1>
|
||||
<figure class="logo">
|
||||
<a href="http://linkeddatafragments.org/"><img src="${ assetsPath }logo.svg" alt="Linked Data Fragments" /></a>
|
||||
</figure>
|
||||
</header>
|
||||
<main>
|
||||
<@contents/>
|
||||
</main>
|
||||
<footer>
|
||||
<p>
|
||||
Powered by a <a href="https://github.com/LinkedDataFragments/Server.java" target="_blank">Linked Data Fragments Server</a>
|
||||
©2013–${date?string.yyyy} Multimedia Lab – iMinds – Ghent University
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
</#macro>
|
Loading…
Add table
Add a link
Reference in a new issue