~smagoun/whoopsie/whoopsie-lp1017637

« back to all changes in this revision

Viewing changes to backend/stats/static/js/yui/tests/dial/tests/manual/sim.html

  • Committer: Evan Dandrea
  • Date: 2012-05-09 05:53:45 UTC
  • Revision ID: evan.dandrea@canonical.com-20120509055345-z2j41tmcbf4as5uf
The backend now lives in lp:daisy and the website (errors.ubuntu.com) now lives in lp:errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
 
<html>
3
 
<head>
4
 
<title>sim</title>
5
 
 
6
 
<!-- Source File and Seed for YUI3-->
7
 
<link rel="stylesheet" type="text/css" href="../../../../build/cssreset/reset-min.css">
8
 
<link type="text/css" rel="stylesheet" href="../../../../build/cssfonts/fonts-min.css">
9
 
 
10
 
<script src="../../../../build/yui/yui.js"></script>
11
 
</head>
12
 
<style>
13
 
.foo {
14
 
/*    position:absolute;
15
 
    top:100px;
16
 
    left:100px;
17
 
*/
18
 
    margin:100px auto;
19
 
    border:solid 1px #f00;
20
 
    width:200px;
21
 
    height:200px;
22
 
}
23
 
</style>
24
 
<body class="yui3-skin-sam">hello
25
 
 
26
 
    <div class="dial-container foo"></div> 
27
 
</body>
28
 
</html>
29
 
<script>
30
 
    YUI({filter:'raw'}).use("dial", function(Y) {          //, filter:'raw'  this make it really hard to clear cache on iPad
31
 
        var dial = new Y.Dial({
32
 
                        min: 0,
33
 
                        max: 100,
34
 
                        stepsPerRevolution: 100,
35
 
                        value: 0,
36
 
                        diameter: 100,
37
 
                        decimalPlaces:0
38
 
        });
39
 
        dial.render(".dial-container");
40
 
        //Y.on('mousedown',function(e){alert('clicked ring' + e.pageX);}, dial._ringNode);
41
 
    });
42
 
</script>
 
 
b'\\ No newline at end of file'