-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.html
111 lines (90 loc) · 3.49 KB
/
page.html
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FooWiki</title>
<link rel="stylesheet" href="css/columns.css" />
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/common.css">
<!-- link rel="stylesheet" type="text/css" href="css/jquery-ui.css" -->
<!-- from https://github.com/aehlke/tag-it -->
<link href="css/jquery.tagit.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="css/tagit.ui-zendesk.css">
<link rel="stylesheet" type="text/css" href="css/jquery-ui.min.css" />
<script src="js/lib/marked.js"></script>
<!-- mustache template compiler -->
<script src="js/lib/hogan-3.0.2.js"></script>
<script src="js/lib/jquery-1.10.2.js"></script>
<script src="js/lib/jquery-ui.min.js" type="text/javascript" charset="utf-8"></script>
<!-- from https://github.com/aehlke/tag-it -->
<script src="js/lib/tag-it.js" type="text/javascript" charset="utf-8"></script>
<!-- date formatting -->
<script src="js/lib/moment.js"></script>
<!-- FooWiki scripts -->
<script src="js/foowiki/config.js"></script>
<script src="js/foowiki/sparql-templates.js"></script>
<script src="js/foowiki/html-templates.js"></script>
<script src="js/foowiki/utils.js"></script>
<script src="js/foowiki/core.js"></script>
<script src="js/foowiki/index.js"></script>
<script src="js/foowiki/view.js"></script>
<script src="js/foowiki/sparql-connector.js"></script>
<script type="text/javascript" language="javascript">
$(function () {
setupErrorHandling();
spinner();
var uri = queryString["uri"];
uri = encodeURI(uri);
getResource(uri, buildPage);
setupButtons();
makeRecentChangesList();
$('#editButton').click(function () {
window.location.href = window.location.href.replace("page.html", "edit.html");
return false;
});
});
</script>
</head>
<body>
<div id="errorbox"></div>
<div id="header">FooWiki</div>
<div id="middle" class="column">
<div id="entry">
</div>
<p id="buttons" class="center"></p>
</div>
<div id="left" class="column">
<div class="tab"><a href="index.html">Page Index</a>
</div>
<!-- div class="tab"><a href="page.html?uri=http://hyperdata.it/wiki/">Home Page</a>
</div -->
<div>
<div id="newPage">
<button id="newPageButton">Create New Page</button>
<label for='newPageName'>New Page Title</label>
<input id="newPageName" type="text" />
</div>
<div id="recentChangesContainer">
<label for='recentChanges'>Recent Changes</label>
<ul id="recentChanges"></ul>
</div>
</div>
</div>
<div id="right" class="column">
<button id="editButton">Edit</button>
<div id='searchContainer'>
<button id='searchButton'>Search</button>
<label for='searchText'>Search text</label>
<input id='searchText' type='text' value=''></input>
<label for='tagButtons'>Filter by Tags</label>
<div id='tagButtons'></div>
<ul id="results"></ul>
</div>
</div>
<div id="footer"><em>hyperdata.it</em>
</div>
<div id="spinner" class="spinner"></div>
<!-- /div -->
<div id="testImage" />
</body>
</html>