multi account large update
This commit is contained in:
75
templates/index.html
Normal file
75
templates/index.html
Normal file
@@ -0,0 +1,75 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Grepolis Remote Dashboard - Select Player</title>
|
||||
<link rel="stylesheet" href="/static/css/styles.css">
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background-color: #1a1a24;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
.landing-container {
|
||||
background: #2a2a36;
|
||||
padding: 2rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
|
||||
text-align: center;
|
||||
max-width: 500px;
|
||||
width: 100%;
|
||||
}
|
||||
.player-card {
|
||||
background: #3a3a46;
|
||||
margin: 10px 0;
|
||||
padding: 15px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
display: block;
|
||||
transition: background 0.2s, transform 0.1s;
|
||||
font-size: 1.1rem;
|
||||
border: 1px solid #4a4a56;
|
||||
}
|
||||
.player-card:hover {
|
||||
background: #5a5a66;
|
||||
transform: translateY(-2px);
|
||||
border-color: #c8a44a;
|
||||
}
|
||||
.player-card span {
|
||||
color: #888;
|
||||
font-size: 0.8rem;
|
||||
margin-left: 10px;
|
||||
}
|
||||
h1 {
|
||||
color: #c8a44a;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
p {
|
||||
color: #aaa;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="landing-container">
|
||||
<h1>⚔️ Grepolis Remote</h1>
|
||||
<p>Select an active account to manage</p>
|
||||
|
||||
{% if not players %}
|
||||
<p style="color: #ffaa55;">No players found! Install the Tampermonkey script and log into the game first.</p>
|
||||
{% endif %}
|
||||
|
||||
{% for p in players %}
|
||||
<a href="/player/{{ p.player_id }}" class="player-card">
|
||||
<strong>{{ p.player }}</strong> <span>(ID: {{ p.player_id }})</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user