Skip to content

Commit

Permalink
Merge pull request #622 from universi-me/fix#621/tabela-papeis-ilegivel
Browse files Browse the repository at this point in the history
FIX #621: Tabela de papeis ilegível
  • Loading branch information
NiiMiyo authored Sep 5, 2024
2 parents 9bc454b + ca961a9 commit 73888b6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 36 deletions.
33 changes: 0 additions & 33 deletions src/pages/HealthCheckPage/HealthCheckPage.css

This file was deleted.

30 changes: 30 additions & 0 deletions src/pages/HealthCheckPage/HealthCheckPage.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#health-check-page {
#status-table {
margin-top: 20px;
width: 80%;
max-width: 600px;
border-radius: 5px;

&, th, td {
border: 1px solid black;
}

th, td {
padding: 5px;
text-align: center;
}
}

h1 {
margin-top: 20px;
text-align: center;
}

#errors {
margin-top: 25px;
width: 80%;
max-width: 600px;
padding: 5px;
border-radius: 5px;
}
}
6 changes: 3 additions & 3 deletions src/pages/HealthCheckPage/HealthCheckPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ import { ServiceId, SERVICES_AVAILABLE, HealthResponseDTO } from "@/types/Health
import { Optional } from "@/types/utils";
import { useEffect, useState } from "react";

import "./HealthCheckPage.css";
import "./HealthCheckPage.less";

export function HealthCheckPage() {
const [servicesHealth, setServicesHealth] = useState(initialState);

useEffect(() => { checkHealth() }, []);

return <main>
return <main id="health-check-page">
<center>
<h1>Saúde de serviços do Universi.me</h1>
<table>
<table id="status-table">
<tr>
<th>Serviço</th>
<th>Status</th>
Expand Down

0 comments on commit 73888b6

Please sign in to comment.