149 lines
4.5 KiB
HTML
149 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="fr">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>SSH Launcher</title>
|
||
<style>
|
||
* {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
body {
|
||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||
background: #1a1a2e;
|
||
color: #eee;
|
||
min-height: 100vh;
|
||
padding: 2rem;
|
||
}
|
||
h1 {
|
||
text-align: center;
|
||
margin-bottom: 2rem;
|
||
color: #00d9ff;
|
||
}
|
||
.container {
|
||
max-width: 800px;
|
||
margin: 0 auto;
|
||
}
|
||
.category {
|
||
margin-bottom: 2rem;
|
||
}
|
||
.category h2 {
|
||
color: #ff6b6b;
|
||
border-bottom: 2px solid #ff6b6b;
|
||
padding-bottom: 0.5rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
.machines {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||
gap: 1rem;
|
||
}
|
||
.machine {
|
||
background: #16213e;
|
||
border-radius: 8px;
|
||
padding: 1.5rem;
|
||
transition: transform 0.2s, box-shadow 0.2s;
|
||
}
|
||
.machine:hover {
|
||
transform: translateY(-3px);
|
||
box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
|
||
}
|
||
.machine h3 {
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
.machine .info {
|
||
color: #888;
|
||
font-size: 0.9rem;
|
||
margin-bottom: 1rem;
|
||
}
|
||
.machine a {
|
||
display: inline-block;
|
||
background: #00d9ff;
|
||
color: #1a1a2e;
|
||
text-decoration: none;
|
||
padding: 0.5rem 1rem;
|
||
border-radius: 4px;
|
||
font-weight: bold;
|
||
transition: background 0.2s;
|
||
}
|
||
.machine a:hover {
|
||
background: #00b8d9;
|
||
}
|
||
footer {
|
||
text-align: center;
|
||
margin-top: 3rem;
|
||
color: #666;
|
||
font-size: 0.9rem;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="container">
|
||
<h1>SSH Launcher</h1>
|
||
|
||
<!-- Cat<61>gorie: Postes de travail -->
|
||
<div class="category">
|
||
<h2>Postes de travail</h2>
|
||
<div class="machines">
|
||
<div class="machine">
|
||
<h3>PC Bureau</h3>
|
||
<div class="info">gilles@10.0.0.24</div>
|
||
<a href="ssh://gilles@10.0.0.24">Connexion SSH</a>
|
||
</div>
|
||
<div class="machine">
|
||
<h3>Laptop</h3>
|
||
<div class="info">gilles@10.0.0.25</div>
|
||
<a href="ssh://gilles@10.0.0.25">Connexion SSH</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Cat<61>gorie: Serveurs -->
|
||
<div class="category">
|
||
<h2>Serveurs</h2>
|
||
<div class="machines">
|
||
<div class="machine">
|
||
<h3>Proxmox</h3>
|
||
<div class="info">root@10.0.0.10</div>
|
||
<a href="ssh://root@10.0.0.10">Connexion SSH</a>
|
||
</div>
|
||
<div class="machine">
|
||
<h3>NAS</h3>
|
||
<div class="info">admin@10.0.0.11</div>
|
||
<a href="ssh://admin@10.0.0.11">Connexion SSH</a>
|
||
</div>
|
||
<div class="machine">
|
||
<h3>Web Server</h3>
|
||
<div class="info">www@10.0.0.12</div>
|
||
<a href="ssh://www@10.0.0.12">Connexion SSH</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Cat<61>gorie: Raspberry Pi -->
|
||
<div class="category">
|
||
<h2>Raspberry Pi</h2>
|
||
<div class="machines">
|
||
<div class="machine">
|
||
<h3>Pi Home Assistant</h3>
|
||
<div class="info">pi@10.0.0.50</div>
|
||
<a href="ssh://pi@10.0.0.50">Connexion SSH</a>
|
||
</div>
|
||
<div class="machine">
|
||
<h3>Pi DNS</h3>
|
||
<div class="info">pi@10.0.0.51</div>
|
||
<a href="ssh://pi@10.0.0.51">Connexion SSH</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<footer>
|
||
<p>Cliquez sur "Connexion SSH" pour ouvrir un terminal avec la connexion.</p>
|
||
<p>Modifiez ce fichier pour ajouter vos propres machines.</p>
|
||
</footer>
|
||
</div>
|
||
</body>
|
||
</html>
|