| author | ymh <ymh.work@gmail.com> |
| Tue, 02 Apr 2013 01:56:11 +0200 | |
| changeset 127 | 906fed13c1e1 |
| parent 126 | 4479369ff9f1 |
| child 192 | 47aa37d3e750 |
| child 224 | 0167b777ad15 |
| 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" /> |
| 127 | 7 |
|
| 59 | 8 |
<title>RENKAN</title> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
<meta name="description" content="" /> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
10 |
<meta name="author" content="Institut de Recherche et d'Innovation" /> |
| 127 | 11 |
<link rel="icon" href="../../static/img/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
|
12 |
<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
|
13 |
<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
|
14 |
<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
|
15 |
<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
|
16 |
<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
|
17 |
<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
|
18 |
<script src="js/main.js" th:src="@{/static/js/main.js}"></script> |
| 115 | 19 |
<script src="js/defaults.js" th:src="@{/static/js/defaults.js}"></script> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
20 |
<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
|
21 |
<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
|
22 |
<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
|
23 |
<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
|
24 |
<script src="js/ldtjson-bin.js" th:src="@{/static/js/ldtjson-bin.js}"></script> |
| 77 | 25 |
<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
|
26 |
<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
|
27 |
<script type="text/javascript" src="js/config.js" th:src="@{/static/js/config.js}"></script> |
| 109 | 28 |
<script type="text/javascript" th:inline="javascript"> |
29 |
var cowebConfig = { |
|
30 |
baseUrl: window.location.protocol + '//' + window.location.host, |
|
|
123
daa99448319d
first step for site administration
ymh <ymh.work@gmail.com>
parents:
109
diff
changeset
|
31 |
adminUrl : dojoConfig.baseUrl+'ocw_admin', |
| 109 | 32 |
debug: /*[[${coweb_debug}]]*/false, |
33 |
useWebSockets: /*[[${coweb_websockets}]]*/false |
|
34 |
}; |
|
35 |
</script> |
|
| 54 | 36 |
<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
|
37 |
<script type="text/javascript" th:inline="javascript"> |
| 54 | 38 |
$(function() { |
| 77 | 39 |
var renkan_config = { |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
40 |
static_url : /*[[@{/static/}]]*/ "", |
|
124
c04232f8cc53
First implementation of status change.
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
41 |
read_only: true, |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
42 |
bins: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
43 |
{ |
| 80 | 44 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
45 |
lang: "en", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
46 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
47 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
48 |
{ |
| 80 | 49 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
50 |
lang: "ja", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
51 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
52 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
53 |
{ |
| 80 | 54 |
type: "Twitter", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
55 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
56 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
57 |
{ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
58 |
title: "LDT Project", |
| 80 | 59 |
type: "Ldt", |
60 |
ldt_type: "Project", |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
61 |
project_id: "67280b1c-ff30-11e0-a82d-00145ea49a02", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
62 |
ldt_platform: "http://ldt.iri.centrepompidou.fr/" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
63 |
} |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
64 |
], |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
65 |
search: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
66 |
{ |
| 80 | 67 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
68 |
lang: "fr" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
69 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
70 |
{ |
| 80 | 71 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
72 |
lang: "en" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
73 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
74 |
{ |
| 80 | 75 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
76 |
lang: "ja" |
|
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 |
type: "Twitter" |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
80 |
} |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
81 |
], |
| 80 | 82 |
property_files: [ |
83 |
/*[[@{/static/data/properties.json}]]*/ "data/properties.json", |
|
84 |
], |
|
| 77 | 85 |
}; |
86 |
var space_config = /*[[${space.binConfig}?${space.binConfig}:'{}']]*/"{}"; |
|
87 |
space_config = JSON.parse(space_config); |
|
88 |
var _renkan = new Rkns.Renkan($.extend({}, renkan_config, space_config)); |
|
| 54 | 89 |
var corenkanConfig = { |
90 |
projectId: /*[[${project.id}]]*/"new_project", |
|
91 |
renkan : _renkan |
|
92 |
}; |
|
93 |
||
94 |
require({corenkanConfig: corenkanConfig}, ["corenkan"], function(corenkan) { |
|
95 |
corenkan.app.onStatusChange = function(status) { |
|
96 |
}; |
|
97 |
}); |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
98 |
}); |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
99 |
</script> |
|
97
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
100 |
<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
|
101 |
<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
|
102 |
</head> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
103 |
<body> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
104 |
<div id="renkan"></div> |
|
97
f7d611f50e58
add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
80
diff
changeset
|
105 |
<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
|
106 |
<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
|
107 |
</div> |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
108 |
</body> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
109 |
</html> |