client/test/test-writable-simple-div-editor-panel.html
author rougeronj
Tue, 22 Sep 2015 15:14:10 +0200
changeset 543 5f7bebdcfc0d
parent 471 e0c7be5dc02c
permissions -rw-r--r--
Improve the way we init the view. The data loader send a "loaded" event, hooked by the scene.py and initializing the backbone.history and the view. We don't use redraw_active in save-once and full-json, because it was making the view initialization dependent of these file which are externals. Small fix to hide the "set saved view" button when there is only one view.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
446
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     1
<!DOCTYPE html>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     2
<html lang="fr">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     3
    <head>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     4
        <meta charset="utf-8" />
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     6
        <title>Test de Rendu RENKAN</title>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     7
        <meta name="description" content="" />
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
     9
        <script src="../lib/jquery/jquery.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    10
        <script src="../lib/jquery-mousewheel/jquery.mousewheel.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    11
        <script src="../lib/lodash/lodash.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    12
        <script src="../lib/backbone/backbone.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    13
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    14
        <script src="../lib/paper/paper-full.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    15
        <script src="../js/main.js"></script>
455
18b9be54174d Merge with 19f0b7803aed33a22feeb3e7c7da7a9dc7de81ce
rougeronj
parents: 446
diff changeset
    16
        <script src="../js/dataloader.js"></script>
471
e0c7be5dc02c Add a router to handle fragment identifier
rougeronj
parents: 455
diff changeset
    17
        <script src="../js/router.js"></script>
446
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    18
        <script src="../js/models.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    19
        <script src="../js/defaults.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    20
        <script src="../js/i18n.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    21
        <script src="../dist/js/templates.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    22
        <script src="../js/full-json.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    23
        <script src="../js/ldtjson-bin.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    24
        <script src="../js/list-bin.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    25
        <script src="../js/wikipedia-bin.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    26
        <script data-main="../js/main-renderer.js" src="../lib/requirejs/require.js"></script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    27
        <script type="text/javascript">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    28
            function startRenkan(){
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    29
            	var _renkan = new Rkns.Renkan({
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    30
                    /*property_files: [ "data/properties.json" ],
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    31
                    user_id: "u-iri",
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    32
                    language: "fr",
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    33
                    node_fill_color: false*/
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    34
                    show_bins: false,
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    35
                    static_url: "../",
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    36
                    popup_editor:false,
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    37
                    editor_panel:"editor-panel"
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    38
                });
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    39
                Rkns.jsonIO(_renkan, {
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    40
                    url: "/simple-persist"
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    41
                });
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    42
            };
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    43
        </script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    44
        <link rel="stylesheet" href="../css/renkan.css" />
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    45
        <style type="text/css">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    46
        body{
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    47
            margin: 0 auto;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    48
            width: 960px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    49
        }
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    50
        .header, .footer {
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    51
            font-size: 14px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    52
            height: 40px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    53
            padding-top: 10px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    54
        }
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    55
        .rnk-container{
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    56
            height: 500px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    57
            position: relative;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    58
            width: 600px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    59
        }
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    60
        </style>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    61
    </head>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    62
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    63
    <body>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    64
        <div class="header">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    65
        This is a header
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    66
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    67
        <div id="editor-panel" style="float: right;">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    68
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    69
        <div class="rnk-container">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    70
            <div id="renkan"></div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    71
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    72
        <div class="footer">
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    73
        This is a footer
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    74
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    75
    </body>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    76
</html>