Projeto Completo: GuiaSenior Web App (Docker + Spring Boot)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Serviços Públicos</title>
|
||||
<link rel="stylesheet" th:href="@{/css/style.css}">
|
||||
<style>
|
||||
.site-card {
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.site-card:hover {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
a.card-link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header style="background-color: #0277BD;">
|
||||
<span th:text="${regionName}">Região</span>
|
||||
</header>
|
||||
|
||||
<div class="container fade-in">
|
||||
<a th:href="@{/regioes}" class="back-btn">⬅ Voltar</a>
|
||||
|
||||
<p style="font-size: 1.2rem; margin-bottom: 20px;">Selecione empresa para detalhes:</p>
|
||||
|
||||
<a th:each="site : ${sites}" th:href="@{'/site/' + ${site.id}}" class="card-link">
|
||||
<div class="card site-card">
|
||||
<h2 th:text="${site.name}">Nome Empresa</h2>
|
||||
<p th:text="${site.shortDesc}">Descrição</p>
|
||||
<div style="color: #0277BD; font-weight: bold; margin-top: 10px;">
|
||||
Ver Detalhes ➡
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user