-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_collection-form.html
More file actions
85 lines (80 loc) · 4.08 KB
/
_collection-form.html
File metadata and controls
85 lines (80 loc) · 4.08 KB
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
<fieldset xmlns="http://www.w3.org/1999/xhtml" id="collection" data-template="app:collection-form">
<legend>Collection details</legend>
<input type="hidden" name="id" data-template="helpers:form-control"/>
<div class="form-group" data-template="helpers:if-model-key" data-template-key="ask_coltype">
<label class="control-label col-md-2">Collection type</label>
<div class="col-md-8">
<div class="radio">
<label>
<i class="glyphicon glyphicon-folder-open"/> 
<input type="radio" name="coltype" id="coltype_public" value="public" data-template="helpers:form-control" checked="checked"/>
public
</label>
</div>
<div class="radio">
<label>
<i class="glyphicon glyphicon-eye-close"/> 
<input type="radio" name="coltype" id="coltype_simulation" value="simulation" data-template="helpers:form-control"/>
simulation
</label>
</div>
<div class="radio">
<label>
<i class="glyphicon glyphicon-lock"/> 
<input type="radio" name="coltype" id="coltype_suv" value="suv" data-template="helpers:form-control"/>
<span rel="tooltip" data-original-title="share data amongst a team during an embargo period prior to publication, store data reduced with the help of SUV ...">embargoed/private</span>
<a href="./doc.html#embargoed_collection" target="embargoed">
<span class="glyphicon glyphicon-question-sign"/>
</a>
</label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label" for="name">Name</label>
<div class="col-md-2">
<input id="name" name="name" placeholder="collection name" class="form-control input-md" required="required" type="text" data-template="helpers:form-control"/>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label" for="title">Title</label>
<div class="col-md-8">
<input id="title" name="title" placeholder="collection title" class="form-control input-md" required="required" type="text" data-template="helpers:form-control"/>
<!-- <span class="help-block">help</span> -->
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label" for="description">Description</label>
<div class="col-md-8">
<textarea class="form-control" id="description" name="description" required="required" data-template="helpers:form-control" rows="8">...</textarea>
<!-- <span class="help-block">help</span> -->
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">Article</label>
<div class="col-md-8">
<ul id="articles" class="list-group">
<li data-template="helpers:render" data-template-partial="_article-form.html" data-template-key="bibcodes" data-template-as="bibcode"/>
</ul>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">Keywords</label>
<div class="col-md-8">
<select multiple="multiple" name="keyword" data-template="helpers:form-control">
<option data-template="helpers:select-options" data-template-key="keywords"/>
</select>
</div>
</div>
<div class="form-group" data-template="app:get-datapi">
<label class="col-md-2 control-label" for="datapi">Data PI</label>
<div class="col-md-2">
<input id="datapi" name="datapi" class="form-control input-md" required="" type="text" readonly="readonly" data-template="helpers:form-control"/>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
$("[rel='tooltip']").tooltip();
});
</script>
</fieldset>