This repository has been archived on 2024-05-18. You can view files and clone it, but cannot push or open issues or pull requests.
steamServer/templates/layout.html

106 lines
4.1 KiB
HTML
Raw Normal View History

2021-10-13 21:23:08 +02:00
<!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>
<script defer data-domain="serverlist.tf" src="https://t.v0v.de/js/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>
2021-10-13 21:23:08 +02:00
</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;">
2021-10-14 11:00:44 +02:00
{{ $region := .Region }}
{{ $region }}
{{ "All Regions" }}
{{if eq $region "All Regions" -}}
2021-10-14 12:13:37 +02:00
<option value="/" selected hidden>All Regions</option>
2021-10-14 11:00:44 +02:00
{{else}}
2021-10-13 21:23:08 +02:00
<option value="/">All Regions</option>
2021-10-14 11:00:44 +02:00
{{- end}}
{{if eq $region "North America" -}}
2021-10-14 12:13:37 +02:00
<option value="/america" selected hidden>North America</option>
2021-10-14 11:00:44 +02:00
{{else}}
2021-10-13 21:23:08 +02:00
<option value="/america">North America</option>
2021-10-14 11:00:44 +02:00
{{- end}}
{{if eq $region "Europe" -}}
2021-10-14 12:13:37 +02:00
<option value="/europe" selected hidden>Europe</option>
2021-10-14 11:00:44 +02:00
{{else}}
2021-10-13 21:23:08 +02:00
<option value="/europe">Europe</option>
2021-10-14 11:00:44 +02:00
{{- end}}
{{if eq $region "Asia" -}}
2021-10-14 12:13:37 +02:00
<option value="/asia" selected hidden>Asia</option>
2021-10-14 11:00:44 +02:00
{{else}}
2021-10-13 21:23:08 +02:00
<option value="/asia">Asia</option>
2021-10-14 11:00:44 +02:00
{{- end}}
{{if eq $region "Australia" -}}
2021-10-14 12:13:37 +02:00
<option value="/australia" selected hidden>Australia</option>
2021-10-14 11:00:44 +02:00
{{else}}
2021-10-13 21:23:08 +02:00
<option value="/australia">Australia</option>
2021-10-14 11:00:44 +02:00
{{- end}}
2021-10-13 21:23:08 +02:00
</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>
2021-10-14 11:00:44 +02:00
<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>
2021-10-13 21:23:08 +02:00
</ul>
<p>© 2021 Serverlist.tf</p>
</div>
</div>
</footer>
<!-- footer-area end -->
</main>
</body>
</html>