Index: native_client_sdk/src/examples/api/vpn_provider/index.html |
diff --git a/native_client_sdk/src/getting_started/part2/index.html b/native_client_sdk/src/examples/api/vpn_provider/index.html |
similarity index 75% |
copy from native_client_sdk/src/getting_started/part2/index.html |
copy to native_client_sdk/src/examples/api/vpn_provider/index.html |
index 2dd2f500a89102fe49048d905eea87722d541861..c50030d30cfac8885993fb8bc148530616503009 100644 |
--- a/native_client_sdk/src/getting_started/part2/index.html |
+++ b/native_client_sdk/src/examples/api/vpn_provider/index.html |
@@ -1,14 +1,14 @@ |
<!DOCTYPE html> |
<html> |
<!-- |
- Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+ Copyright 2015 The Chromium Authors. All rights reserved. |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. |
--> |
<head> |
<meta http-equiv="Pragma" content="no-cache"> |
<meta http-equiv="Expires" content="-1"> |
- <title>{{title}}</title> |
+ <title>VPN Provider example</title> |
<script type="text/javascript" src="common.js"></script> |
<script type="text/javascript" src="example.js"></script> |
</head> |
@@ -22,8 +22,10 @@ toolchain it supports, we set custom data attributes on the body. Those |
attributes are read by common.js to determine which toolchains are supported |
for the example. |
--> |
-<body {{attrs}}> |
- <h1>{{title}}</h1> |
+<body data-name="vpn_provider" |
+ data-tools="pnacl newlib glibc clang-newlib linux" |
+ data-configs="Debug Release" data-path="{tc}/{config}"> |
+ <h1>VPN Provider example</h1> |
<h2>Status: <code id="statusField">NO-STATUS</code></h2> |
<!-- |
Just as in part1, the <embed> element will be wrapped inside the <div> |
@@ -37,6 +39,10 @@ for the example. |
This element will be populated with the messages that come from the NaCl |
module. See example.js. |
--> |
+ |
+<button id="load" onclick="load_me()" >Create</button> |
+<button id="unload" onclick="unload_me()" disabled="true">Destroy</button> |
+ |
<div id="log"></div> |
</body> |
</html> |