client/test/test-writable-bins.html
author ymh <ymh.work@gmail.com>
Fri, 16 May 2014 17:18:58 +0200
changeset 295 bcac9ea07d04
parent 294 d9247696a257
child 345 cb5c0007c9f9
permissions -rw-r--r--
add simple-persist in grunt connect

<!DOCTYPE html>
<html lang="fr">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>RENKAN test in read-only mode : body 100%</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/models.js"></script>
        <script src="../js/defaults.js"></script>
        <script src="../js/i18n.js"></script>
        <script src="../js/full-json.js"></script>
        <script src="../js/ldtjson-bin.js"></script>
        <script src="../js/list-bin.js"></script>
        <script src="../js/wikipedia-bin.js"></script>
        <script data-main="../js/main-renderer.js" src="../lib/require.js"></script>
        <script type="text/javascript">
        function startRenkan(){
        	var _renkan = new Rkns.Renkan({
			    search: [
			        {
			            type: "Ldt"
			        },
			        {
			            type: "Wikipedia",
			            lang: "fr"
			        },
			        {
			            type: "Wikipedia",
			            lang: "ja"
			        }
			    ],
			    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/"
			            ]
			        }
			    ],
			    /*property_files: [ "data/properties.json" ],
			       node_fill_color: false*/
			    language: "fr",
                static_url: "../"
			});
			Rkns.jsonIO(_renkan, {
			    url: "/simple-persist"
			});
        };
        </script>
        <link rel="stylesheet" href="../css/renkan.css" />
        <style type="text/css">
        </style>
    </head>

    <body>
        <div id="renkan"></div>
    </body>
</html>