startup page seting
This commit is contained in:
33
templates/dashboard.html
Normal file
33
templates/dashboard.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dashboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Dashboard</h1>
|
||||
|
||||
<h2>Players</h2>
|
||||
<ul>
|
||||
{% for player in players %}
|
||||
<li>
|
||||
{{ player.username }} ({{ player.ip }})
|
||||
<a href="{{ url_for('player_page', player_id=player.id) }}">View Schedule</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<a href="{{ url_for('add_player') }}">Add Player</a>
|
||||
|
||||
<h2>Groups</h2>
|
||||
<ul>
|
||||
{% for group_name, group in groups.items() %}
|
||||
<li>
|
||||
{{ group_name }} ({{ group.players | length }} players)
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<a href="{{ url_for('add_group') }}">Add Group</a>
|
||||
|
||||
<h2>Content Upload</h2>
|
||||
<a href="{{ url_for('upload_content') }}">Upload Content</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user