summaryrefslogtreecommitdiff
path: root/edit.html
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-08-27 00:10:37 +0200
committerPatrick Simianer <p@simianer.de>2015-08-27 00:10:37 +0200
commit865f809d9e913c480c50d5993bc60ca10635c918 (patch)
tree5d2c9e08cd0568dbd72ce57c7eef587318b76fdb /edit.html
parent3e9fc2f7b93f55a2586c90cd9503d45904f5c153 (diff)
first proper version of editor, complete with moving of target phrases and snap-to-grid
Diffstat (limited to 'edit.html')
-rw-r--r--edit.html24
1 files changed, 17 insertions, 7 deletions
diff --git a/edit.html b/edit.html
index da8fdc9..b96bf3a 100644
--- a/edit.html
+++ b/edit.html
@@ -1,14 +1,24 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html lang="en">
+<!DOCTYPE html>
+<!-- 2015-08-26 -->
+<html lang='en'>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title>derivation editor</title>
- <script src="raphael.js" type="text/javascript" charset="utf-8"></script>
- <script src="r.js" type="text/javascript" charset="utf-8"></script>
+ <script src='raphael.js' type='text/javascript' charset='utf-8'></script>
+ <script src='r.js' type='text/javascript' charset='utf-8'></script>
+ <script src='Raphael.InlineTextEditing/raphael.inline_text_editing.js' charset='utf-8'></script>
</head>
<body>
- <div id="holder"></div>
- <p id="debug"></p>
+ <div id='holder'></div>
+ <input type='button' value='+' onClick='add_obj()' />
+ <p id='debug'></p>
+ <h3>TODO</h3>
+ <ul>
+ <li>edit text and resize, move (dblclick)</li>
+ <li>remove objs (move to special field)</li>
+ <li>add objs ('+' button, far right)</li>
+ <li>add alignments (click source, then target)</li>
+ </ul>
</body>
</html>