-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
305 lines (229 loc) · 9.96 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
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="sazx_wizard/scripts/wizard.js"></script>
<script src="sazx_wizard/scripts/builder.js"></script>
<script src="sazx_wizard/scripts/runtime.js"></script>
<script src="sazx_wizard/scripts/config.js"></script>
<link href="sazx_wizard/style/base.css" rel="stylesheet">
<link href="sazx_wizard/style/layout.css" rel="stylesheet">
<link href="sazx_wizard/style/module.css" rel="stylesheet">
<!-- <link href="sazx_wizard/style/state.css" rel="stylesheet"> -->
<link href="sazx_wizard/style/theme.css" rel="stylesheet">
<title> Wizard Form Parent </title>
</head>
<body>
<header>
</header>
<main>
</article>
<article>
<div>
<div id="wizwiz">
<form class="sazx-wizard l-flex l-flex-row">
<!-- :Begin Wizard Side progress -->
<div class="nav">
<div class="list l-flex l-flex-column">
</div>
</div>
<!-- :End Wizard Side progress indicator -->
<!-- :Begin Wizard Main Content -->
<div class="content l-flex l-flex-column l-flex-space-btwn">
<!-- :Begin Wizard step container -->
<div class="steps">
</div>
<!-- :End Wizard step container -->
<!-- :Begin Wizard Steps Nagivation -->
<div class="nav l-flex l-flex-row l-flex-space-btwn ">
<div>
<button type="button" class="button cancel" onclick="cancelWizard(event)"> Cancell </button>
</div>
<div class="l-flex l-flex-end">
<button type="button" class="button previous hidden" onclick="previousStep(event)"> Previous
</button>
<button type="button" class="button next" onclick="nextStep(event)"> Next </button>
</div>
</div>
<!-- :End Wizard Steps Nagivation -->
</div>
<!-- :End Wizard Main Content -->
</form>
</div>
</div>
</div>
</article>
</main>
<footer>
</footer>
<!-- Templates -->
<!-- :Begin step template -->
<template id="sazx-wiz-step-wrapper-template">
<div class="step l-flex l-flex-column" data-step_id="1">
</div>
</template>
<!-- :End step template -->
<!-- :Begin progress indicator template -->
<template id="sazx-wiz-step-indicator-wrapper-template">
<div class="item-wrapper l-flex l-center-vr" data-step_id="1">
<div class="icon"></div>
<label class="indicator-label item"></label>
</div>
</template>
<!-- :End progress indicator template -->
<!--
### FOrm
-->
<!-- :Begin Results Table Template -->
<template id="sazx_wizard_template_result_table">
<!-- :Begin Column Mapper Form -->
<div class="form">
<h1 class="title"> Result Table </h1>
<div class="fields result-table ">
<table>
<thead>
<tr>
<template class="template-head-tr-th">
<th> </th>
</template>
</tr>
</thead>
<tbody>
<template class="template-body-tr">
<tr>
<template class="template-body-tr-td">
<td> </td>
</template>
</tr>
</template>
</tbody>
</table>
<div class="download l-flex l-center-vr l-center-hr">
<button type="button" class="button"> Download </button>
</div>
</div>
</div>
<!-- :End Column Mapper Form -->
</template>
<!-- :End Results Table Template -->
<!-- :Begin Column Mapper Template -->
<template id="sazx_wizard_template_column-mapper">
<!-- :Begin Column Mapper Form -->
<div class="form">
<h1 class="title"> Map Collumns? </h1>
<div class="fields column-mapper ">
<table>
<thead>
<tr>
<th> File Column </th>
<th> Map To </th>
</tr>
</thead>
<tbody>
<template class="tr-template">
<tr>
<td class="file-column">
</td>
<td class="map-to">
<p class="label"> </p>
</td>
</tr>
</template>
<!-- WIll be inserted into tr > file column
I put it here for performance reasons
-->
<template class="select-template">
<select class="select">
</select>
</template>
<!-- WIll be inserted into tr > file column > select
I put it here for performance reasons
-->
<template class="select-option-template">
<option class="option"> One </option>
</template>
</tbody>
</table>
</div>
</div>
<!-- :End Column Mapper Form -->
</template>
<!-- :Begin Column Mapper Template -->
<!-- :Begin Radio Button Template -->
<template id="sazx_wizard_template_radio_button">
<!-- :Begin Radio Button Question -->
<div class="form">
<h1 class="title"> What do you want to Model? </h1>
<div class="fields radio ">
<div class="radio-group l-flex l-center-hr l-center-vr">
<template class="radio-button-template">
<div class="radio-button">
<input class="input" name="aa" id="a1" type="radio">
<label class="label" for="a1"> One </label>
</div>
</template>
</div>
</div>
</div>
<!-- :End Radio Button Question -->
</template>
<!-- :End Radio Button Template -->
<!-- :Begin Free Text Template -->
<template id="sazx_wizard_template_free_text">
<!-- :Begin Free Text-->
<div class="form">
<h1 class="title"> You are free to edit </h1>
<div class="fields text ">
<div class="text-inputs">
<template class="text-input-template">
<div class="text-input l-flex l-flex-column">
<label class="label" for="bb"> Large claims </label>
<input class="input" id="bb" name="bb" type="text" />
</div>
</template>
</div>
</div>
</div>
<!-- :End Free Text -->
</template>
<!-- :End Free Text Template -->
<!-- :Begin File/URL input Template -->
<template id="sazx_wizard_template_file_url">
<!-- :Begin FIle/Url import Question -->
<div class="form">
<h1 class="title"> Import the CSV </h1>
<div class="fields file-url l-flex l-flex-column">
<div class="tab-view l-flex l-flex-column">
<div class="header l-flex l-flex-row">
<button type="button" for="file" onclick="tabClick(event)" class="button active">
From File </button>
<button type="button" for="url" onclick="tabClick(event)" class="button "> From
URL </button>
</div>
<div class="body">
<div id="file" class="tab active">
<div class="file-input l-flex l-flex-column l-center-vr l-center-hr">
<button type="button" onclick="fileChooserClicked(event)" class="button">
CHoose File </button>
<input class="input" accept="text/csv" onchange="fileChooserChanged(event)" type="file"
name="placeholder">
<p class="file-name"></p>
</div>
</div>
<div id="url" class="tab ">
<div class="url-input l-flex l-flex-column">
<label class="label" for="bb"> CSV File URL </label>
<input class="input" id="bb" name="bb" type="url" />
</div>
</div>
</div>
</div>
</div>
</div>
<!-- :End FIle/Url import Question -->
</template>
<!-- :End File/URL input Template -->
</body>
</html>