client/test/test-writable-simple-div.html
author ymh <ymh.work@gmail.com>
Fri, 19 Dec 2014 15:48:50 +0100
changeset 345 cb5c0007c9f9
parent 295 bcac9ea07d04
child 403 96781c1a8bbe
permissions -rw-r--r--
continue bower integration
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     1
<!DOCTYPE html>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     2
<html lang="fr">
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     3
    <head>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     4
        <meta charset="utf-8" />
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     6
        <title>Test de Rendu RENKAN</title>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     7
        <meta name="description" content="" />
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
     9
        <script src="../lib/jquery/jquery.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
    10
        <script src="../lib/jquery-mousewheel/jquery.mousewheel.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
    11
        <script src="../lib/underscore/underscore.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
    12
        <script src="../lib/backbone/backbone.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
    13
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
    14
        <script src="../lib/paper/paper-full.js"></script>
290
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    15
        <script src="../js/main.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    16
        <script src="../js/models.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    17
        <script src="../js/defaults.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    18
        <script src="../js/i18n.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    19
        <script src="../js/full-json.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    20
        <script src="../js/ldtjson-bin.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    21
        <script src="../js/list-bin.js"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 284
diff changeset
    22
        <script src="../js/wikipedia-bin.js"></script>
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 295
diff changeset
    23
        <script data-main="../js/main-renderer.js" src="../lib/requirejs/require.js"></script>
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    24
        <script type="text/javascript">
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    25
            function startRenkan(){
281
9ff388c9bc8d model cleanup for views
cavaliet
parents: 256
diff changeset
    26
            	var _renkan = new Rkns.Renkan({
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    27
                    /*property_files: [ "data/properties.json" ],
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    28
                    user_id: "u-iri",
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    29
                    language: "fr",
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    30
                    node_fill_color: false*/
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 250
diff changeset
    31
                	show_bins: false,
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 250
diff changeset
    32
                    static_url: "../"
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    33
                });
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    34
                Rkns.jsonIO(_renkan, {
295
bcac9ea07d04 add simple-persist in grunt connect
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    35
                    url: "/simple-persist"
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    36
                });
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    37
            };
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    38
        </script>
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 250
diff changeset
    39
        <link rel="stylesheet" href="../css/renkan.css" />
250
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    40
        <style type="text/css">
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    41
        body{
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    42
            margin: 0 auto;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    43
            width: 960px;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    44
        }
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    45
        .header, .footer {
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    46
            font-size: 14px;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    47
            height: 40px;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    48
            padding-top: 10px;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    49
        }
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    50
        .rnk-container{
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    51
            height: 500px;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    52
            position: relative;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    53
            width: 600px;
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    54
        }
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    55
        </style>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    56
    </head>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    57
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    58
    <body>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    59
        <div class="header">
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    60
        This is a header
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    61
        </div>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    62
        <div class="rnk-container">
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    63
            <div id="renkan"></div>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    64
        </div>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    65
        <div class="footer">
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    66
        This is a footer
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    67
        </div>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    68
    </body>
ea459415fdc9 writable renkan in div
cavaliet
parents:
diff changeset
    69
</html>