...
 
Commits (2)
......@@ -344,10 +344,24 @@
</div>
</div>
<a class="col-md-4">
<div class=" col-md-4">
<div class= "event-box" id="open-calls">
<!-- <iframe src="https://wiki.mozilla.org/Diversity_and_Inclusion_for_Communities_and_Contributors#Future_Callsm"></iframe> -->
<h3><span class="mw-headline" id="Future_Calls">Future Calls</span></h3>
<ul>
<li>
<a rel="nofollow" href="https://events.mozilla.org/opensourcemaintainerhowwomenar%7C">
March 21 2019: <b>Open Source Maintainer - Women will Engineer the Future</b>
</a>
</li>
<li>
<a href="/Diversity_and_Inclusion_for_Communities_and_Contributors/DI_Call_04_04_2019" title="Diversity and Inclusion for Communities and Contributors/DI Call 04 04 2019">
April 4, 2019: <b>Data, Metrics, Ethics</b>
</a>
</li>
</ul>
</div>
</a>
</div>
<a class="col-md-4">
<div class= "event-box" id="meetup">
......@@ -357,18 +371,6 @@
</div>
</section>
<section id="events" class="container text-center">
<hr/>
<h2>Events</h2>
<div class="row">
<a class="col-md-12" href="https://twitter.com/osdiversity" target="_blank" rel="noopener">
<img alt="" src="img/opensourcediversity-icon-margin.svg" />
<h3>To be developed</h3>
<p>See our Twitter account for now 🐦</p>
</a>
</div>
</section>
<section id="articles" class="container text-center no-highlight-effect">
<hr/>
<h2>Articles</h2>
......
function fillDAndIFields (futureCalls) {
console.log|(futureCalls);
}
$.ajax({
url: "https://wiki.mozilla.org/Diversity_and_Inclusion_for_Communities_and_Contributors",
dataType: "html", // Need to make sure html tags are whitelisted/ blacklisted to avoid injection
context: document.body,
success: function(response) {
let futureCalls = response.data;
fillDAndIFields(futureCalls);
}
});
\ No newline at end of file
function fillMeetupFields (events) {
let element = document.getElementById('meetup');
console.log(element)
let html = "<h3 class=\"title\"></h3><p class=\"topic\"></p><div><b>Venue:</b><span class=\"venue\"></span></div><div><b>Date:</b><span class=\"date\"></span></div></a>";
for(i=0; i < events.length; i++){
......