| author | ymh <ymh.work@gmail.com> |
| Thu, 18 Dec 2014 18:14:28 +0100 | |
| changeset 344 | e616c4fff297 |
| parent 295 | bcac9ea07d04 |
| child 345 | cb5c0007c9f9 |
| permissions | -rw-r--r-- |
| 252 | 1 |
<!DOCTYPE html> |
2 |
<html lang="fr"> |
|
3 |
<head> |
|
4 |
<meta charset="utf-8" /> |
|
5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
|
6 |
<title>RENKAN test in read-only mode : body 100%</title> |
|
7 |
<meta name="description" content="" /> |
|
8 |
<meta name="author" content="Institut de Recherche et d'Innovation" /> |
|
| 256 | 9 |
<script src="../lib/jquery.min.js"></script> |
10 |
<script src="../lib/jquery.mousewheel.min.js"></script> |
|
11 |
<script src="../lib/underscore-min.js"></script> |
|
12 |
<script src="../lib/backbone.js"></script> |
|
13 |
<script src="../lib/backbone-relational.js"></script> |
|
14 |
<script src="../lib/paper.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:
284
diff
changeset
|
15 |
<script src="../js/main.js"></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:
284
diff
changeset
|
16 |
<script src="../js/models.js"></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:
284
diff
changeset
|
17 |
<script src="../js/defaults.js"></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:
284
diff
changeset
|
18 |
<script src="../js/i18n.js"></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:
284
diff
changeset
|
19 |
<script src="../js/full-json.js"></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:
284
diff
changeset
|
20 |
<script src="../js/ldtjson-bin.js"></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:
284
diff
changeset
|
21 |
<script src="../js/list-bin.js"></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:
284
diff
changeset
|
22 |
<script src="../js/wikipedia-bin.js"></script> |
|
294
d9247696a257
rename build-renderer in main-renderer
ymh <ymh.work@gmail.com>
parents:
290
diff
changeset
|
23 |
<script data-main="../js/main-renderer.js" src="../lib/require.js"></script> |
| 284 | 24 |
<script type="text/javascript"> |
25 |
function startRenkan(){ |
|
| 281 | 26 |
var _renkan = new Rkns.Renkan({ |
| 252 | 27 |
search: [ |
28 |
{ |
|
29 |
type: "Ldt" |
|
30 |
}, |
|
31 |
{ |
|
32 |
type: "Wikipedia", |
|
33 |
lang: "fr" |
|
34 |
}, |
|
35 |
{ |
|
36 |
type: "Wikipedia", |
|
37 |
lang: "ja" |
|
38 |
} |
|
39 |
], |
|
40 |
bins: [ |
|
41 |
{ |
|
42 |
title: "Projet Lignes de Temps", |
|
43 |
type: "Ldt", |
|
44 |
ldt_type: "Project", |
|
45 |
project_id: "6af4019c-8283-11e2-9678-00145ea4a2be", |
|
46 |
ldt_platform: "http://ldt.iri.centrepompidou.fr/" |
|
47 |
}, |
|
48 |
{ |
|
49 |
type: "ResourceList", |
|
50 |
title: "Ressources", |
|
51 |
list: [ |
|
52 |
{ |
|
53 |
url: "http://www.google.com/", |
|
54 |
title: "Google", |
|
55 |
description: "Search engine", |
|
56 |
image: "http://www.google.fr/images/srpr/logo4w.png" |
|
57 |
}, |
|
58 |
"Polemic Tweet http://www.polemictweet.com", |
|
59 |
"Twitter http://www.twitter.com/" |
|
60 |
] |
|
61 |
} |
|
62 |
], |
|
63 |
/*property_files: [ "data/properties.json" ], |
|
64 |
node_fill_color: false*/ |
|
| 256 | 65 |
language: "fr", |
66 |
static_url: "../" |
|
| 252 | 67 |
}); |
68 |
Rkns.jsonIO(_renkan, { |
|
|
295
bcac9ea07d04
add simple-persist in grunt connect
ymh <ymh.work@gmail.com>
parents:
294
diff
changeset
|
69 |
url: "/simple-persist" |
| 252 | 70 |
}); |
| 284 | 71 |
}; |
| 252 | 72 |
</script> |
| 256 | 73 |
<link rel="stylesheet" href="../css/renkan.css" /> |
| 252 | 74 |
<style type="text/css"> |
75 |
body{ |
|
76 |
margin: 0 auto; |
|
77 |
width: 960px; |
|
78 |
} |
|
79 |
.header, .footer { |
|
80 |
font-size: 14px; |
|
81 |
height: 40px; |
|
82 |
padding-top: 10px; |
|
83 |
} |
|
84 |
.rnk-container{ |
|
85 |
height: 500px; |
|
86 |
position: relative; |
|
87 |
width: 600px; |
|
88 |
overflow: hidden; |
|
89 |
} |
|
90 |
</style> |
|
91 |
</head> |
|
92 |
||
93 |
<body> |
|
94 |
<div class="header"> |
|
95 |
This is a header |
|
96 |
</div> |
|
97 |
<div class="rnk-container"> |
|
98 |
<div id="renkan"></div> |
|
99 |
</div> |
|
100 |
<div class="footer"> |
|
101 |
This is a footer |
|
102 |
</div> |
|
103 |
</body> |
|
104 |
</html> |