client/test/test-readonly-div-resize.html
author rougeronj
Wed, 03 Jun 2015 17:27:46 +0200
changeset 471 e0c7be5dc02c
parent 444 19f0b7803aed
child 647 eaaa1efce396
permissions -rw-r--r--
Add a router to handle fragment identifier Set up a listener of the router in the scene to update it Start Backbone.history (eventlistener of the router) when all the project is loaded Include router.js to all the test file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html lang="fr">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
    <head>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
        <meta charset="utf-8" />
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
        <title>RENKAN test in read-only mode : body 100%</title>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
        <meta name="description" content="" />
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
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: 294
diff changeset
     9
        <script src="../lib/jquery/jquery.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    10
        <script src="../lib/jquery-mousewheel/jquery.mousewheel.js"></script>
433
e457ec945e50 replace underscore par lodash
ymh <ymh.work@gmail.com>
parents: 417
diff changeset
    11
        <script src="../lib/lodash/lodash.js"></script>
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    12
        <script src="../lib/backbone/backbone.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    13
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
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>
444
19f0b7803aed add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
ymh <ymh.work@gmail.com>
parents: 433
diff changeset
    16
        <script src="../js/dataloader.js"></script>
471
e0c7be5dc02c Add a router to handle fragment identifier
rougeronj
parents: 444
diff changeset
    17
        <script src="../js/router.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
    18
        <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
    19
        <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
    20
        <script src="../js/i18n.js"></script>
417
e98756860daa update test template to load templates.js
rougeronj
parents: 345
diff changeset
    21
        <script src="../dist/js/templates.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
    22
        <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
    23
        <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
    24
        <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
    25
        <script src="../js/wikipedia-bin.js"></script>
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    26
        <script data-main="../js/main-renderer.js" src="../lib/requirejs/require.js"></script>
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
        <script type="text/javascript">
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    28
            function startRenkan(){
281
9ff388c9bc8d model cleanup for views
cavaliet
parents: 256
diff changeset
    29
            	var _renkan = new Rkns.Renkan({
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
                    editor_mode: false,
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
                    show_bins: false,
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
                    static_url: "../"
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
                });
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
                Rkns.jsonIO(_renkan, {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
                    url: "../data/example-cinema.json"
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
                });
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    37
            };
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
        </script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
        <link rel="stylesheet" href="../css/renkan.css" />
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
        <style type="text/css">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
        html {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
            heigt: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
        body{
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
            margin: 0 auto;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
            width: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
            heigt: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
        header {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
            font-size: 14px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
            height: 40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
            padding-top: 10px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
        footer {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
            font-size: 14px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
            height: 40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
            padding-top: 10px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
            position:absolute;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
            bottom: 0;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
        }
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    61
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
        .wrapper {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
            position:absolute;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
            top:40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
            left: 0;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
            right: 0;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
            bottom: 40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
        .rnk-container {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
            min-height: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
            position: relative;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
            width: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
        </style>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
    </head>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
    <body>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
	    <header>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
	    This is a header
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
	    </header>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
        <div class="wrapper">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
          <div class="rnk-container">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
              <div id="renkan"></div>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
          </div>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
        </div>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
        <footer>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
        This is a footer
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
        </footer>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
    </body>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
</html>