diff options
| author | Christine Dodrill <xe@tailscale.com> | 2021-02-21 22:58:39 -0500 |
|---|---|---|
| committer | Christine Dodrill <xe@tailscale.com> | 2021-02-21 23:01:16 -0500 |
| commit | 9465bf5b847d88813924720ab9e440d8594476e2 (patch) | |
| tree | b1d198b4425701872229b114e2fc1a33abb4af84 /cmd/hello/hellovr.tmpl.html | |
| parent | 39f7a61e9c1fe0ae91348b967b22d1a7eddb10c7 (diff) | |
| download | tailscale-Xe/hello-vr.tar.xz tailscale-Xe/hello-vr.zip | |
cmd/hello: add VR support at /vrXe/hello-vr
Signed-off-by: Christine Dodrill <xe@tailscale.com>
Diffstat (limited to 'cmd/hello/hellovr.tmpl.html')
| -rw-r--r-- | cmd/hello/hellovr.tmpl.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cmd/hello/hellovr.tmpl.html b/cmd/hello/hellovr.tmpl.html new file mode 100644 index 000000000..4158b0877 --- /dev/null +++ b/cmd/hello/hellovr.tmpl.html @@ -0,0 +1,16 @@ +<html> + <head> + <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script> + </head> + <body> + <a-scene> + <a-text position="-1.65 2 -5" color="#00FF00" value="You're connected over Tailscale!"></a-text> + <a-text position="0.5 1 -5" color="#00FF00" value="This device is signed in as:\n{{.DisplayName}}\n{{.LoginName}}\n{{.MachineName}}\n{{.IP}}"></a-text> + <a-sky color="#000000"></a-sky> + <a-image position="-0.75 0.25 -5" src="{{.ProfilePicURL}}" height=2 width=2></a-image> + <a-entity> + <a-entity camera look-controls wasd-controls></a-entity> + </a-entity> + </a-scene> + </body> +</html>
\ No newline at end of file |
