mirror of
https://github.com/ivabus/www
synced 2024-11-10 17:55:16 +03:00
More JSON data
This commit is contained in:
parent
d944dccf90
commit
529e7a240b
|
@ -52,8 +52,19 @@
|
|||
</button>
|
||||
</h2>
|
||||
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
|
||||
<div class="accordion-body">
|
||||
<strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
|
||||
<div class="accordion-body two-boxes">
|
||||
<div class="one-box-down">
|
||||
<p>Employment type: <span id="typeTwo"></span></p>
|
||||
<p>Department: <span id="deptTwo"></span></p>
|
||||
<p>Location: <span id="locTwo"></span></p>
|
||||
</div>
|
||||
<hr class="one-box-down">
|
||||
<div class="one-box-down" id="descTwo"></div>
|
||||
<div>
|
||||
<a href="" id="linkTwo">
|
||||
<button class="detail-btn-large"><i class="icon-enter-arrow"></i>VIEW ALL DETAILS</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -183,10 +183,8 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
|||
//Job Description Two
|
||||
document.getElementById('typeTwo').innerHTML = out[1].type.name;
|
||||
document.getElementById('deptTwo').innerHTML = out[1].department;
|
||||
out[1].location.is_remote === true ? document.getElementById('locTwo').innerHTML = 'Remote' : document.getElementById('locTwo').innerHTML = out[1].location.name;
|
||||
document.getElementById('jobTwo').innerHTML = out[1].name;
|
||||
document.getElementById('descTwo').innerHTML = out[1].description;
|
||||
document.getElementById('linkTwo').href = out[1].url;
|
||||
})
|
||||
.catch(err => { throw err });
|
||||
|
||||
|
|
Loading…
Reference in a new issue