Upload files to "templates"
This commit is contained in:
32
templates/index.html
Normal file
32
templates/index.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Grepolis Control Panel</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script defer src="{{ url_for('static', filename='js/app.js') }}"></script>
|
||||
<style>
|
||||
body { display: flex; height: 100vh; }
|
||||
#sidebar { width: 250px; border-right: 1px solid #ccc; overflow-y: auto; }
|
||||
#main { flex: 1; padding: 20px; overflow-y: auto; }
|
||||
#attacks { width: 300px; border-left: 1px solid #ccc; overflow-y: auto; }
|
||||
.player-item { cursor: pointer; padding: 8px; border-bottom: 1px solid #eee; }
|
||||
.player-item:hover { background: #f0f0f0; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<h5 class="p-2">Players</h5>
|
||||
<div id="player-list"></div>
|
||||
</div>
|
||||
<div id="main">
|
||||
<h3>Select a player</h3>
|
||||
<div id="player-details"></div>
|
||||
</div>
|
||||
<div id="attacks">
|
||||
<h5 class="p-2 text-danger">Incoming Attacks</h5>
|
||||
<div id="attacks-list"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user