Update client web: Add OIDC configuration, new service layer, and Freya Theme integration
This commit is contained in:
@@ -12,8 +12,17 @@ quarkus.servlet.context-path=/gbcm
|
||||
# Security Configuration
|
||||
quarkus.security.auth.enabled=true
|
||||
|
||||
# Keycloak OIDC Configuration
|
||||
quarkus.oidc.auth-server-url=http://localhost:8180/realms/gbcm-llc
|
||||
quarkus.oidc.client-id=gbcm-web-client
|
||||
quarkus.oidc.credentials.secret=gbcm-web-secret
|
||||
quarkus.oidc.tls.verification=none
|
||||
quarkus.oidc.application-type=web-app
|
||||
quarkus.oidc.authentication.redirect-path=/gbcm/login
|
||||
quarkus.oidc.authentication.restore-path-after-redirect=true
|
||||
|
||||
# REST Client Configuration - GBCM Server API
|
||||
gbcm.server.api.url=http://localhost:8081/api/v1
|
||||
gbcm.server.api.url=http://localhost:8082/api
|
||||
quarkus.rest-client."com.gbcm.client.service.GBCMServerClient".url=${gbcm.server.api.url}
|
||||
|
||||
# Database Configuration (for session storage)
|
||||
|
||||
143
src/main/resources/templates/index.html
Normal file
143
src/main/resources/templates/index.html
Normal file
@@ -0,0 +1,143 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{title}</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.container {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
||||
padding: 3rem;
|
||||
max-width: 600px;
|
||||
width: 90%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
color: #1976D2;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
color: #666;
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.message {
|
||||
font-size: 1.2rem;
|
||||
color: #333;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.status-indicator {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #4CAF50;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
|
||||
.features {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 1rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.feature {
|
||||
background: #f5f5f5;
|
||||
padding: 1rem;
|
||||
border-radius: 8px;
|
||||
border-left: 4px solid #1976D2;
|
||||
}
|
||||
|
||||
.feature h3 {
|
||||
color: #1976D2;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.feature p {
|
||||
color: #666;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-top: 2rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid #eee;
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="logo">GBCM</div>
|
||||
<div class="subtitle">Global Business Consulting & Management</div>
|
||||
<div class="message">{message}</div>
|
||||
|
||||
<div class="status">
|
||||
<div class="status-indicator"></div>
|
||||
<span>Interface Web Active</span>
|
||||
</div>
|
||||
|
||||
<div class="features">
|
||||
<div class="feature">
|
||||
<h3>🏢 Gestion Clients</h3>
|
||||
<p>Suivi complet des prospects et clients</p>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<h3>👨💼 Gestion Coaches</h3>
|
||||
<p>Planification et suivi des coaches</p>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<h3>🎯 Ateliers</h3>
|
||||
<p>Organisation des workshops</p>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<h3>💬 Sessions</h3>
|
||||
<p>Coaching individuel personnalisé</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
Interface Web GBCM v1.0.0 - Powered by Quarkus
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user