client/test/render-test.html
changeset 256 d38cc4ee1fd1
parent 195 15e048e00002
child 281 9ff388c9bc8d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/render-test.html	Tue Feb 11 01:06:22 2014 +0100
@@ -0,0 +1,78 @@
+<!DOCTYPE html>
+<html lang="fr">
+    <head>
+        <meta charset="utf-8" />
+        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
+        <title>Test de Rendu RENKAN</title>
+        <meta name="description" content="" />
+        <meta name="author" content="Institut de Recherche et d'Innovation" />
+        <script src="../lib/jquery.min.js"></script>
+        <script src="../lib/jquery.mousewheel.min.js"></script>
+        <script src="../lib/underscore-min.js"></script>
+        <script src="../lib/backbone.js"></script>
+        <script src="../lib/backbone-relational.js"></script>
+        <script src="../lib/paper.js"></script>
+        <script src="../js/main.js"></script>
+        <script src="../js/defaults.js"></script>
+        <script src="../js/i18n.js"></script>
+        <script src="../js/models.js"></script>
+        <script src="../js/full-json.js"></script>
+        <script src="../js/list-bin.js"></script>
+        <script src="../js/ldtjson-bin.js"></script>
+        <script src="../js/wikipedia-bin.js"></script>
+        <script src="../js/paper-renderer.js"></script>
+        <script type="text/javascript">
+            var _renkan;
+            $(function() {
+                _renkan = new Rkns.Renkan({
+                    bins: [
+                    	{
+                            title: "Projet Lignes de Temps",
+                            type: "Ldt",
+                            ldt_type: "Project",
+                            project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
+                            ldt_platform: "http://ldt.iri.centrepompidou.fr/"
+                       },
+                    	{
+                    		type: "ResourceList",
+                    		title: "Ressources",
+                    		list: [
+                    			{
+                    				url: "http://www.google.com/",
+                    				title: "Google",
+                    				description: "Search engine",
+                    				image: "http://www.google.fr/images/srpr/logo4w.png"
+                    			},
+                    			"Polemic Tweet http://www.polemictweet.com",
+                    			"Twitter http://www.twitter.com/"
+                    		]
+                    	}
+                    ],
+                    search: [
+                        {
+                            type: "Ldt"
+                        },
+                        {
+                            type: "Wikipedia",
+                            lang: "fr"
+                        }
+                    ],
+                    property_files: [ "data/properties.json" ],
+                    user_id: "u-iri",
+                    language: "fr",
+                    node_fill_color: false,
+                    static_url: "../"
+                });
+                Rkns.jsonIO(_renkan, {
+                    url: "data/simple-persist.php"
+                });
+            });
+        </script>
+        <link rel="stylesheet" href="../css/renkan.css" />
+    </head>
+
+    <body>
+        <div id="renkan"></div>
+        
+    </body>
+</html>