diff options
author | Patrick Simianer <p@simianer.de> | 2015-08-27 00:10:37 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-08-27 00:10:37 +0200 |
commit | 865f809d9e913c480c50d5993bc60ca10635c918 (patch) | |
tree | 5d2c9e08cd0568dbd72ce57c7eef587318b76fdb /edit.html | |
parent | 3e9fc2f7b93f55a2586c90cd9503d45904f5c153 (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.html | 24 |
1 files changed, 17 insertions, 7 deletions
@@ -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> |