~lutostag/ubuntu/utopic/maas/1.5.2

« back to all changes in this revision

Viewing changes to src/maasserver/static/jslibs/yui/3.4.1/tests/dial/tests/manual/sim.html

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-03-15 18:14:08 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120315181408-zgl94hzo0x4n99an
Tags: 0.1+bzr295+dfsg-0ubuntu2
* debian/patches:
  - 01-fix-database-settings.patch: Update to set PSERV_URL.
  - 02-pserv-config.patch: Set port to 8001.
* debian/maas.postinst: Run maas-import-isos on install.
* debian/control: Depends on rabbitmq-server.

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:150px;
 
16
    left:150px;
 
17
    border:solid 1px #f00;
 
18
    width:200px;
 
19
    height:200px;
 
20
}
 
21
</style>
 
22
<body class="yui3-skin-sam">hello
 
23
 
 
24
    <div class="dial-container">foo</div> 
 
25
</body>
 
26
</html>
 
27
<script>
 
28
    YUI({filter:'raw'}).use("dial", function(Y) {          //, filter:'raw'  this make it really hard to clear cache on iPad
 
29
        var dial = new Y.Dial({
 
30
                        min: -40,
 
31
                        max: 40,
 
32
                        stepsPerRevolution: 100,
 
33
                        value: 0,
 
34
                        diameter: 200,
 
35
                        decimalPlaces:0
 
36
        });
 
37
        dial.render(".dial-container");
 
38
        //Y.on('mousedown',function(e){alert('clicked ring' + e.pageX);}, dial._ringNode);
 
39
    });
 
40
</script>
 
 
b'\\ No newline at end of file'