This commit is contained in:
Matteo Gheza 2020-05-26 10:01:54 +02:00
parent 4beda17e6f
commit 9285fe7842
2 changed files with 39 additions and 17 deletions

View File

@ -1,17 +1,3 @@
<!DOCTYPE html>
<html>
<head>
<title>Sito in Manutenzione</title>
<meta charset="UTF-8">
<style>
h1 { font-size: 50px; }
body { text-align:center; font: 20px Helvetica, sans-serif; color: #333; }
</style>
</head>
<body>
<h1>Pagina in Manutenzione</h1>
<p>Scusaci per l'incoveniente. Stiamo lavorando per migliorare il servizio.</p>
<p>Saremo di nuovo attivi entro breve. Puoi utilizzare il resto del sito</p>
<p style="margin-top: 40px; font-size: 14px; color: #666"><em>il Webmaster</em></p>
</body>
</html>
<?php
require_once 'ui.php';
loadtemplate('grafici.html', ['titolo' => 'Grafici']);

View File

@ -0,0 +1,36 @@
{% extends "base.html" %}
{% block content %}
<br>
<img alt="VVF" src="./risorse/images/owner.png" width="150" style="display: block; margin-left: auto; margin-right: auto;">
<br>
<div id="lista" hidden></div>
<b>TODO</b>
<script>
$.get( "risorse/ajax/ajax_log.php", function( data ) {
$( "#lista" ).html( data );
console.log( "Caricato lista." );
});
$(document).ready(function() {
setInterval(function() {
$.get( "risorse/ajax/ajax_log.php", function( data ) {
$( "#lista" ).html( data );
});
}, 10000);
});
/*
check();
$(document).ready(function() {
setInterval(function() {
check();
}, 10000);
});
*/
</script>
<br>
<br>
{% endblock %}