| author | ymh <ymh.work@gmail.com> |
| Mon, 25 Mar 2013 19:27:26 +0100 | |
| changeset 123 | daa99448319d |
| parent 109 | b6b20e8c4a1a |
| child 124 | c04232f8cc53 |
| permissions | -rw-r--r-- |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
<!DOCTYPE html> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
<html lang="fr" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" > |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
<head> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
<meta charset="utf-8" /> |
| 51 | 5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| 59 | 7 |
<title>RENKAN</title> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
8 |
<meta name="description" content="" /> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
<meta name="author" content="Institut de Recherche et d'Innovation" /> |
| 59 | 10 |
<link rel="icon" href="favicon.ico" th:href="@{/static/img/favicon.ico}" type="image/x-icon" /> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
11 |
<script src="lib/jquery.min.js" th:src="@{/static/lib/jquery.min.js}" ></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
12 |
<script src="lib/jquery.mousewheel.min.js" th:src="@{/static/lib/jquery.mousewheel.min.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
<script src="lib/underscore-min.js" th:src="@{/static/lib/underscore-min.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
14 |
<script src="lib/backbone.js" th:src="@{/static/lib/backbone.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
15 |
<script src="lib/backbone-relational.js" th:src="@{/static/lib/backbone-relational.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
16 |
<script src="lib/paper.js" th:src="@{/static/lib/paper.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
<script src="js/main.js" th:src="@{/static/js/main.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
<script src="js/i18n.js" th:src="@{/static/js/i18n.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
<script src="js/models.js" th:src="@{/static/js/models.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
20 |
<script src="js/twitter-bin.js" th:src="@{/static/js/twitter-bin.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
21 |
<script src="js/wikipedia-bin.js" th:src="@{/static/js/wikipedia-bin.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
22 |
<script src="js/ldtjson-bin.js" th:src="@{/static/js/ldtjson-bin.js}"></script> |
| 77 | 23 |
<script src="js/list-bin.js" th:src="@{/static/js/list-bin.js}"></script> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
24 |
<script src="js/paper-renderer.js" th:src="@{/static/js/paper-renderer.js}"></script> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
25 |
<script type="text/javascript" src="js/config.js" th:src="@{/static/js/config.js}"></script> |
| 109 | 26 |
<script type="text/javascript" th:inline="javascript"> |
27 |
var cowebConfig = { |
|
28 |
baseUrl: window.location.protocol + '//' + window.location.host, |
|
|
123
daa99448319d
first step for site administration
ymh <ymh.work@gmail.com>
parents:
109
diff
changeset
|
29 |
adminUrl : dojoConfig.baseUrl+'ocw_admin', |
| 109 | 30 |
debug: /*[[${coweb_debug}]]*/false, |
31 |
useWebSockets: /*[[${coweb_websockets}]]*/false |
|
32 |
}; |
|
33 |
</script> |
|
| 54 | 34 |
<script type="text/javascript" src="lib/dojo/dojo.js" data-dojo-config="isDebug: true, parseOnLoad: true" th:src="@{/static/lib/dojo/dojo.js}"></script> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
35 |
<script type="text/javascript" th:inline="javascript"> |
| 54 | 36 |
$(function() { |
| 77 | 37 |
var renkan_config = { |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
38 |
static_url : /*[[@{/static/}]]*/ "", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
39 |
bins: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
40 |
{ |
| 80 | 41 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
42 |
lang: "en", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
43 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
44 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
45 |
{ |
| 80 | 46 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
47 |
lang: "ja", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
48 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
49 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
50 |
{ |
| 80 | 51 |
type: "Twitter", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
52 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
53 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
54 |
{ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
55 |
title: "LDT Project", |
| 80 | 56 |
type: "Ldt", |
57 |
ldt_type: "Project", |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
58 |
project_id: "67280b1c-ff30-11e0-a82d-00145ea49a02", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
59 |
ldt_platform: "http://ldt.iri.centrepompidou.fr/" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
60 |
} |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
61 |
], |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
62 |
search: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
63 |
{ |
| 80 | 64 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
65 |
lang: "fr" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
66 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
67 |
{ |
| 80 | 68 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
69 |
lang: "en" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
70 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
71 |
{ |
| 80 | 72 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
73 |
lang: "ja" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
74 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
75 |
{ |
| 80 | 76 |
type: "Twitter" |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
77 |
} |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
78 |
], |
| 80 | 79 |
property_files: [ |
80 |
/*[[@{/static/data/properties.json}]]*/ "data/properties.json", |
|
81 |
], |
|
| 77 | 82 |
}; |
83 |
var space_config = /*[[${space.binConfig}?${space.binConfig}:'{}']]*/"{}"; |
|
84 |
space_config = JSON.parse(space_config); |
|
85 |
var _renkan = new Rkns.Renkan($.extend({}, renkan_config, space_config)); |
|
| 54 | 86 |
var corenkanConfig = { |
87 |
projectId: /*[[${project.id}]]*/"new_project", |
|
88 |
renkan : _renkan |
|
89 |
}; |
|
90 |
||
91 |
require({corenkanConfig: corenkanConfig}, ["corenkan"], function(corenkan) { |
|
92 |
corenkan.app.onStatusChange = function(status) { |
|
93 |
if(status == "ready") { |
|
94 |
} |
|
95 |
}; |
|
96 |
}); |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
97 |
}); |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
98 |
</script> |
|
97
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
99 |
<link href="../../static/css/style.css" rel="stylesheet" th:href="@{/static/css/style.css}"/> |
|
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
100 |
<link rel="stylesheet" href="css/renkan.css" th:href="@{/static/css/renkan.css}"/> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
101 |
</head> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
102 |
<body> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
103 |
<div id="renkan"></div> |
|
97
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
104 |
<div id="footer" th:include="fragment/pageFragment :: footerFragment"> |
|
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
105 |
<div id="version">© <span class="version-date">2013</span> <a href="http://www.iri.centrepompidou.fr" target="_blanck">IRI</a> - Version <span class="version-version">0.0</span></div> |
|
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
106 |
</div> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
107 |
</body> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
108 |
</html> |