ciyidogan commited on
Commit
aa0674f
·
verified ·
1 Parent(s): c72f0c4

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +23 -0
static/index.html CHANGED
@@ -188,6 +188,29 @@
188
  </div>
189
  </div>
190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  <!-- JS Files -->
192
  <script src="js/common.js"></script>
193
  <script src="js/auth.js"></script>
 
188
  </div>
189
  </div>
190
 
191
+ <!-- Add Intent Modal -->
192
+ <div class="modal fade" id="addIntentModal" tabindex="-1" aria-labelledby="addIntentModalLabel" aria-hidden="true">
193
+ <div class="modal-dialog">
194
+ <div class="modal-content">
195
+ <div class="modal-header">
196
+ <h5 class="modal-title" id="addIntentModalLabel">Add New Intent & API</h5>
197
+ </div>
198
+ <div class="modal-body">
199
+ <input type="text" id="intentNameInput" class="form-control mb-2" placeholder="Intent Name">
200
+ <input type="text" id="apiNameInput" class="form-control mb-2" placeholder="API Name">
201
+ <input type="text" id="apiUrlInput" class="form-control mb-2" placeholder="API URL">
202
+ <select id="apiMethodSelect" class="form-control mb-2">
203
+ <option value="GET">GET</option>
204
+ <option value="POST">POST</option>
205
+ </select>
206
+ </div>
207
+ <div class="modal-footer">
208
+ <button type="button" class="btn btn-primary" onclick="addIntent()">Save</button>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </div>
213
+
214
  <!-- JS Files -->
215
  <script src="js/common.js"></script>
216
  <script src="js/auth.js"></script>