| author | ymh <ymh.work@gmail.com> |
| Wed, 04 Mar 2015 09:39:11 +0100 | |
| changeset 395 | 2e8c92eb0dfa |
| parent 394 | 1e60ba9ae38b |
| child 435 | e529b633c339 |
| permissions | -rw-r--r-- |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
<!DOCTYPE html> |
|
224
0167b777ad15
remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents:
127
diff
changeset
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" th:lang="${#ctx.getLocale().toLanguageTag()}"> |
|
47
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" /> |
| 350 | 12 |
<script src="lib/jquery/jquery.js" th:src="@{/static/lib/jquery/jquery.js}" ></script> |
13 |
<script src="lib/jquery-mousewheel/jquery.mousewheel.js" th:src="@{/static/lib/jquery-mousewheel/jquery.mousewheel.js}"></script> |
|
14 |
<script src="lib/underscore/underscore.js" th:src="@{/static/lib/underscore/underscore.js}"></script> |
|
15 |
<script src="lib/backbone/backbone.js" th:src="@{/static/lib/backbone/backbone.js}"></script> |
|
16 |
<script src="lib/backbone-relational/backbone-relational.js" th:src="@{/static/lib/backbone-relational/backbone-relational.js}"></script> |
|
17 |
<script src="lib/paper/paper-full.js" th:src="@{/static/lib/paper/paper-full.js}"></script> |
|
|
290
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
18 |
<script type="text/javascript" th:inline="javascript"> |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
19 |
/*<![CDATA[*/ |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
20 |
var require = { |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
21 |
baseUrl: /*[[@{/static/js/}]]*/"" |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
22 |
}; |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
23 |
/*]]>*/ |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
24 |
</script> |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
25 |
<script src="js/config.js" th:src="@{/static/js/config.js}"></script> |
| 109 | 26 |
<script type="text/javascript" th:inline="javascript"> |
27 |
var cowebConfig = { |
|
| 257 | 28 |
baseUrl: window.location.protocol + '//' + window.location.host, |
29 |
adminUrl : dojoConfig.baseUrl+'ocw_admin', |
|
30 |
debug: /*[[${coweb_debug}]]*/false, |
|
31 |
useWebSockets: /*[[${coweb_websockets}]]*/false |
|
32 |
}; |
|
| 109 | 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"> |
|
290
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
36 |
/*<![CDATA[*/ |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
37 |
function startRenkan() { |
| 77 | 38 |
var renkan_config = { |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
39 |
static_url : /*[[@{/static/}]]*/ "", |
|
124
c04232f8cc53
First implementation of status change.
ymh <ymh.work@gmail.com>
parents:
123
diff
changeset
|
40 |
read_only: true, |
|
394
1e60ba9ae38b
css corrections on link in node description - correct dojo library config - deactivate image upload
ymh <ymh.work@gmail.com>
parents:
350
diff
changeset
|
41 |
change_shapes: false, |
|
1e60ba9ae38b
css corrections on link in node description - correct dojo library config - deactivate image upload
ymh <ymh.work@gmail.com>
parents:
350
diff
changeset
|
42 |
allow_image_upload : false, |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
43 |
bins: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
44 |
{ |
| 80 | 45 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
46 |
lang: "en", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
47 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
48 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
49 |
{ |
| 80 | 50 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
51 |
lang: "ja", |
|
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 |
property_files: [ |
77 |
/*[[@{/static/data/properties.json}]]*/ "data/properties.json", |
|
78 |
], |
|
| 77 | 79 |
}; |
| 257 | 80 |
var space_config = /*[[${space.binConfig}?${space.binConfig}:'{}']]*/"{}"; |
81 |
space_config = JSON.parse(space_config || "{}"); |
|
| 77 | 82 |
var _renkan = new Rkns.Renkan($.extend({}, renkan_config, space_config)); |
| 54 | 83 |
var corenkanConfig = { |
| 257 | 84 |
projectId: /*[[${project.id}]]*/"new_project", |
85 |
renkan : _renkan |
|
86 |
}; |
|
| 54 | 87 |
|
| 257 | 88 |
require({corenkanConfig: corenkanConfig}, ["corenkan"], function(corenkan) { |
| 54 | 89 |
corenkan.app.onStatusChange = function(status) { |
90 |
}; |
|
91 |
}); |
|
|
290
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
92 |
} |
|
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
93 |
/*]]>*/ |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
94 |
</script> |
|
290
8a6eb26ac87f
move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents:
257
diff
changeset
|
95 |
<script src="js/renkan.js" th:src="@{/static/js/renkan.js}"></script> |
| 257 | 96 |
<link rel="stylesheet" href="css/renkan.css" th:href="@{/static/css/renkan.css}"/> |
97 |
<link rel="stylesheet" href="../../static/css/style.css" th:href="@{/static/css/style.css}"/> |
|
98 |
<link rel="stylesheet" href="../../static/css/renkanProject.css" th:href="@{/static/css/renkanProject.css}"/> |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
99 |
</head> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
100 |
<body> |
| 257 | 101 |
<header><a href="/" th:href="@{/}">RENKAN</a> > <a href=".." th:href="@{'/s/'+${space.id}}">Space</a></header> |
102 |
<div id="renkan-wrapper"> |
|
103 |
<div id="renkan-container"> |
|
104 |
<div id="renkan"></div> |
|
105 |
</div> |
|
106 |
</div> |
|
107 |
<footer id="footer" th:include="fragment/pageFragment :: footerFragment"> |
|
108 |
<div id="version">© <span class="version-date">2014</span> <a href="http://www.iri.centrepompidou.fr" target="_blanck">IRI</a> - Version <span class="version-version">0.0</span></div> |
|
109 |
</footer> |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
110 |
</body> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
111 |
</html> |