|
9 | 9 |
|
10 | 10 | <body> |
11 | 11 |
|
| 12 | +<div id="fill"></div> |
| 13 | + |
12 | 14 | <header id="header"> |
| 15 | + Examples: |
13 | 16 | <select id="dataset"> |
14 | 17 | <option>-- select dataset --</option> |
15 | 18 | <option>data1</option> |
|
21 | 24 | <option>morpheme2</option> |
22 | 25 | <option>event annotation</option> |
23 | 26 | </select> |
| 27 | + <button id="custom-annotation">Custom annotation</button> |
24 | 28 | <button id="taxonomy-toggle">Taxonomy</button> |
25 | 29 | <button id="options-toggle">Options</button> |
26 | 30 | </header> |
27 | 31 |
|
| 32 | +<div id="input-modal" class="modal"> |
| 33 | + <div> |
| 34 | + <header> |
| 35 | + <span class="tab active">Custom annotation</span> |
| 36 | + </header> |
| 37 | + <div class="page active"> |
| 38 | + <form id="form"> |
| 39 | + <label for="file-input">Upload file(s)</label> |
| 40 | + <input type="file" id="file-input" style="display:none;" multiple> |
| 41 | + </form> |
| 42 | + <pre id="message"></pre> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | +</div> |
| 46 | + |
28 | 47 | <div id="main"> |
29 | 48 | <div id="tooltip"> |
30 | 49 | </div> |
|
47 | 66 | <p><input type="checkbox" data-option="tree"> Open tree view in modal</p> |
48 | 67 | </div> |
49 | 68 | </div> |
| 69 | + |
50 | 70 | </div> |
51 | 71 |
|
52 | 72 | <script src="libs/svg.js"></script> |
53 | 73 | <script src="libs/svg.draggable.js"></script> |
54 | | -<script src="libs/jscolor.min.js"></script> |
| 74 | +<script src="libs/jsColorPicker.min.js"></script> |
55 | 75 | <script src="libs/d3.min.js"></script> |
56 | 76 |
|
| 77 | +<script src="js/xhr.js"></script> |
57 | 78 | <script src="js/ymljson.js"></script> |
58 | | -<script src="js/parser.js"></script> |
| 79 | +<script src="js/parse/parse.js"></script> |
| 80 | +<script src="js/parse/ann.js"></script> |
| 81 | +<script src="js/parse/reach.js"></script> |
59 | 82 | <script src="js/treelayout.js"></script> |
60 | 83 | <script src="js/main.js"></script> |
61 | 84 | <script src="js/managers/tooltip.js"></script> |
|
69 | 92 | <script src="js/components/link.js"></script> |
70 | 93 |
|
71 | 94 | <script type="text/javascript"> |
| 95 | + |
| 96 | +// page setup |
| 97 | +// manage input |
| 98 | +// manage visualization |
| 99 | + |
72 | 100 | Main.init(); |
73 | 101 | </script> |
74 | 102 |
|
|
0 commit comments