client/test/test-writable-bins.html
changeset 256 d38cc4ee1fd1
parent 251 163b59b3e50b
child 281 9ff388c9bc8d
equal deleted inserted replaced
255:a6366edf1676 256:d38cc4ee1fd1
       
     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" />
       
     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="../../build/renkan.js"></script>
       
    16     <script type="text/javascript">
       
    17         var _renkan;
       
    18         $(function() {
       
    19 			_renkan = new Rkns.Renkan({
       
    20 			    search: [
       
    21 			        {
       
    22 			            type: "Ldt"
       
    23 			        },
       
    24 			        {
       
    25 			            type: "Wikipedia",
       
    26 			            lang: "fr"
       
    27 			        },
       
    28 			        {
       
    29 			            type: "Wikipedia",
       
    30 			            lang: "ja"
       
    31 			        }
       
    32 			    ],
       
    33 			    bins: [
       
    34 			        {
       
    35 			            title: "Projet Lignes de Temps",
       
    36 			            type: "Ldt",
       
    37 			            ldt_type: "Project",
       
    38 			            project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
       
    39 			            ldt_platform: "http://ldt.iri.centrepompidou.fr/"
       
    40 			       },
       
    41 			        {
       
    42 			            type: "ResourceList",
       
    43 			            title: "Ressources",
       
    44 			            list: [
       
    45 			                {
       
    46 			                    url: "http://www.google.com/",
       
    47 			                    title: "Google",
       
    48 			                    description: "Search engine",
       
    49 			                    image: "http://www.google.fr/images/srpr/logo4w.png"
       
    50 			                },
       
    51 			                "Polemic Tweet http://www.polemictweet.com",
       
    52 			                "Twitter http://www.twitter.com/"
       
    53 			            ]
       
    54 			        }
       
    55 			    ],
       
    56 			    /*property_files: [ "data/properties.json" ],
       
    57 			       node_fill_color: false*/
       
    58 			    language: "fr",
       
    59                 static_url: "../"
       
    60 			});
       
    61 			Rkns.jsonIO(_renkan, {
       
    62 			    url: "data/simple-persist.php"
       
    63 			});
       
    64         });
       
    65     </script>
       
    66         <link rel="stylesheet" href="../css/renkan.css" />
       
    67         <style type="text/css">
       
    68         </style>
       
    69     </head>
       
    70 
       
    71     <body>
       
    72         <div id="renkan"></div>
       
    73     </body>
       
    74 </html>