client/test/test-writable-custom-templates.html
author ymh <ymh.work@gmail.com>
Mon, 07 Sep 2015 16:34:42 +0200
changeset 496 6934ee02bbae
parent 484 cfe440ade6d6
child 647 eaaa1efce396
permissions -rw-r--r--
Added tag V00.12.01 for changeset 444b80998255
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
484
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     1
<!DOCTYPE html>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     2
<html lang="fr">
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     3
    <head>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     4
        <meta charset="utf-8" />
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     6
        <title>Test de Rendu RENKAN</title>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     7
        <meta name="description" content="" />
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
     9
        <script src="../lib/jquery/jquery.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    10
        <script src="../lib/jquery-mousewheel/jquery.mousewheel.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    11
        <script src="../lib/lodash/lodash.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    12
        <script src="../lib/backbone/backbone.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    13
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    14
        <script src="../lib/paper/paper-full.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    15
        <script src="../js/main.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    16
        <script src="../js/dataloader.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    17
        <script src="../js/router.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    18
        <script src="../js/models.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    19
        <script src="../js/defaults.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    20
        <script src="../js/i18n.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    21
        <script src="../dist/js/templates.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    22
        <script src="../js/full-json.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    23
        <script src="../js/ldtjson-bin.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    24
        <script src="../js/list-bin.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    25
        <script src="../js/wikipedia-bin.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    26
        <script src="../data/custom_templates.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    27
        <script data-main="../js/main-renderer" src="../lib/requirejs/require.js"></script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    28
        <script type="text/javascript">
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    29
            function startRenkan(){
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    30
            	var _renkan = new Rkns.Renkan({
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    31
                    property_files: [ "../data/properties.json" ],
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    32
                    /*user_id: "u-iri",
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    33
                    language: "fr",
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    34
                    node_fill_color: false*/
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    35
                	show_bins: false,
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    36
                    static_url: "../",
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    37
                    templates: custom_templates,
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    38
                    node_editor_templates: {
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    39
                        "audio": "nodeeditor_audio"
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    40
                    }
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    41
                });
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    42
                Rkns.jsonIO(_renkan, {
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    43
                    url: "/simple-persist"
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    44
                });
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    45
            };
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    46
        </script>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    47
        <link rel="stylesheet" href="../css/renkan.css" />
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    48
    </head>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    49
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    50
    <body>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    51
        <div id="renkan"></div>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    52
    </body>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    53
</html>