-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (122 loc) · 5.81 KB
/
index.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DiscourseDB</title>
<script type="text/javascript" src="layout-master/demos/js/jquery.js"></script>
<script type="text/javascript" src="layout-master/demos/js/jquery-ui.js"></script>
<meta name="google-signin-client_id" content="336511606727-reg55r59io04v8n4c6hjpo9t8prfrf20.apps.googleusercontent.com">
<link rel="stylesheet" href="vendors/jstree/themes/default/style.min.css"/>
<link rel="stylesheet" href="vendors/jquery-ui/jquery-ui.css"/>
<!--<link rel="stylesheet" href="vendors/colresizable/css/main.css"/>-->
<link rel="stylesheet" href="vendors/layout/layout-default.css"/>
<link rel="stylesheet" href="resources/css/browser.css"/>
<link rel="stylesheet" href="vendors/DataTables/datatables.min.css"/>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css">
<script type="text/javascript" src="vendors/jstree/jstree.js"></script>
<script type="text/javascript" src="vendors/layout/jquery.layout.js"></script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script type="text/javascript" src="vendors/DataTables/datatables.js"></script>
<script type="text/javascript" src="vendors/colresizable/colResizable-1.6.min.js"></script>
<style>
td.item-node {
max-width: 10em;
}
div.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
</head>
<body>
<div class="ui-layout-center">
<table id="contributions" class="display cell-border" width="100%">
<thead>
<tr><th>Contributor</th><th>Annotations</th><th>Type</th><th width="50%">Content</th>
<th>Title</th><th>DiscourseParts</th>
<th>Date</th><th>ID</th><th>Parent ID</th></tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="ui-layout-west unpadded" id="westpanel">
<div id="select_discourseparts" class="unpadded">
<select id="database_list">
<option value=""></option>
</select>
<text contenteditable="true" id="database_display_name" val="" style="display:none; border:1px solid grey; width:300"></text>
<div id="dps_tabs" class="unpadded">
<ul><li><a href="#jstree_dps_wrap">Explore</a></li>
<li><a href="#list_dps">List</a></li>
</ul>
<div id="jstree_dps_wrap" class="unpadded">
(<span id="jstree_selection_count">0</span> selected)
<div id="jstree_dps">
<!-- in this example the tree is populated from inline HTML -->
</div>
</div>
<div id="list_dps">
List of selected dps goes here, with delete affordance
</div>
</div>
</div>
</div>
<div id="status" class="overlay-box" style="display:none"></div>
<div class="ui-layout-north" id="northpanel">
<div class="ui-layout-west " id="logopanel" style="float: left; height:100%">
<a href="http://discoursedb.github.io/"><img src="resources/img/discoursedb_logo.png"><br>About DiscourseDB</a>
</div>
<div class="rightinset ui-layout-center" id="loginpanel" style="float: right">
<div id="currentuser">Not logged in</div>
<div id="signInButton" class="g-signin2" data-onsuccess="onSignIn"></div>
<a href="#" id="signOutButton">Sign out</a>
<br><b><a id="applyForAccount" href="https://discoursedb.github.io/signup">Apply for an account</a></b>
</div>
<div id="save_selection" class="ui-layout-east " style="margin: 0 auto; display:table">
<h4>Named data selection</h4>
<select id="query_list">
<option value="blank">blank</option>
</select>
<text contenteditable="true" id="query_display_name" val="" style="display:none; border:1px solid grey; width:300"></text>
<br/>
<button disabled id="save_query">Remember</button><button disabled id="delete_query">Forget</button>
</div>
</div>
<div class="ui-layout-east unpadded" id="eastpanel" style="display: none">
<div class="io unpadded">
<div id="io_accordion" class="basic unpadded">
<h3><a href="#">Annotate</a></h3>
<div>
<h4>Annotate with BRAT</h4>
<div id="annotation_projects"></div>
<!--<hr/>
<h4>Annotation tags:</h4>
<textarea id="annotation_tags">
Transactive
Reasoning
Good
NeedsImprovement</textarea><br/>-->
<br/>
<a href="http://discoursedb.github.io/annotate" target="_blank"><i class="glyphicon glyphicon-question-sign"></i> Help! How to Annotate</a>
</div>
<h3><a href="#">Import/Export</a></h3>
<div>
<button class="when_something_selected ui-button csv-button ui-widget ui-corner-all" id="download_query_direct">Download as CSV</button>
<button class="when_something_selected ui-button csv-button ui-widget ui-corner-all" id="csvexport_anno">Export For Training<br/><small>(text & annos (no id)<br/>for Lightside)</small></button>
<button class="when_something_selected ui-button csv-button ui-widget ui-corner-all" id="csvexport_noanno">Export For Learning<br/><small>(text & ids (no annos)<br/>for Lightside)</small></button>
<button class="when_something_selected ui-button csv-button ui-widget ui-corner-all" id="csvimport_trigger">
Re-Import After Inference<br/><small>(Lightside annotations)</small></button>
<form class="uploadform" id="uploadLightsideForm" enctype="multipart/form-data" method="POST">
<input hidden="hidden" id="csvimport" name="file_annotatedFileForUpload" type="file" value="file_annotatedFileForUpload"/>
</form>
<a href="https://docs.google.com/presentation/d/1csjDt3v43lqPfZCDxENpFhvTy8PFVhlgQeCHNtDYc-w/edit?usp=sharing" target="_blank"><i class="glyphicon glyphicon-question-sign"></i> Help! How to use external learning tools.</a>
</div>
<br/><br/>
</div>
</div></div>
</div>
<script src="index.js"></script>
</body>
</html>