client/test/test-readonly-custom-templates.html
author ymh <ymh.work@gmail.com>
Sun, 14 Jul 2024 22:00:08 +0200
changeset 666 9d6550026232
parent 647 eaaa1efce396
permissions -rw-r--r--
Added tag V00.13.04 for changeset 69d13e7dd286
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>RENKAN test in read-only mode : body 100%</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>
647
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents: 484
diff changeset
    26
        <script src="../data/templates/audio_template.js"></script>
484
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    27
        <script data-main="../js/main-renderer.js" 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">
647
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents: 484
diff changeset
    29
            var custom_templates = {
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents: 484
diff changeset
    30
                'nodeeditor_audio': this["renkanJSTTest"]["test/templates/audio_template.html"]
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents: 484
diff changeset
    31
            };
484
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    32
            function startRenkan(){
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    33
            	var _renkan = new Rkns.Renkan({
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    34
                    editor_mode: 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, {
647
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents: 484
diff changeset
    43
                    url: "../data/json/example-cinema.json"
484
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
        <style type="text/css">
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    49
        </style>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    50
    </head>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    51
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
        <div id="renkan"></div>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    54
    </body>
cfe440ade6d6 new tests to check the correct behavior of adding custom templates
rougeronj
parents:
diff changeset
    55
</html>