client/test/test-writable-bins-save-on-click.html
changeset 320 154b121a43f1
child 322 5897669370f4
equal deleted inserted replaced
319:91245f09c7a7 320:154b121a43f1
       
     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="../js/main.js"></script>
       
    16         <script src="../js/models.js"></script>
       
    17         <script src="../js/defaults.js"></script>
       
    18         <script src="../js/i18n.js"></script>
       
    19         <script src="../js/full-json.js"></script>
       
    20         <script src="../js/save-once.js"></script>
       
    21         <script src="../js/ldtjson-bin.js"></script>
       
    22         <script src="../js/list-bin.js"></script>
       
    23         <script src="../js/wikipedia-bin.js"></script>
       
    24         <script data-main="../js/main-renderer.js" src="../lib/require.js"></script>
       
    25         <script type="text/javascript">
       
    26         function startRenkan(){
       
    27         	var _renkan = new Rkns.Renkan({
       
    28         	    snapshot_mode: true,
       
    29 			    search: [
       
    30 			        {
       
    31 			            type: "Ldt"
       
    32 			        },
       
    33 			        {
       
    34 			            type: "Wikipedia",
       
    35 			            lang: "fr"
       
    36 			        },
       
    37 			        {
       
    38 			            type: "Wikipedia",
       
    39 			            lang: "ja"
       
    40 			        }
       
    41 			    ],
       
    42 			    bins: [
       
    43 			        {
       
    44 			            title: "Projet Lignes de Temps",
       
    45 			            type: "Ldt",
       
    46 			            ldt_type: "Project",
       
    47 			            project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
       
    48 			            ldt_platform: "http://ldt.iri.centrepompidou.fr/"
       
    49 			       },
       
    50 			        {
       
    51 			            type: "ResourceList",
       
    52 			            title: "Ressources",
       
    53 			            list: [
       
    54 			                {
       
    55 			                    url: "http://www.google.com/",
       
    56 			                    title: "Google",
       
    57 			                    description: "Search engine",
       
    58 			                    image: "http://www.google.fr/images/srpr/logo4w.png"
       
    59 			                },
       
    60 			                "Polemic Tweet http://www.polemictweet.com",
       
    61 			                "Twitter http://www.twitter.com/"
       
    62 			            ]
       
    63 			        }
       
    64 			    ],
       
    65 			    /*property_files: [ "data/properties.json" ],
       
    66 			       node_fill_color: false*/
       
    67 			    language: "fr",
       
    68                 static_url: "../"
       
    69 			});
       
    70 			Rkns.jsonIOSaveOnClick(_renkan, {
       
    71 			    url: "/simple-persist"
       
    72 			});
       
    73         };
       
    74         </script>
       
    75         <link rel="stylesheet" href="../css/renkan.css" />
       
    76         <style type="text/css">
       
    77         </style>
       
    78     </head>
       
    79 
       
    80     <body>
       
    81         <div id="renkan"></div>
       
    82     </body>
       
    83 </html>