<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RabbitMQ Cluster Management</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f0f0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
text-align: center;
}
.button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
margin: 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.button:hover {
background-color: #45a049;
}
.description {
margin-top: 5px;
font-size: 14px;
color: #666;
}
</style>
</head>
<body>
<div class="container">
<div>
<button class="button" onclick="location.href='http://localhost:15672'">Cluster 1</button>
<div class="description">Main Application</div>
</div>
<div>
<button class="button" onclick="location.href='http://localhost:15673'">Cluster 2</button>
<div class="description">Backup Services</div>
</div>
<div>
<button class="button" onclick="location.href='http://localhost:15674'">Cluster 3</button>
<div class="description">Data Analysis</div>
</div>
<div>
<button class="button" onclick="location.href='http://localhost:15675'">Cluster 4</button>
<div class="description">Development Environment</div>
</div>
<div>
<button class="button" onclick="location.href='http://localhost:15676'">Cluster 5</button>
<div class="description">Testing Platform</div>
</div>
</div>
</body>
</html>
标签:tmp,center,color,Cluster,background,font,margin
From: https://www.cnblogs.com/iamxiaofu/p/18137789