client/test/test-readonly-div-editor-panel.html
author rougeronj
Tue, 02 Jun 2015 16:42:02 +0200
changeset 455 18b9be54174d
parent 446 ce8dccd4321e
child 471 e0c7be5dc02c
permissions -rw-r--r--
Merge with 19f0b7803aed33a22feeb3e7c7da7a9dc7de81ce
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>RENKAN test in read-only mode : body 100%</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>
446
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    17
        <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
    18
        <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
    19
        <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
    20
        <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
    21
        <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
    22
        <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
    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/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
    25
        <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
    26
        <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
    27
            function startRenkan(){
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    28
            	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
    29
                    editor_mode: false,
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    30
                    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
    31
                    static_url: "../",
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    32
                    default_view:0,
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    33
                    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
    34
                    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
    35
                });
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    36
                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
    37
                    url: "../data/example-cinema-src.json"
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
            };
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    40
        </script>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    41
        <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
    42
        <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
    43
        body{
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    44
            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
    45
            width: 960px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    46
        }
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    47
        .header, .footer {
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    48
            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
    49
            height: 40px;
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    50
            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
    51
        }
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    52
        .header{
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    53
            height: 100px;
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: 700px;
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: 800px;
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 with no css override.
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    66
        <ul>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    67
           <li>list item 1</li>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    68
           <li>list item 2</li>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    69
        </ul>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    70
        <p>This is a paragraphe. This is a <a href="#">link</a>.
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 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
    73
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    74
        <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
    75
            <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
    76
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    77
        <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
    78
        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
    79
        </div>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    80
    </body>
ce8dccd4321e add 2 html to test the externalisation of the editor panel of an edge and a node
rougeronj
parents:
diff changeset
    81
</html>