Redmind commited on
Commit
c9f725a
·
verified ·
1 Parent(s): bada808

Update templates/API_connectors.html

Browse files
Files changed (1) hide show
  1. templates/API_connectors.html +3 -4
templates/API_connectors.html CHANGED
@@ -119,10 +119,10 @@
119
  <div class="form-group left-align"id="company-select">
120
  <h4 id="selectedCompany" style="margin-left: 300px;"></h4>
121
 
122
- <div class="col-12 d-flex justify-content-end mb-3">
123
  <button class="btn btn-primary"
124
  style="margin-top: -40px;margin-right: -25px;position: fixed;" id="add">Add</button>
125
- </div>
126
  </div>
127
  <div class="row">
128
  <div id="message-container" style="margin-left: 200px; width:500px;"></div>
@@ -284,7 +284,7 @@
284
  console.log("company_name",company_name);
285
  // document.getElementById('company_name').textContent = company_name;
286
  const passedCompanyName = sessionStorage.getItem('company_name')
287
- document.getElementById('selectedCompany').innerText = `Company name: ${passedCompanyName}`;
288
  const company_id = sessionStorage.getItem('company_id');
289
  document.getElementById("company_id").value = company_id;
290
 
@@ -360,7 +360,6 @@
360
 
361
  displayErrorMessage("Document details2 for knowledge do not exist for this company. Please fill in the details.");
362
  }
363
-
364
  }
365
 
366
  function viewCompany(button) {
 
119
  <div class="form-group left-align"id="company-select">
120
  <h4 id="selectedCompany" style="margin-left: 300px;"></h4>
121
 
122
+ <!-- <div class="col-12 d-flex justify-content-end mb-3">
123
  <button class="btn btn-primary"
124
  style="margin-top: -40px;margin-right: -25px;position: fixed;" id="add">Add</button>
125
+ </div> -->
126
  </div>
127
  <div class="row">
128
  <div id="message-container" style="margin-left: 200px; width:500px;"></div>
 
284
  console.log("company_name",company_name);
285
  // document.getElementById('company_name').textContent = company_name;
286
  const passedCompanyName = sessionStorage.getItem('company_name')
287
+ document.getElementById('selectedCompany').innerText = `Company Name: ${passedCompanyName}`;
288
  const company_id = sessionStorage.getItem('company_id');
289
  document.getElementById("company_id").value = company_id;
290
 
 
360
 
361
  displayErrorMessage("Document details2 for knowledge do not exist for this company. Please fill in the details.");
362
  }
 
363
  }
364
 
365
  function viewCompany(button) {