summaryrefslogtreecommitdiff
path: root/edit.html
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-09-01 11:02:28 +0200
committerPatrick Simianer <p@simianer.de>2015-09-01 11:02:28 +0200
commitcb7594d9c1923554efc43215fd1b16b551dc73e9 (patch)
treea06e29f74b8859687aed6d009d36c4f51d4b3ba4 /edit.html
parent0a665d1b790e203347479bc798df45114b6e43e0 (diff)
reset
Diffstat (limited to 'edit.html')
-rw-r--r--edit.html29
1 files changed, 19 insertions, 10 deletions
diff --git a/edit.html b/edit.html
index a1394ec..c0905d9 100644
--- a/edit.html
+++ b/edit.html
@@ -1,21 +1,30 @@
<!DOCTYPE html>
<!-- 2015-08-26 -->
-<html lang='en'>
+<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.InlineTextEditing/raphael.inline_text_editing.js' charset='utf-8'></script>
+ <script src="raphael.js" type="text/javascript" charset="utf-8"></script>
+ <script src="Raphael.InlineTextEditing/raphael.inline_text_editing.js" charset="utf-8"></script>
+ <script src="edit.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
- <div id='holder'></div>
- <input type='button' value='+' onClick='add_obj()' />
- <input type='button' value='D' onClick='extract_data()' onClick='extract_data()' />
- <p id='debug'></p>
- <pre id='data'></pre>
+ <div id="wrapper">
+ <div id="holder"></div>
+ </div>
+ <input type="button" value="+" onClick="add_obj()" />
+ <input type="button" value="reset" onClick="reset();" />
+ <input type="button" value="D" onClick="extract_data()" />
+ <pre id="data">
+ <p id="debug">&nbsp;</p>
+ </pre>
<h3>TODO</h3>
<ul>
+ <li><strike>edit text and resize, move (dblclick)</strike></li>
+ <li><strike>remove objs (move to special field)</strike></li>
+ <li><strike>add objs ("+" button, far right)</strike></li>
+ <li><strike>add alignments (click source, then target)</strike></li>
+ <li><strike>extract data</strike></li>
<li>integrate into MT system</li>
</ul>
</body>