client/test/test-writable-bins-div.html
author ymh <ymh.work@gmail.com>
Thu, 18 Dec 2014 18:14:28 +0100
changeset 344 e616c4fff297
parent 295 bcac9ea07d04
child 345 cb5c0007c9f9
permissions -rw-r--r--
start adding bower. remove and forget lib folder. this folder is now managed by grunt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
252
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     1
<!DOCTYPE html>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     2
<html lang="fr">
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     3
    <head>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     4
        <meta charset="utf-8" />
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     6
        <title>RENKAN test in read-only mode : body 100%</title>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     7
        <meta name="description" content="" />
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
     9
        <script src="../lib/jquery.min.js"></script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    10
        <script src="../lib/jquery.mousewheel.min.js"></script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    11
        <script src="../lib/underscore-min.js"></script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    12
        <script src="../lib/backbone.js"></script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    13
        <script src="../lib/backbone-relational.js"></script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    14
        <script src="../lib/paper.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>
294
d9247696a257 rename build-renderer in main-renderer
ymh <ymh.work@gmail.com>
parents: 290
diff changeset
    23
        <script data-main="../js/main-renderer.js" src="../lib/require.js"></script>
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    24
        <script type="text/javascript">
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({
252
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    27
				    search: [
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    28
				        {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    29
				            type: "Ldt"
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    30
				        },
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    31
				        {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    32
				            type: "Wikipedia",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    33
				            lang: "fr"
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    34
				        },
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    35
				        {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    36
				            type: "Wikipedia",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    37
				            lang: "ja"
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    38
				        }
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    39
				    ],
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    40
				    bins: [
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    41
				        {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    42
				            title: "Projet Lignes de Temps",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    43
				            type: "Ldt",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    44
				            ldt_type: "Project",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    45
				            project_id: "6af4019c-8283-11e2-9678-00145ea4a2be",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    46
				            ldt_platform: "http://ldt.iri.centrepompidou.fr/"
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    47
				       },
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    48
				        {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    49
				            type: "ResourceList",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    50
				            title: "Ressources",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    51
				            list: [
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    52
				                {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    53
				                    url: "http://www.google.com/",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    54
				                    title: "Google",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    55
				                    description: "Search engine",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    56
				                    image: "http://www.google.fr/images/srpr/logo4w.png"
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    57
				                },
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    58
				                "Polemic Tweet http://www.polemictweet.com",
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    59
				                "Twitter http://www.twitter.com/"
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    60
				            ]
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    61
				        }
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    62
				    ],
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    63
				    /*property_files: [ "data/properties.json" ],
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    64
				       node_fill_color: false*/
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    65
				    language: "fr",
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    66
                    static_url: "../"
252
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    67
				});
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    68
				Rkns.jsonIO(_renkan, {
295
bcac9ea07d04 add simple-persist in grunt connect
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    69
				    url: "/simple-persist"
252
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    70
				});
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    71
	        };
252
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    72
	    </script>
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents: 252
diff changeset
    73
        <link rel="stylesheet" href="../css/renkan.css" />
252
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    74
        <style type="text/css">
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    75
        body{
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    76
            margin: 0 auto;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    77
            width: 960px;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    78
        }
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    79
        .header, .footer {
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    80
            font-size: 14px;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    81
            height: 40px;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    82
            padding-top: 10px;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    83
        }
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    84
        .rnk-container{
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    85
            height: 500px;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    86
            position: relative;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    87
            width: 600px;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    88
            overflow: hidden;
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    89
        }
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    90
        </style>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    91
    </head>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    92
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    93
    <body>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    94
        <div class="header">
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    95
        This is a header
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    96
        </div>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    97
        <div class="rnk-container">
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    98
            <div id="renkan"></div>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
    99
        </div>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
   100
        <div class="footer">
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
   101
        This is a footer
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
   102
        </div>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
   103
    </body>
9205f27ac325 test-writable-bins-div.html and readme updated
cavaliet
parents:
diff changeset
   104
</html>