diff --git a/static/main.css b/static/main.css index a8006e3..3169fec 100644 --- a/static/main.css +++ b/static/main.css @@ -34,6 +34,15 @@ html, body { left: 10px; } +#help { + background-color: orange; + color: black; +} + +#help:hover { + background-color: white; +} + div { background-color: black; color:white; diff --git a/static/scripts/main.js b/static/scripts/main.js index ef08587..a237d56 100644 --- a/static/scripts/main.js +++ b/static/scripts/main.js @@ -9,3 +9,7 @@ window.onload = function() { api.poll(); gui.loop(); }; + +share = function() { + alert("Copy/paste this link to collaborate:\n\n"+window.location.href); +}; diff --git a/templates/index.html b/templates/index.html index 4ebdd57..26a190f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -45,8 +45,9 @@