Create basic html for site

This commit is contained in:
Chandler Swift 2020-03-19 23:20:59 -05:00
commit e6cc669333
3 changed files with 85 additions and 0 deletions

20
templates/index.html Normal file
View file

@ -0,0 +1,20 @@
<!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>
<li><b>IP Address:</b> {{.IPAddr}}</li>
<li><b>Server Name:</b> {{.Title}}</li>
<li><b>Current players:</b><br>{{.Players}}</li>
</ul>
</body>
</html>