-
Notifications
You must be signed in to change notification settings - Fork 1
/
journal-view.xhtml
42 lines (42 loc) · 1.54 KB
/
journal-view.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8" ?>
<html version="XHTML+RDFa 1.0" xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dcterms="http://purl.org/dc/terms/">
<head>
<title resource="?this">{rdfs:label}</title>
</head>
<body resource="?this">
<div class="container">
<div class="page-header">
<h1 property="rdfs:label" />
</div>
<div class="row">
<div class="col-sm-8">
<p property="rdfs:comment" />
<ul>
<li rev="dcterms:isPartOf" resource="?note">
<a href="?note">
<time datetime="{dcterms:date}" />
</a>
</li>
</ul>
<script type="text/javascript">
$('li time[datetime]').text(function(){
return calli.parseDateTime(this).toLocaleString();
});
</script>
</div>
<div class="col-sm-4">
<aside class="well well-sm">
<p class="lead">
<a resource="Note" href="Note" onclick="href='?create='+encodeURIComponent(getAttribute('resource'))">Create a new note</a>
</p>
</aside>
</div>
</div>
</div>
</body>
</html>