client/test/test-writable-simple-zoom-save.html
author rougeronj
Wed, 03 Jun 2015 17:27:46 +0200
changeset 471 e0c7be5dc02c
parent 444 19f0b7803aed
permissions -rw-r--r--
Add a router to handle fragment identifier Set up a listener of the router in the scene to update it Start Backbone.history (eventlistener of the router) when all the project is loaded Include router.js to all the test file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
411
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html lang="fr">
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
    <head>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
        <meta charset="utf-8" />
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
        <title>Test de Rendu RENKAN : writable + zoom save</title>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
        <meta name="description" content="" />
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
        <script src="../lib/jquery/jquery.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
        <script src="../lib/jquery-mousewheel/jquery.mousewheel.js"></script>
433
e457ec945e50 replace underscore par lodash
ymh <ymh.work@gmail.com>
parents: 417
diff changeset
    11
        <script src="../lib/lodash/lodash.js"></script>
411
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
        <script src="../lib/backbone/backbone.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
        <script src="../lib/paper/paper-full.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
        <script src="../js/main.js"></script>
444
19f0b7803aed add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents: 433
diff changeset
    16
        <script src="../js/dataloader.js"></script>
471
e0c7be5dc02c Add a router to handle fragment identifier
rougeronj
parents: 444
diff changeset
    17
        <script src="../js/router.js"></script>
411
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
        <script src="../js/models.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
        <script src="../js/defaults.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
        <script src="../js/i18n.js"></script>
417
e98756860daa update test template to load templates.js
rougeronj
parents: 414
diff changeset
    21
        <script src="../dist/js/templates.js"></script>
411
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
        <script src="../js/full-json.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
        <script src="../js/ldtjson-bin.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
        <script src="../js/list-bin.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
        <script src="../js/wikipedia-bin.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
        <script data-main="../js/main-renderer" src="../lib/requirejs/require.js"></script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
        <script type="text/javascript">
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
            function startRenkan(){
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
            	var _renkan = new Rkns.Renkan({
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
                    /*property_files: [ "data/properties.json" ],
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
                    user_id: "u-iri",
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
                    language: "fr",
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
                    node_fill_color: false*/
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
                	show_bins: false,
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
                    static_url: "../",
414
276042cb477c correct fix size, improve control on view save button and related init state
ymh <ymh.work@gmail.com>
parents: 411
diff changeset
    36
                    save_view: true,
276042cb477c correct fix size, improve control on view save button and related init state
ymh <ymh.work@gmail.com>
parents: 411
diff changeset
    37
                    default_view: false
411
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
                });
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
                Rkns.jsonIO(_renkan, {
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
                    url: "/simple-persist"
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
                });
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
            };
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
        </script>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
        <link rel="stylesheet" href="../css/renkan.css" />
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
    </head>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
    <body>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
        <div id="renkan"></div>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
    </body>
38527e730186 correct the zoom save feature. Allow to see it in read only mode
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
</html>