diff options
author | maride <maride@darknebu.la> | 2018-08-14 23:26:54 +0200 |
---|---|---|
committer | maride <maride@darknebu.la> | 2018-08-14 23:26:54 +0200 |
commit | 086635b9a4085c5ca097943e29ed740448b8fb78 (patch) | |
tree | d3e7784f60f3741b606ca05caa8ae134cf7d44df /hosted/index.html | |
parent | 612f9df18d322def591d0bd4142fa633cc3136fc (diff) |
Bootstrap & Handlebars magic for a 21st-century-worthy UI
Diffstat (limited to 'hosted/index.html')
-rw-r--r-- | hosted/index.html | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/hosted/index.html b/hosted/index.html index 0b2af7c..57320ac 100644 --- a/hosted/index.html +++ b/hosted/index.html @@ -2,8 +2,35 @@ <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"> </head> <body> - Welcome to your companion. + <nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4"> + <a class="navbar-brand" href="/">Companion</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"> + <li class="nav-item active"> + <a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a> + </li> + <li class="nav-item"> + <a class="nav-link" href="/challenges">Challenges</a> + </li> + </ul> + <form class="form-inline mt-2 mt-md-0" action="/logout" method="post"> + <button class="btn btn-outline-danger my-2 my-sm-0" type="submit">Logout</button> + </form> + </div> + </nav> + <main class="container" role="main"> + <div class="jumbotron"> + <h1 class="display-4">Hello, {{username}}.</h1> + <h3>I'm your companion.</h3> + <p>I was spawned just for you. Here, you can start, stop and reset challenges, as well as enter found flags.</p> + <p>Please note that I'm not in scope. Please don't hack me. However, if you accidentally find bugs in my code, ... report them!</p> + </div> + </main> </body> </html> \ No newline at end of file |