gibcasa/templates/hl2.xhtml
Pratyush Desai b02e8ee84e
Add Server Start Stop
Adds start and stop server to the /hl2 deathmatch server
runs executable directly.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2024-11-03 03:52:21 +05:30

32 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/static/styles.css" />
<title>Half-Life 2</title>
</head>
<body>
<div class="container">
<h1>Half-Life 2</h1>
<div class="section">
<h2>Multiplayer Server</h2>
<p>Manage or join the multiplayer servers here.</p>
<form action="/start" method="post">
<button type="submit">Start Server</button>
</form>
<form action="/stop" method="post">
<button type="submit">Stop Server</button>
</form>
<form action="/restart" method="post">
<button type="submit">Restart Server</button>
</form>
</div>
<div class="section">
<h2>Coop</h2>
<p>Start or manage cooperative campaigns here.</p>
</div>
</div>
</body>
</html>