client/test/test-readonly-div-resize.html
author ymh <ymh.work@gmail.com>
Fri, 29 May 2015 14:57:37 +0200
changeset 444 19f0b7803aed
parent 433 e457ec945e50
child 471 e0c7be5dc02c
permissions -rw-r--r--
add schema version + dataloaders to ensure data migrations + small correction for php server exmple + a readme for the php server example
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>
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
    17
        <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
    18
        <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
    19
        <script src="../js/i18n.js"></script>
417
e98756860daa update test template to load templates.js
rougeronj
parents: 345
diff changeset
    20
        <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
    21
        <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
    22
        <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
    23
        <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
    24
        <script src="../js/wikipedia-bin.js"></script>
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    25
        <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
    26
        <script type="text/javascript">
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    27
            function startRenkan(){
281
9ff388c9bc8d model cleanup for views
cavaliet
parents: 256
diff changeset
    28
            	var _renkan = new Rkns.Renkan({
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
                    editor_mode: false,
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
                    show_bins: false,
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
                    static_url: "../"
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
                });
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
                Rkns.jsonIO(_renkan, {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
                    url: "../data/example-cinema.json"
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
                });
284
fa8035885814 build renderer with require js
cavaliet
parents: 281
diff changeset
    36
            };
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
        </script>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
        <link rel="stylesheet" href="../css/renkan.css" />
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
        <style type="text/css">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
        html {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
            heigt: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
        body{
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
            margin: 0 auto;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
            width: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
            heigt: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
        header {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
            font-size: 14px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
            height: 40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
            padding-top: 10px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
        footer {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
            font-size: 14px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
            height: 40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
            padding-top: 10px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
            position:absolute;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
            bottom: 0;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
        }
345
cb5c0007c9f9 continue bower integration
ymh <ymh.work@gmail.com>
parents: 294
diff changeset
    60
256
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
        .wrapper {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
            position:absolute;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
            top:40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
            left: 0;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
            right: 0;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
            bottom: 40px;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
        .rnk-container {
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
            min-height: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    70
            position: relative;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
            width: 100%;
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
        }
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
        </style>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
    </head>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
    <body>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
	    <header>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
	    This is a header
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
	    </header>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
        <div class="wrapper">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
          <div class="rnk-container">
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
              <div id="renkan"></div>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
          </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
        <footer>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
        This is a footer
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
        </footer>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
    </body>
d38cc4ee1fd1 move test files
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
</html>