@@ -34,6 +34,15 @@ html, body { | |||||
left: 10px; | left: 10px; | ||||
} | } | ||||
#help { | |||||
background-color: orange; | |||||
color: black; | |||||
} | |||||
#help:hover { | |||||
background-color: white; | |||||
} | |||||
div { | div { | ||||
background-color: black; | background-color: black; | ||||
color:white; | color:white; | ||||
@@ -9,3 +9,7 @@ window.onload = function() { | |||||
api.poll(); | api.poll(); | ||||
gui.loop(); | gui.loop(); | ||||
}; | }; | ||||
share = function() { | |||||
alert("Copy/paste this link to collaborate:\n\n"+window.location.href); | |||||
}; |
@@ -45,8 +45,9 @@ | |||||
<ul> | <ul> | ||||
<li><a onclick="editor.clear()">Clear</a></li> | <li><a onclick="editor.clear()">Clear</a></li> | ||||
<li><a onclick="editor.raussendorf()">Raussendorf</a></li> | <li><a onclick="editor.raussendorf()">Raussendorf</a></li> | ||||
<li><a onclick="share()">Share</a></li> | |||||
<li><a href="/{{uuid}}/download">Download</a></li> | <li><a href="/{{uuid}}/download">Download</a></li> | ||||
<li><a href="/doc">Help</a></li> | |||||
<li><a href="/doc" id=help>Help</a></li> | |||||
</ul> | </ul> | ||||
</div> | </div> | ||||