Create basic html for site
This commit is contained in:
commit
e6cc669333
3 changed files with 85 additions and 0 deletions
20
templates/index.html
Normal file
20
templates/index.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue