Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / native_client_sdk / src / examples / demo / pi_generator / index.html
blob7dc1df23e59ebc9f95db52bda306f3447bdd37e3
1 <!DOCTYPE html>
2 <html>
3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
8 <head>
9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script>
14 </head>
15 <body {{attrs}}>
16 <h1>{{title}}</h1>
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18 <p>
19 The Native Client module executed in this page creates a thread that
20 estimates pi (&pi;) using the Monte Carlo method. The thread randomly puts
21 1,000,000,000 points inside a square that shares two sides with a quarter
22 circle (a quadrant). Because the area of the quadrant is r&#178;&pi;/4 and
23 the area of the square is r&#178;, dividing the number of points inside the
24 quadrant by the number of points inside the square gives us an estimate of
25 &pi;/4. The textbox under the square shows the current estimate of &pi;.
26 </p>
27 <!-- The NaCl plugin will be embedded inside the element with id "listener".
28 See common.js.-->
29 <div id="listener"></div>
30 <input type="text" size="15" id="pi">
31 </body>
32 </html>