Spaces:
Building
Building
Update static/index.html
Browse files- static/index.html +18 -1
static/index.html
CHANGED
@@ -175,7 +175,24 @@
|
|
175 |
</div>
|
176 |
<div class="form-group">
|
177 |
<label for="intent-parameters">Parameters (JSON array)</label>
|
178 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
</div>
|
180 |
</div>
|
181 |
<div class="modal-footer">
|
|
|
175 |
</div>
|
176 |
<div class="form-group">
|
177 |
<label for="intent-parameters">Parameters (JSON array)</label>
|
178 |
+
<div class="form-group">
|
179 |
+
<label>Parameters</label>
|
180 |
+
<button class="btn btn-sm btn-success ml-2" onclick="addParameterRow()">+ Add Parameter</button>
|
181 |
+
<table class="table table-sm mt-2">
|
182 |
+
<thead>
|
183 |
+
<tr>
|
184 |
+
<th>Name</th>
|
185 |
+
<th>Type</th>
|
186 |
+
<th>Regex</th>
|
187 |
+
<th>Validation Message</th>
|
188 |
+
<th>Actions</th>
|
189 |
+
</tr>
|
190 |
+
</thead>
|
191 |
+
<tbody id="parameter-body">
|
192 |
+
<!-- parameter rows -->
|
193 |
+
</tbody>
|
194 |
+
</table>
|
195 |
+
</div>
|
196 |
</div>
|
197 |
</div>
|
198 |
<div class="modal-footer">
|