client/test/test-writable-simple-div-user.html
author rougeronj
Mon, 29 Dec 2014 17:24:11 +0100
changeset 354 554129dbdbd0
child 417 e98756860daa
permissions -rw-r--r--
Add test in case we give a user id and name to the renkan
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>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    11
        <script src="../lib/underscore/underscore.js"></script>
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>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    16
        <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
    17
        <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
    18
        <script src="../js/i18n.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/full-json.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/save-once.js"></script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    21
        <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
    22
        <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
    23
        <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
    24
        <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
    25
        <script type="text/javascript">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    26
            function startRenkan(){
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    27
            	var _renkan = new Rkns.Renkan({
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    28
                    user_id: "18",
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    29
                    user_name: "iri",
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    30
                	show_bins: false,
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    31
                    static_url: "../"
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    32
                });
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    33
                Rkns.jsonIOSaveOnClick(_renkan, {
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    34
    			    url: "/simple-persist"
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
            };
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    37
        </script>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    38
        <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
    39
        <style type="text/css">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    40
        body{
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    41
            margin: 0 auto;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    42
            width: 960px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    43
        }
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    44
        .header, .footer {
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    45
            font-size: 14px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    46
            height: 40px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    47
            padding-top: 10px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    48
        }
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    49
        .rnk-container{
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    50
            height: 500px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    51
            position: relative;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    52
            width: 600px;
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    53
        }
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    54
        </style>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    55
    </head>
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
    <body>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    58
        <div class="header">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    59
        This is a header
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    60
        </div>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    61
        <div class="rnk-container">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    62
            <div id="renkan"></div>
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="footer">
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    65
        This is a footer
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
    </body>
554129dbdbd0 Add test in case we give a user id and name to the renkan
rougeronj
parents:
diff changeset
    68
</html>