-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupload-vizier.html
More file actions
84 lines (84 loc) · 4.82 KB
/
upload-vizier.html
File metadata and controls
84 lines (84 loc) · 4.82 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
<?xml version="1.0" encoding="UTF-8"?>
<div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content">
<form class="form-horizontal" data-template="vizier:assert-empty-collection">
<input type="hidden" name="calib_level" value="3"/>
<fieldset id="collection" data-template="vizier:catalog-description">
<legend>Collection details</legend>
<input id="coltype" name="coltype" required="" type="hidden" data-template="helpers:form-control"/>
<input name="id" required="" type="hidden" data-template="helpers:form-control"/>
<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="" class="form-control input-md" required="required" readonly="readonly" 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">
<p class="form-control-static">
<input id="title" name="title" type="hidden" data-template="helpers:form-control"/>
<a data-template="helpers:model-value-attribute" data-template-key="source" data-template-name="href" target="_blank">
<span data-template="helpers:model-value" data-template-key="title"/>
</a>
</p>
<!-- <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" readonly="readonly" 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">Articles</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" for="last-modified">Last modified</label>
<div class="col-md-2">
<input id="last-modified" name="last-modified" class="form-control input-md" required="" type="text" readonly="readonly" data-template="helpers:form-control"/>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label" for="datapi">Data PI</label>
<div class="col-md-2">
<!-- TODO use first author as datapi -->
<input id="datapi" name="datapi" class="form-control input-md" required="" type="text" readonly="readonly" data-template="helpers:form-control"/>
</div>
</div>
</fieldset>
<fieldset id="oifits" data-template="vizier:catalog-files">
<legend>OIFITS files</legend>
<div class="col-md-offset-1 col-md-10">
<table class="table table-bordered table-condensed">
<thead>
<th>Target</th>
<th>Instrument</th>
<th>Instrument mode</th>
<th>Night</th>
<th><!-- no quality level at this stage --></th>
</thead>
<tbody data-template="helpers:render" data-template-partial="_oifits-form.html" data-template-key="oifits" data-template-as="url"/>
</table>
</div>
</fieldset>
<fieldset>
<div class="form-group">
<div class="col-md-offset-6 col-md-4">
<button type="submit" class="btn btn-primary btn-block">Save</button>
<a href="submit.html" class="btn btn-default btn-xs btn-block" role="button">Cancel</a>
</div>
</div>
</fieldset>
</form>
<script type="text/javascript" src="resources/scripts/selectors.js"/>
<script type="text/javascript" src="resources/scripts/checkreport.js"/>
<script type="text/javascript" src="resources/scripts/upload.js"/>
<div data-template="templates:include" data-template-path="_voar.html"/>
</div>