| author | ymh <ymh.work@gmail.com> |
| Tue, 11 Feb 2014 01:06:22 +0100 | |
| changeset 256 | d38cc4ee1fd1 |
| parent 195 | client/render-test.html@15e048e00002 |
| child 281 | 9ff388c9bc8d |
| permissions | -rw-r--r-- |
| 1 | 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>Test de Rendu RENKAN</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> |
|
15 |
<script src="../js/main.js"></script> |
|
16 |
<script src="../js/defaults.js"></script> |
|
17 |
<script src="../js/i18n.js"></script> |
|
18 |
<script src="../js/models.js"></script> |
|
19 |
<script src="../js/full-json.js"></script> |
|
20 |
<script src="../js/list-bin.js"></script> |
|
21 |
<script src="../js/ldtjson-bin.js"></script> |
|
22 |
<script src="../js/wikipedia-bin.js"></script> |
|
23 |
<script src="../js/paper-renderer.js"></script> |
|
| 1 | 24 |
<script type="text/javascript"> |
| 52 | 25 |
var _renkan; |
| 1 | 26 |
$(function() { |
| 23 | 27 |
_renkan = new Rkns.Renkan({ |
| 26 | 28 |
bins: [ |
| 73 | 29 |
{ |
|
78
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
30 |
title: "Projet Lignes de Temps", |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
31 |
type: "Ldt", |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
32 |
ldt_type: "Project", |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
33 |
project_id: "6af4019c-8283-11e2-9678-00145ea4a2be", |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
34 |
ldt_platform: "http://ldt.iri.centrepompidou.fr/" |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
35 |
}, |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
36 |
{ |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
37 |
type: "ResourceList", |
| 73 | 38 |
title: "Ressources", |
39 |
list: [ |
|
40 |
{ |
|
41 |
url: "http://www.google.com/", |
|
42 |
title: "Google", |
|
43 |
description: "Search engine", |
|
44 |
image: "http://www.google.fr/images/srpr/logo4w.png" |
|
|
78
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
45 |
}, |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
46 |
"Polemic Tweet http://www.polemictweet.com", |
|
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
47 |
"Twitter http://www.twitter.com/" |
| 73 | 48 |
] |
49 |
} |
|
| 26 | 50 |
], |
| 24 | 51 |
search: [ |
52 |
{ |
|
|
78
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
53 |
type: "Ldt" |
| 64 | 54 |
}, |
55 |
{ |
|
|
78
af9e716b01bc
Renkan bin configuration now with class names instead of classes themselves
veltr
parents:
73
diff
changeset
|
56 |
type: "Wikipedia", |
| 24 | 57 |
lang: "fr" |
| 34 | 58 |
} |
| 24 | 59 |
], |
| 68 | 60 |
property_files: [ "data/properties.json" ], |
| 66 | 61 |
user_id: "u-iri", |
| 73 | 62 |
language: "fr", |
| 256 | 63 |
node_fill_color: false, |
64 |
static_url: "../" |
|
| 1 | 65 |
}); |
| 67 | 66 |
Rkns.jsonIO(_renkan, { |
| 182 | 67 |
url: "data/simple-persist.php" |
| 67 | 68 |
}); |
| 1 | 69 |
}); |
70 |
</script> |
|
| 256 | 71 |
<link rel="stylesheet" href="../css/renkan.css" /> |
| 1 | 72 |
</head> |
73 |
||
74 |
<body> |
|
| 20 | 75 |
<div id="renkan"></div> |
| 5 | 76 |
|
| 1 | 77 |
</body> |
78 |
</html> |