fel_website/themes/felicie/templates/index.html
2020-04-03 15:05:13 +02:00

26 lines
779 B
HTML

{% extends 'base.html' %}
{% block sidebar %}
{% endblock sidebar %}
{% block content %}
<p id='welcome-message'>Welcome aboard ! </p>
<iframe id="surrealistic-quote" src='http://www.madsci.org/cgi-bin/lynn/jardin/SCG'></iframe>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script type='text/javascript'>
$(document).ready(function(){
var iframe_title = $('#surrealistic-quote').contents();
console.log(iframe_title);
$('#surrealistic-quote').hide();
$('#welcome-message').after('<p>' + iframe_title + '</p>');
})
</script>
{% endblock content %}