summaryrefslogtreecommitdiff
path: root/edit.html
blob: c0905d9dfb35a9b1b72b60c040e2e8fd517fab94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<!-- 2015-08-26 -->
<html lang="en">
<head>
  <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="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="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>
</html>