client/test/test-writable-bins-save-on-click.html
author cavaliet
Fri, 25 Jul 2014 16:26:12 +0200
changeset 322 5897669370f4
parent 320 154b121a43f1
child 326 e4afd8643576
permissions -rw-r--r--
rename for manual_save
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
320
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     1
<!DOCTYPE html>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     2
<html lang="fr">
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     3
    <head>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     4
        <meta charset="utf-8" />
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     6
        <title>RENKAN test in read-only mode : body 100%</title>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     7
        <meta name="description" content="" />
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
     9
        <script src="../lib/jquery.min.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    10
        <script src="../lib/jquery.mousewheel.min.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    11
        <script src="../lib/underscore-min.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    12
        <script src="../lib/backbone.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    13
        <script src="../lib/backbone-relational.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    14
        <script src="../lib/paper.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    15
        <script src="../js/main.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    16
        <script src="../js/models.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    17
        <script src="../js/defaults.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    18
        <script src="../js/i18n.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    19
        <script src="../js/full-json.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    20
        <script src="../js/save-once.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    21
        <script src="../js/ldtjson-bin.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    22
        <script src="../js/list-bin.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    23
        <script src="../js/wikipedia-bin.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    24
        <script data-main="../js/main-renderer.js" src="../lib/require.js"></script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    25
        <script type="text/javascript">
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    26
        function startRenkan(){
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    27
        	var _renkan = new Rkns.Renkan({
322
5897669370f4 rename for manual_save
cavaliet
parents: 320
diff changeset
    28
        	    manual_save: true,
320
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    29
			    search: [
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    30
			        {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    31
			            type: "Ldt"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    32
			        },
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    33
			        {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    34
			            type: "Wikipedia",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    35
			            lang: "fr"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    36
			        },
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    37
			        {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    38
			            type: "Wikipedia",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    39
			            lang: "ja"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    40
			        }
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    41
			    ],
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    42
			    bins: [
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    43
			        {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    44
			            title: "Projet Lignes de Temps",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    45
			            type: "Ldt",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    46
			            ldt_type: "Project",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    47
			            project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    48
			            ldt_platform: "http://ldt.iri.centrepompidou.fr/"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    49
			       },
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    50
			        {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    51
			            type: "ResourceList",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    52
			            title: "Ressources",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    53
			            list: [
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    54
			                {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    55
			                    url: "http://www.google.com/",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    56
			                    title: "Google",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    57
			                    description: "Search engine",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    58
			                    image: "http://www.google.fr/images/srpr/logo4w.png"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    59
			                },
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    60
			                "Polemic Tweet http://www.polemictweet.com",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    61
			                "Twitter http://www.twitter.com/"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    62
			            ]
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    63
			        }
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    64
			    ],
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    65
			    /*property_files: [ "data/properties.json" ],
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    66
			       node_fill_color: false*/
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    67
			    language: "fr",
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    68
                static_url: "../"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    69
			});
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    70
			Rkns.jsonIOSaveOnClick(_renkan, {
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    71
			    url: "/simple-persist"
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    72
			});
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    73
        };
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    74
        </script>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    75
        <link rel="stylesheet" href="../css/renkan.css" />
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    76
        <style type="text/css">
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    77
        </style>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    78
    </head>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    79
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    80
    <body>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    81
        <div id="renkan"></div>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    82
    </body>
154b121a43f1 enhance save on click (snapshot mode) and update django app
cavaliet
parents:
diff changeset
    83
</html>