minecraft-site/templates/index.html

21 lines
586 B
HTML
Raw Normal View History

2020-03-19 23:20:59 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>blackolivepineapple.pizza Factorio Server</title>
<style>
html {
font-family: sans-serif;
padding: 10px;
}
</style>
</head>
<body>
<h1>blackolivepineapple.pizza Factorio Server</h1>
<ul>
2020-03-20 11:48:01 -05:00
<li><b>Connection String:</b> {{.IPAddr}}{{if ne .Port 34197}}:{{.Port}}{{end}}</li>
2020-03-19 23:20:59 -05:00
<li><b>Server Name:</b> {{.Title}}</li>
<li><b>Current players:</b><br>{{.Players}}</li>
</ul>
</body>
</html>