steamServer/templates/layout.html

105 lines
4.0 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<!-- Meta setup -->
{{block "title" . -}}{{- end}}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="content-Type" content="text/html; utf-8" />
<meta name="robots" content="INDEX,FOLLOW" />
<meta http-equiv="content-Language" content="en" />
<meta name="description" content="Serverlist for competitive Team Fortress 2 players" />
<meta name="keywords" content="tf2, tf, serverlist, team, fortress, 2" />
<meta name="page-type" content="Game" />
<meta name="page-topic" content="Team Fortress 2" />
<meta http-equiv="Reply-to" content="" />
<meta name="expires" content="" />
<meta name="revisit-after" content="2 days" />
<script async defer data-website-id="084ca01d-5337-4f12-8932-3033addbc175" src="https://a.v0v.de/t.js"></script>
{{block "title" . -}}{{- end}}
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="style.css" />
<script src="js/sorttable.js"></script>
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<main class="main-wrapper">
<!-- header-area start -->
<header class="header-area">
<div class="container">
<div class="header-item">
<a href="//serverlist.tf">Serverlist.tf</a>
</div>
</div>
</header>
<!-- header-area end -->
<!-- content-area start -->
<div class="content-area">
<div class="container">
<div class="content-item">
<div class="content-item-inner">
<select onchange="location = this.value;">
{{ $region := .Region }}
{{ $region }}
{{ "All Regions" }}
{{if eq $region "All Regions" -}}
<option value="/" selected hidden>All Regions</option>
{{else}}
<option value="/">All Regions</option>
{{- end}}
{{if eq $region "North America" -}}
<option value="/america" selected hidden>North America</option>
{{else}}
<option value="/america">North America</option>
{{- end}}
{{if eq $region "Europe" -}}
<option value="/europe" selected hidden>Europe</option>
{{else}}
<option value="/europe">Europe</option>
{{- end}}
{{if eq $region "Asia" -}}
<option value="/asia" selected hidden>Asia</option>
{{else}}
<option value="/asia">Asia</option>
{{- end}}
{{if eq $region "Australia" -}}
<option value="/australia" selected hidden>Australia</option>
{{else}}
<option value="/australia">Australia</option>
{{- end}}
</select>
</div>
{{block "content" . -}}{{- end}}
</div>
</div>
</div>
<!-- content-area end -->
<!-- footer-area start -->
<footer class="footer-area">
<div class="container">
<div class="footer-item">
<ul>
<li><a href="https://discord.gg/MfeXJkWg5m">Add Server</a></li>
<li><a href="https://spenny.tf/discord">Discord</a></li>
<li><a href="https://spenny.tf">spenny.tf</a></li>
<li><a href="https://tf.gg/60348">teamfortress.tv</a></li>
</ul>
<p>© 2021 Serverlist.tf</p>
</div>
</div>
</footer>
<!-- footer-area end -->
</main>
</body>
</html>