summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-12 09:30:05 +0200
committerAlon Levy <alon@pobox.com>2014-11-16 13:14:40 +0200
commit66f704d650ddf66b86d2add825c43bcea8d84de5 (patch)
treec69a779ce63df45340a0aa40ca536c0328b9d814 /index.html
parentb7b260edc37451fad7eb94a806cab23d2d22003a (diff)
add a copy to url button, handle the resulting url
This allows us to send small graphs (up to maximal length of query string - what is that anyway?). Just press the copy button, ctrl-c, and paste to irc, and other side should click it. The real deal, issue #65, needs to actually go to the server and load the graph, which means the server needs to have a document concept.
Diffstat (limited to 'index.html')
-rw-r--r--index.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.html b/index.html
index d2978099..170a94d7 100644
--- a/index.html
+++ b/index.html
@@ -91,11 +91,18 @@
</div>
</div>
</div>
+ <div class="debug-ui-row">
<div class="debug-ui-left">
<div class="local-storage-load">
<a href="#">Load</a>
</div>
</div>
+ <div class="debug-ui-right">
+ <div class="url-copy">
+ <a href="#">Copy to URL</a>
+ </div>
+ </div>
+ </div>
<div class="debug-ui-row">
<form>
Import <input type="file" class="file-import" />