Minor improvements on UI

This commit is contained in:
TwinProduction 2019-09-16 20:29:06 -04:00
parent a3f2591bbf
commit 46fbba25df

View File

@ -6,21 +6,23 @@
</head> </head>
<body> <body>
<div class="container my-3 bg-light rounded p-4 border shadow"> <div class="container my-3 bg-light rounded p-4 border shadow">
<div class="text-center"> <div class="text-center mb-3">
<div class="display-4">Gatus</div> <div class="display-4">Gatus</div>
</div> </div>
<table class="table"> <div class="table-responsive">
<thead> <table class="table">
<tr> <thead>
<th scope="col">Name</th> <tr>
<th scope="col">Status</th> <th scope="col">Name</th>
<th scope="col">Hostname</th> <th scope="col">Status</th>
<th scope="col">Response time</th> <th scope="col">Hostname</th>
</tr> <th scope="col">Response time</th>
</thead> </tr>
<tbody id="results"> </thead>
</tbody> <tbody id="results">
</table> </tbody>
</table>
</div>
</div> </div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
@ -56,7 +58,7 @@
refreshTable(); refreshTable();
setInterval(function() { setInterval(function() {
refreshTable(); refreshTable();
}, 10000); }, 3000);
</script> </script>
</body> </body>
</html> </html>