Browse Source

affichage des logs (mise en forme)

master
heuzef 5 years ago
parent
commit
7f8ff68325
2 changed files with 16 additions and 3 deletions
  1. +13
    -1
      ui/allo-gg.log
  2. +3
    -2
      ui/check_services.php

+ 13
- 1
ui/allo-gg.log View File

@@ -1 +1,13 @@
CONTENT
[********************]

Thu 9 May 19:07:58 CEST 2019

[OK] Log2Ram
[OK] Apache
[OK] Cron
[OK] WiringPi
[OK] Internet

[Tout va bien ^_^]

[********************]

+ 3
- 2
ui/check_services.php View File

@@ -54,11 +54,12 @@
<hr/> <hr/>


<div class="row"> <div class="row">
<div class="col-lg-12">
<div class="col-lg-3"></div>
<div class="col-lg-9">
<p class="bs-component"> <p class="bs-component">
<?php <?php
$log=file_get_contents('allo-gg.log'); $log=file_get_contents('allo-gg.log');
echo $log;
echo '<pre style="text-align:left;">'.$log.'</pre>';
?> ?>
</p> </p>
<hr/> <hr/>


Loading…
Cancel
Save