about summary refs log tree commit diff
path: root/hosted
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-20 16:53:28 +0200
committerEmile <hanemile@protonmail.com>2019-10-20 16:53:28 +0200
commitc856c7e66e3ad29ea0491f1f4951b31deb8279ea (patch)
treee32daefbeec30e667f261eca2c5a3409e783453d /hosted
parent22e3029cbf5fa7fd64bfaea2e4dcd011c40a4236 (diff)
functional
Diffstat (limited to 'hosted')
-rw-r--r--hosted/index.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/hosted/index.html b/hosted/index.html
new file mode 100644
index 0000000..ecc3989
--- /dev/null
+++ b/hosted/index.html
@@ -0,0 +1,39 @@
+{{define "index"}}
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
+        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
+    </head>
+    <body>
+        <nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
+            <a class="navbar-brand" href="/">dorfCTF</a>
+            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
+                <span class="navbar-toggler-icon"></span>
+            </button>
+            <div class="collapse navbar-collapse" id="navbarCollapse">
+                <ul class="navbar-nav mr-auto">
+                </ul>
+            </div>
+        </nav>
+        <main class="container" role="main">
+            <div class="jumbotron">
+                <h1 class="display-4">Hello.</h1>
+                <h3>Welcome to the dorfCTF landing page</h3>
+                <p>This CTF is a bit different than all the other CTFs. First of
+                all, you need to register a companion. Using the companion you
+                can spawn your challenges in which you must find flags. 
+                </p>
+                <hr>
+                <a class="btn btn-primary btn-lg"
+                   href="http://register.{{.Hostname}}"
+                    role="button">Register!</a>
+                <a class="btn btn-primary btn-lg"
+                   href="http://grafana.{{.Hostname}}"
+                    role="button">Scoreboard</a>
+            </div>
+        </main>
+    </body>
+</html>
+{{end}}