-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwizard.export.html
More file actions
244 lines (228 loc) · 7.87 KB
/
wizard.export.html
File metadata and controls
244 lines (228 loc) · 7.87 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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<template name="wizExport">
<div class="export-wizard well well-small">
{{> wizardBody wizardData}}
</div>
</template>
<template name="wizExportObjectTypeExpand">
select type of object to export:<br />
object type:
{{#if loading}}
{{> loadingSmall}}
{{else}}
<select>
<option value="" style="display:none">select one</option>
{{#each objectTypes}}
<option value="{{this}}" selected={{selected}}>{{this}}</option>
{{/each}}
</select>
{{/if}}
</template>
<template name="wizExportObjectTypeCompressed">
object type: <b>{{wizardData.getData.type}}</b>
</template>
<template name="wizExportSelectorTypeExpand">
choose type of selection:<br />
<label>
<input type="radio" value="object" name="selectorType" checked={{checked "object"}} />
select a single object
</label>
<label>
<input type="radio" value="nearest" name="selectorType" checked={{checked "nearest"}} />
select nearest object by location from group of objects with common tag
</label>
<label>
<input type="radio" value="map" name="selectorType" checked={{checked "map"}} />
select object by location from a map
</label>
</template>
<template name="wizExportSelectorTypeCompressed">
selection type:
<b>
{{#if is "object"}}single object{{/if}}
{{#if is "nearest"}}nearest object by location from group of objects with common tag{{/if}}
{{#if is "map"}}object by location from a map{{/if}}
</b>
</template>
<template name="wizExportObjectExpand">
select data object:<br />
{{> valueInput}}
</template>
<template name="wizExportObjectCompressed">
data object: <b>{{objectName}}</b>
</template>
<template name="wizExportNearestExpand">
select tag:<br />
{{#if loading}}
{{> loadingSmall}}
{{else}}
{{#if tag}}
<select class="tagName">
<option style="display: none">please select</option>
{{#each tag}}
<option selected={{selectedTag}} value="{{this}}">{{this}}</option>
{{/each}}
</select>
{{else}}
<select disabled="1" class="tagName">
<option style="display: none">no tags available</option>
</select>
{{/if}}
{{/if}}
</template>
<template name="wizExportNearestCompressed">
tag: <b>{{wizardData.getData.tag}}</b>
</template>
<template name="wizExportMapExpand">
select map:<br />
{{#if loading}}
{{> loadingSmall}}
{{else}}
{{#if map}}
<select class="mapName">
<option style="display: none">please select</option>
{{#each map}}
<option selected={{selectedMap}} value="{{mapId}}">{{name}}</option>
{{/each}}
</select>
{{else}}
<select disabled class="mapName">
<option style="display: none">no maps available</option>
</select>
{{/if}}
{{/if}}
</template>
<template name="wizExportMapCompressed">
map: <b>{{mapName}}</b>
</template>
<template name="wizExportLocationExpand">
<div class="left">
<div class="left">choose location: </div>
<div class="right">{{> locationInput}}</div>
</div>
</template>
<template name="wizExportLocationCompressed">
location: <b>{{location}}</b>
</template>
<template name="wizExportExportTypeExpand">
select range of data to export:
<label>
<input type="radio" value="single" name="exportType" checked={{checked "single"}} />
single data set {{> valueInfo description="Export a single data set at a specific date, day, depth etc."}}
</label>
<label>
<input type="radio" value="sequence" name="exportType" checked={{checked "sequence"}} />
sequence of data sets {{> valueInfo description="Export a sequence of data sets. Begin at start value, increment by step until end value."}}
</label>
{{#if rawEnabled}}
<label>
<input type="radio" value="raw" name="exportType" checked={{checked "raw"}} />
raw data {{> valueInfo description="Export all raw uncorrected data associated with object. Optionally export can be restricted by start and end values."}}
</label>
{{/if}}
</template>
<template name="wizExportExportTypeCompressed">
data range:
<b>
{{#if is "single"}}single data set{{/if}}
{{#if is "sequence"}}sequence of data sets{{/if}}
{{#if is "raw"}}raw data{{/if}}
</b>
</template>
<template name="wizExportStartExpand">
enter start of data range:
<a href="#" class="start-value">
{{#each iteratorValues}}
{{valueName}}={{value}}
{{else}}
{{> loadingLineImage}}
{{/each}}
</a>
</template>
<template name="wizExportStartCompressed">
range start:
<b>
{{#each iteratorValues}}
{{valueName}}={{value}}
{{/each}}
</b>
</template>
<template name="wizExportEndExpand">
enter end of data range:
<a href="#" class="end-value">
{{#each iteratorValues}}
{{valueName}}={{value}}
{{else}}
{{> loadingLineImage}}
{{/each}}
</a>
</template>
<template name="wizExportEndCompressed">
range end:
<b>
{{#each iteratorValues}}
{{valueName}}={{value}}
{{/each}}
</b>
</template>
<template name="wizExportStepExpand">
choose step to iterate over range:
<a href="#" class="step-value">
{{#each iteratorValues}}
{{valueName}}={{value}}
{{else}}
{{> loadingLineImage}}
{{/each}}
</a>
</template>
<template name="wizExportStepCompressed">
step:
<b>
{{#each iteratorValues}}
{{valueName}}={{value}}
{{/each}}
</b>
</template>
<template name="wizExportFormatExpand">
select format of download:
<label>
<input type="radio" value="xlsx" name="format" checked={{checked "xlsx"}} />
Microsoft Excel xlsx {{> valueInfo description="Export data in Microsoft Office Open XML format, used by Microsoft Excel 2007 and above."}}
</label>
<label>
<input type="radio" value="xml" name="format" checked={{checked "xml"}} />
OpenOffice xml {{> valueInfo description="Export data in OpenOffice XML format, suitable for newer and also older calculation programs."}}
</label>
<label>
<input type="radio" value="csv" name="format" checked={{checked "csv"}} />
Common csv {{> valueInfo description="Export data in common csv format, suitable for nearly any program. Separator char is ';'."}}
</label>
{{#if zalfClimateEnabled}}
<label>
<input type="radio" value="zalfClimate" name="format" checked={{checked "zalfClimate"}} />
MONICA climate csv {{> valueInfo description="Export data as zip archive in special climate format for MONICA, a model for Nitrogen and Carbon dynamics."}}
</label>
{{/if}}
{{#if zalfSoilEnabled}}
<label>
<input type="radio" value="zalfSoil" name="format" checked={{checked "zalfSoil"}} />
MONICA soil csv {{> valueInfo description="Export data in special JSON soil format for MONICA, a model for Nitrogen and Carbon dynamics."}}
</label>
{{/if}}
</template>
<template name="wizExportFormatCompressed">
download format:
<b>
{{#if is "xlsx"}}Microsoft Excel xlsx{{/if}}
{{#if is "xml"}}OpenOffice xml{{/if}}
{{#if is "csv"}}Common csv{{/if}}
{{#if is "zalfClimate"}}MONICA climate csv{{/if}}
{{#if is "zalfSoil"}}MONICA soil csv{{/if}}
</b>
</template>
<template name="wizExportSubmitExpand">
<button class="btn-primary">export</button>
{{#if loading}}{{> loadingLineImage}}{{/if}}
</template>
<template name="wizExportStep6Compressed">
finished
</template>