Téléverser les fichiers vers "/"
This commit is contained in:
		
							
								
								
									
										102
									
								
								index (1).html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								index (1).html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,102 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="fr">
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="utf-8">
 | 
			
		||||
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
  <title>[LOG PHP]</title> 
 | 
			
		||||
<link rel="stylesheet" href="main.css"> 
 | 
			
		||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
 | 
			
		||||
 | 
			
		||||
</head>
 | 
			
		||||
<body class=wrapper>
 | 
			
		||||
 <h1>Cette page web est le résultat des données extraite de [Nom du fichier]</h1>
 | 
			
		||||
<p>Le type de fichier de log ici est un fichier de log provenant d'un serveur Web PHP</p>
 | 
			
		||||
   
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <div class=g2>
 | 
			
		||||
        <canvas id="g2" ></canvas> 
 | 
			
		||||
        
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div class=g1>
 | 
			
		||||
        <canvas id="g1"></canvas> 
 | 
			
		||||
    </div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
    const ctx = document.getElementById('g1');
 | 
			
		||||
    const char2 = new Chart(ctx, {
 | 
			
		||||
        type: 'doughnut',
 | 
			
		||||
        data: {
 | 
			
		||||
            labels : ['Erreurs','Erreurs fatales','Notices','Warning'],
 | 
			
		||||
            datasets: [{
 | 
			
		||||
                data: [23, 10, 89, 10], // DATA ICI
 | 
			
		||||
                backgroundColor: [
 | 
			
		||||
                    'rgba(255, 99, 132, 0.2)',
 | 
			
		||||
                    'rgba(54, 162, 235, 0.2)',
 | 
			
		||||
                    'rgba(255, 206, 86, 0.2)',
 | 
			
		||||
                    'rgba(75, 192, 192, 0.2)',
 | 
			
		||||
                    'rgba(153, 102, 255, 0.2)',
 | 
			
		||||
                    'rgba(255, 159, 64, 0.2)'
 | 
			
		||||
                ],
 | 
			
		||||
                borderColor: [
 | 
			
		||||
                    'rgba(255, 99, 132, 1)',
 | 
			
		||||
                    'rgba(54, 162, 235, 1)',
 | 
			
		||||
                    'rgba(255, 206, 86, 1)',
 | 
			
		||||
                    'rgba(75, 192, 192, 1)',
 | 
			
		||||
                    'rgba(153, 102, 255, 1)',
 | 
			
		||||
                    'rgba(255, 159, 64, 1)'
 | 
			
		||||
                ],
 | 
			
		||||
                borderWidth: 1
 | 
			
		||||
            }]
 | 
			
		||||
        },
 | 
			
		||||
        options: {
 | 
			
		||||
            plugins: {
 | 
			
		||||
                title: {
 | 
			
		||||
                    display: true,
 | 
			
		||||
                    text: '[DATES]'
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
    </script>
 | 
			
		||||
<script>
 | 
			
		||||
    const ctx = document.getElementById('g2');
 | 
			
		||||
    const Char2 = new Chart(ctx, {
 | 
			
		||||
        type: 'doughnut',
 | 
			
		||||
        data: {
 | 
			
		||||
            labels : ['Erreurs','Erreurs fatales','Notices','Warning'],
 | 
			
		||||
            datasets: [{
 | 
			
		||||
                data: [1, 2, 45, 7], // DATA ICI
 | 
			
		||||
                backgroundColor: [
 | 
			
		||||
                    'rgba(255, 99, 132, 0.2)',
 | 
			
		||||
                    'rgba(54, 162, 235, 0.2)',
 | 
			
		||||
                    'rgba(255, 206, 86, 0.2)',
 | 
			
		||||
                    'rgba(75, 192, 192, 0.2)',
 | 
			
		||||
                    'rgba(153, 102, 255, 0.2)',
 | 
			
		||||
                    'rgba(255, 159, 64, 0.2)'
 | 
			
		||||
                ],
 | 
			
		||||
                borderColor: [
 | 
			
		||||
                    'rgba(255, 99, 132, 1)',
 | 
			
		||||
                    'rgba(54, 162, 235, 1)',
 | 
			
		||||
                    'rgba(255, 206, 86, 1)',
 | 
			
		||||
                    'rgba(75, 192, 192, 1)',
 | 
			
		||||
                    'rgba(153, 102, 255, 1)',
 | 
			
		||||
                    'rgba(255, 159, 64, 1)'
 | 
			
		||||
                ],
 | 
			
		||||
                borderWidth: 1
 | 
			
		||||
            }]
 | 
			
		||||
        },
 | 
			
		||||
        options: {
 | 
			
		||||
            plugins: {
 | 
			
		||||
                title: {
 | 
			
		||||
                    display: true,
 | 
			
		||||
                    text: '[DATE]'
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
     
 | 
			
		||||
    </script>
 | 
			
		||||
		Reference in New Issue
	
	Block a user