mirror of
				https://github.com/KevinMidboe/ISPDowntimeMonitor.git
				synced 2025-10-29 17:50:12 +00:00 
			
		
		
		
	Cleaned up formatting
This commit is contained in:
		| @@ -4,7 +4,11 @@ const fs = require('fs'); | ||||
| const app = express() | ||||
| const config = require('../config') | ||||
|  | ||||
| const { getAllEvents, getEventById, getAlternatingEventStatuses, getEventStatus } = require('./db.js'); | ||||
| const { getAllEvents, | ||||
|   getEventById, | ||||
|   getAlternatingEventStatuses, | ||||
|   getEventStatus | ||||
| } = require('./db.js'); | ||||
|  | ||||
| const PORT = 3000; | ||||
|  | ||||
|   | ||||
| @@ -7,9 +7,9 @@ | ||||
|   <script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/3.0.0/fetch.min.js"></script> | ||||
| </head> | ||||
| <body> | ||||
|   <h1>Nedetid rapport</h1> | ||||
|   <h1>Downtime monitor</h1> | ||||
|   <div class="page-container"> | ||||
|     <h2>Oppetid</h2> | ||||
|     <h2>Uptime</h2> | ||||
|     <div class="container" id="bar-graph"> | ||||
|       <!-- BAR GRAPH --> | ||||
|     </div> | ||||
| @@ -23,7 +23,7 @@ | ||||
|     </div> | ||||
|     <hr /> | ||||
|  | ||||
|     <h2>Indicent log</h2> | ||||
|     <h2>Indicent logs</h2> | ||||
|     <div class="container" id="indicent-logs"> | ||||
|       <table id="log-table"> | ||||
|         <thead><tr> | ||||
| @@ -32,21 +32,7 @@ | ||||
|           <th>Duration</th> | ||||
|         </tr></thead> | ||||
|  | ||||
|         <tbody><tr> | ||||
|           <td>31 Mai 2020 22:34</td> | ||||
|           <td>OK</td> | ||||
|           <td>6d 4t 32min</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|           <td>31 Mai 2020 22:34</td> | ||||
|           <td>OK</td> | ||||
|           <td>6d 4t 32min</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|           <td>31 Mai 2020 22:34</td> | ||||
|           <td>OK</td> | ||||
|           <td>6d 4t 32min</td> | ||||
|         </tr></tbody> | ||||
|         <tbody></tbody> | ||||
|       </table> | ||||
|     </div> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user