Base Functionality added. Adding a Server with the image port ip and other params specified will spawn a container and one can manage the lifecycle in the admin panel and the game server detail view updates based on container status. Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
16 lines
378 B
HTML
16 lines
378 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>{{ game.name }}</title></head>
|
|
<body>
|
|
<h1>{{ game.name }}</h1>
|
|
<p>{{ game.description }}</p>
|
|
<h2>Servers</h2>
|
|
<ul>
|
|
{% for server in game.servers.all %}
|
|
<li>{{ server.ip_address }}:{{ server.port }} - {{ server.status }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<a href="/">Back to Games</a>
|
|
</body>
|
|
</html>
|