Spaces:
Running
Running
Delete static/addIntentModal.html
Browse files- static/addIntentModal.html +0 -27
static/addIntentModal.html
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
<!-- Add/Edit API Modal -->
|
2 |
-
<div class="modal fade" id="addIntentModal" tabindex="-1" aria-labelledby="addIntentModalLabel" aria-hidden="true">
|
3 |
-
<div class="modal-dialog">
|
4 |
-
<div class="modal-content">
|
5 |
-
<div class="modal-header">
|
6 |
-
<h5 class="modal-title">Add / Edit API</h5>
|
7 |
-
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
8 |
-
</div>
|
9 |
-
<div class="modal-body">
|
10 |
-
<input type="text" id="apiNameInput" class="form-control mb-2" placeholder="API Name">
|
11 |
-
<input type="text" id="apiUrlInput" class="form-control mb-2" placeholder="API URL">
|
12 |
-
<input type="text" id="apiAuthInput" class="form-control mb-2" placeholder="Auth (if any)">
|
13 |
-
<select id="apiMethodSelect" class="form-control mb-2">
|
14 |
-
<option value="GET">GET</option>
|
15 |
-
<option value="POST">POST</option>
|
16 |
-
</select>
|
17 |
-
<div id="headerContainer" class="mb-2">
|
18 |
-
<!-- Dynamic header rows -->
|
19 |
-
</div>
|
20 |
-
<button class="btn btn-secondary mb-2" onclick="addHeaderRow()">+ Add Header</button>
|
21 |
-
</div>
|
22 |
-
<div class="modal-footer">
|
23 |
-
<button class="btn btn-primary" onclick="saveAPI()">Save API</button>
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
</div>
|
27 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|