2018-05-20 00:10:01 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
2018-05-23 14:12:24 +02:00
|
|
|
<title>XPPL</title>
|
2018-05-20 00:10:01 +02:00
|
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
2018-05-31 18:04:05 +02:00
|
|
|
<link rel="stylesheet" href="/static/js/jquery-ui-1.12.1.custom/jquery-ui.css">
|
2018-05-20 00:10:01 +02:00
|
|
|
{% block css %} {% endblock%}
|
|
|
|
</head>
|
|
|
|
<body>
|
2018-06-01 21:37:45 +02:00
|
|
|
<div id="newstext">
|
|
|
|
<div class='marquee'>
|
|
|
|
<div class='marquee-text'>
|
2018-06-01 23:27:26 +02:00
|
|
|
This is the XPPL ~ Library XPUB ~ Updates
|
2018-06-01 21:37:45 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-23 14:12:24 +02:00
|
|
|
{% block header %}
|
2018-05-20 00:10:01 +02:00
|
|
|
<header>
|
|
|
|
{% include "header.html" %}
|
|
|
|
</header>
|
2018-05-23 14:12:24 +02:00
|
|
|
{% endblock %}
|
2018-05-20 00:10:01 +02:00
|
|
|
<main>
|
|
|
|
<div class="container">
|
|
|
|
{% block main %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
<div class="container">
|
|
|
|
{% include "footer.html" %}
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
{% block js %} {% endblock%}
|
2018-05-29 16:18:00 +02:00
|
|
|
|
2018-06-01 21:37:45 +02:00
|
|
|
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
|
2018-05-31 18:04:05 +02:00
|
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
|
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
2018-06-01 21:37:45 +02:00
|
|
|
<script src="{{ url_for("static", filename="js/app.js") }}"></script>
|
2018-06-01 23:27:26 +02:00
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$( document ).ready(function() {
|
|
|
|
update();
|
|
|
|
function update() {
|
|
|
|
$.ajax({
|
|
|
|
url: "{{ url_for('get_updates') }}",
|
|
|
|
type: 'GET',
|
|
|
|
async: false,
|
|
|
|
success : function(text)
|
|
|
|
{
|
|
|
|
response = text;
|
|
|
|
$('.marquee-text').text(response)
|
|
|
|
console.log(response)
|
|
|
|
},
|
|
|
|
cache: false,
|
|
|
|
contentType: false,
|
|
|
|
processData: false
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
2018-06-01 20:26:37 +02:00
|
|
|
|
|
|
|
|
2018-05-31 18:04:05 +02:00
|
|
|
</script>
|
2018-05-20 00:10:01 +02:00
|
|
|
</body>
|
|
|
|
</html>
|