| author | rougeronj |
| Mon, 22 Dec 2014 12:38:16 +0100 | |
| changeset 350 | 0b6f2883a67b |
| parent 316 | 242510015401 |
| child 394 | 1e60ba9ae38b |
| 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, |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
41 |
bins: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
42 |
{ |
| 80 | 43 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
44 |
lang: "en", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
45 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
46 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
47 |
{ |
| 80 | 48 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
49 |
lang: "ja", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
50 |
search: "Digital Humanities" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
51 |
}, |
|
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 |
title: "LDT Project", |
| 80 | 54 |
type: "Ldt", |
55 |
ldt_type: "Project", |
|
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
56 |
project_id: "67280b1c-ff30-11e0-a82d-00145ea49a02", |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
57 |
ldt_platform: "http://ldt.iri.centrepompidou.fr/" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
58 |
} |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
59 |
], |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
60 |
search: [ |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
61 |
{ |
| 80 | 62 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
63 |
lang: "fr" |
|
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 |
{ |
| 80 | 66 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
67 |
lang: "en" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
68 |
}, |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
69 |
{ |
| 80 | 70 |
type: "Wikipedia", |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
71 |
lang: "ja" |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
72 |
} |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
73 |
], |
| 80 | 74 |
property_files: [ |
75 |
/*[[@{/static/data/properties.json}]]*/ "data/properties.json", |
|
76 |
], |
|
| 77 | 77 |
}; |
| 257 | 78 |
var space_config = /*[[${space.binConfig}?${space.binConfig}:'{}']]*/"{}"; |
79 |
space_config = JSON.parse(space_config || "{}"); |
|
| 77 | 80 |
var _renkan = new Rkns.Renkan($.extend({}, renkan_config, space_config)); |
| 54 | 81 |
var corenkanConfig = { |
| 257 | 82 |
projectId: /*[[${project.id}]]*/"new_project", |
83 |
renkan : _renkan |
|
84 |
}; |
|
| 54 | 85 |
|
| 257 | 86 |
require({corenkanConfig: corenkanConfig}, ["corenkan"], function(corenkan) { |
| 54 | 87 |
corenkan.app.onStatusChange = function(status) { |
88 |
}; |
|
89 |
}); |
|
|
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
|
90 |
} |
|
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
|
91 |
/*]]>*/ |
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
92 |
</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
|
93 |
<script src="js/renkan.js" th:src="@{/static/js/renkan.js}"></script> |
| 257 | 94 |
<link rel="stylesheet" href="css/renkan.css" th:href="@{/static/css/renkan.css}"/> |
95 |
<link rel="stylesheet" href="../../static/css/style.css" th:href="@{/static/css/style.css}"/> |
|
96 |
<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
|
97 |
</head> |
|
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
98 |
<body> |
| 257 | 99 |
<header><a href="/" th:href="@{/}">RENKAN</a> > <a href=".." th:href="@{'/s/'+${space.id}}">Space</a></header> |
100 |
<div id="renkan-wrapper"> |
|
101 |
<div id="renkan-container"> |
|
102 |
<div id="renkan"></div> |
|
103 |
</div> |
|
104 |
</div> |
|
105 |
<footer id="footer" th:include="fragment/pageFragment :: footerFragment"> |
|
106 |
<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> |
|
107 |
</footer> |
|
|
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> |