-
Notifications
You must be signed in to change notification settings - Fork 23
/
edit.html
164 lines (164 loc) · 9.49 KB
/
edit.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>EDAM ontology browser</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="favicon.ico"/>
<script src="./js/edit.js"></script>
</head>
<body>
<div class="container">
<div class="page-header row">
<div class="col-xs-12">
<h1 id="pageTitle">Propose a <span class="change">change</span><span class="new">new term</span> in "<span
class="branch"></span>" of EDAM ontology </h1>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<form method="post">
<div class="row">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-3 col-md-2 " for="id_label">Label</label>
<div class=" col-xs-12 col-sm-9 col-md-10 ">
<input class=" form-control" id="id_label" maxlength="512" name="label" type="text"
value="" disabled="disabled">
</div>
</div>
</div>
<br/>
<!--<div class="row">-->
<!--<div class="form-group">-->
<!--<div class=" col-xs-offset-3 col-xs-12 col-sm-9 col-md-10">-->
<!--<div class="checkbox">-->
<!--<label>-->
<!--<input id="id_deprecated" name="deprecated" type="checkbox" disabled="disabled">-->
<!--<span>Deprecated</span>-->
<!--</label>-->
<!--<p class="help-block">-->
<!--Should the term be detached from the tree, and not be used anymore?-->
<!--</p>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<!--<br/>-->
<div class="row">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-3 col-md-2 " for="id_definition">Definition</label>
<div class=" col-xs-12 col-sm-9 col-md-10 ">
<textarea class=" form-control" cols="40" id="id_definition" name="definition" rows="2"
disabled="disabled"></textarea>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="form-group">
<div class="col-xs-12 col-sm-3 col-md-2" style="font-weight: 700;">Parent</div>
<div class=" col-xs-12 col-sm-9 col-md-10 " id="parent_container">
<input disabled="disabled" type="text" tabindex="1" class="form-control ui-autocomplete-input search-term" placeholder="Type at least 2 letters" onclick="$(this).select();" autocomplete="off" name="parent-0">
<button type="button" title="add another parent" class="btn btn-default btn-xs pull-right" onclick="addTermField($(this).parent(),'parent')"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-3 col-md-2 " for="id_exactSynonyms">Exact synonyms</label>
<div class=" col-xs-12 col-sm-9 col-md-10 ">
<textarea class=" form-control" cols="40" id="id_exactSynonyms" name="exactSynonyms"
rows="2" disabled="disabled"></textarea>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-3 col-md-2 " for="id_narrowSynonyms">Narrow synonyms</label>
<div class=" col-xs-12 col-sm-9 col-md-10 ">
<textarea class=" form-control" cols="40" id="id_narrowSynonyms" name="narrowSynonyms"
rows="2" disabled="disabled"></textarea>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-3 col-md-2 " for="id_seeAlso">seeAlso</label>
<div class=" col-xs-12 col-sm-9 col-md-10 ">
<textarea class=" form-control" cols="40" id="id_seeAlso" name="seeAlso"
rows="2" disabled="disabled"></textarea>
</div>
</div>
</div>
<br/>
<div class="row optional_rel operation_rel data_rel identifier_rel">
<div class="form-group">
<div class="col-xs-12 col-sm-3 col-md-2" style="font-weight: 700;">Has Topic</div>
<div class=" col-xs-12 col-sm-9 col-md-10 " id="has_topic_container">
<button type="button" title="add another term" class="btn btn-default btn-xs pull-right" onclick="addTermField($(this).parent(),'has_topic')"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
<br/>
<div class="row optional_rel format_rel">
<div class="form-group">
<div class="col-xs-12 col-sm-3 col-md-2" style="font-weight: 700;">Is Format Of</div>
<div class=" col-xs-12 col-sm-9 col-md-10 " id="is_format_of_container">
<button type="button" title="add another term" class="btn btn-default btn-xs pull-right" onclick="addTermField($(this).parent(),'is_format_of')"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
<br/>
<div class="row optional_rel operation_rel">
<div class="form-group">
<div class="col-xs-12 col-sm-3 col-md-2" style="font-weight: 700;">Has Input</div>
<div class=" col-xs-12 col-sm-9 col-md-10 " id="has_input_container">
<button type="button" title="add another term" class="btn btn-default btn-xs pull-right" onclick="addTermField($(this).parent(),'has_input')"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
<br/>
<div class="row optional_rel operation_rel">
<div class="form-group">
<div class="col-xs-12 col-sm-3 col-md-2" style="font-weight: 700;">Has Output</div>
<div class=" col-xs-12 col-sm-9 col-md-10 " id="has_output_container">
<button type="button" title="add another term" class="btn btn-default btn-xs pull-right" onclick="addTermField($(this).parent(),'has_output')"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
<br/>
<div class="row optional_rel identifier_rel">
<div class="form-group">
<div class="col-xs-12 col-sm-3 col-md-2" style="font-weight: 700;">Is Identifier Of</div>
<div class=" col-xs-12 col-sm-9 col-md-10 " id="is_identifier_of_container">
<button type="button" title="add another term" class="btn btn-default btn-xs pull-right" onclick="addTermField($(this).parent(),'is_identifier_of')"><span class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
</br>
<div class="row">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-3 col-md-2 " for="id_github_comments">Issue comments</label>
<div class=" col-xs-12 col-sm-9 col-md-10 ">
<textarea class=" form-control" cols="40" id="id_github_comments" name="github_comments"
rows="10" disabled="disabled"></textarea>
</div>
</div>
</div>
<br/>
<button type="button" disabled="disabled" role="button" class="btn btn-primary pull-right"
onclick="sendToGitHub();">
<i class="fa fa-github"></i> Continue to GitHub
</button>
</form>
<form id="sender" method="GET" action="https://github.com/edamontology/edamontology/issues/new">
<input type="hidden" name="title"/>
<input type="hidden" name="body"/>
</form>
</div>
</div>
</div>
</body>
</html>