client/test/test-writable-simple-div-user.html
author rougeronj
Wed, 03 Jun 2015 17:27:46 +0200
changeset 471 e0c7be5dc02c
parent 444 19f0b7803aed
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:
354
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     1
<!DOCTYPE html>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     2
<html lang="fr">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     3
    <head>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     4
        <meta charset="utf-8" />
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     6
        <title>Test de Rendu RENKAN</title>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     7
        <meta name="description" content="" />
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     8
        <meta name="author" content="Institut de Recherche et d'Innovation" />
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
     9
        <script src="../lib/jquery/jquery.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
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>
354
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    12
        <script src="../lib/backbone/backbone.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    13
        <script src="../lib/backbone-relational/backbone-relational.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    14
        <script src="../lib/paper/paper-full.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
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>
354
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    18
        <script src="../js/models.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    19
        <script src="../js/defaults.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    20
        <script src="../js/i18n.js"></script>
417
e98756860daa update test template to load templates.js
rougeronj
parents: 354
diff changeset
    21
        <script src="../dist/js/templates.js"></script>
354
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    22
        <script src="../js/full-json.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    23
        <script src="../js/save-once.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    24
        <script src="../js/ldtjson-bin.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    25
        <script src="../js/list-bin.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    26
        <script src="../js/wikipedia-bin.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    27
        <script data-main="../js/main-renderer.js" src="../lib/requirejs/require.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    28
        <script type="text/javascript">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    29
            function startRenkan(){
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    30
            	var _renkan = new Rkns.Renkan({
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    31
                    user_id: "18",
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    32
                    user_name: "iri",
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    33
                	show_bins: false,
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    34
                    static_url: "../"
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    35
                });
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    36
                Rkns.jsonIOSaveOnClick(_renkan, {
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    37
    			    url: "/simple-persist"
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    38
    			});
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    39
            };
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    40
        </script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    41
        <link rel="stylesheet" href="../css/renkan.css" />
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    42
        <style type="text/css">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    43
        body{
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    44
            margin: 0 auto;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    45
            width: 960px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    46
        }
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    47
        .header, .footer {
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    48
            font-size: 14px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    49
            height: 40px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    50
            padding-top: 10px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    51
        }
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    52
        .rnk-container{
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    53
            height: 500px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    54
            position: relative;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    55
            width: 600px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    56
        }
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    57
        </style>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    58
    </head>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    59
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    60
    <body>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    61
        <div class="header">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    62
        This is a header
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    63
        </div>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    64
        <div class="rnk-container">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    65
            <div id="renkan"></div>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    66
        </div>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    67
        <div class="footer">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    68
        This is a footer
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    69
        </div>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    70
    </body>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    71
</html>