boinc/samples/gfx_html/templates
Rom Walton 8bdf177e4e HTMLGFX: Checkpoint (Continuation of previous commit.)
* Custom IE Javascript interface is gone, it was replaced with a cross-browser Web RPC.
In the HTML doc you can add:
<script type='text/javascript' src='/api/static/boinc.js'></script>

In the JavaScript code you can:
var boinc = new BOINC();

From there you can get the username like:
var userName = boinc.getUserName();

* Default resources are embedded within the executable in much the same way XPM images are embedded in the manager.
  /api/static/index.html
  /api/static/boinc.png
  /api/static/boinc.js
2015-01-16 00:49:17 -05:00
..
boinc.js HTMLGFX: Checkpoint (Continuation of previous commit.) 2015-01-16 00:49:17 -05:00
boinc.png HTMLGFX: Checkpoint (Continuation of previous commit.) 2015-01-16 00:49:17 -05:00
index.html HTMLGFX: Checkpoint (Continuation of previous commit.) 2015-01-16 00:49:17 -05:00