about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosted/edit.html48
-rw-r--r--hosted/view.html51
2 files changed, 99 insertions, 0 deletions
diff --git a/hosted/edit.html b/hosted/edit.html
new file mode 100644
index 0000000..e95872e
--- /dev/null
+++ b/hosted/edit.html
@@ -0,0 +1,48 @@
+<!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="/">Circus manager</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="/create">Create</a>
+                    </li>
+                    <li class="nav-item">
+                        <a class="nav-link" href="/view">View</a>
+                    </li>
+                    <li class="nav-item">
+                        <a class="nav-link" href="/edit">Edit</a>
+                    </li>
+                </ul>
+                <div class="btn-toolbar" role="toolbar">
+                    <div class="btn-group mr-2" role="group">
+                        <button class="btn btn-danger my-2 my-sm-0"
+                            onclick="logoutThenRedirect()">Logout (currently unsupported)</button>
+                    </div>
+                </div>
+            </div>
+        </nav>
+        <main class="container" role="main">
+            <div class="jumbotron">
+                <h1 class="display-4">Hello.</h1>
+                <h3>Welcome to the circus-manager</h3>
+                <p>You can create, view and edit challenges here</p>
+                <hr>
+                <a class="btn btn-primary btn-lg" href="/create"
+                    role="button">Create a new challenge!</a>
+            </div>
+        </main>
+    </body>
+</html>
diff --git a/hosted/view.html b/hosted/view.html
new file mode 100644
index 0000000..ac8b411
--- /dev/null
+++ b/hosted/view.html
@@ -0,0 +1,51 @@
+<!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="/">Circus manager</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="/create">Create</a>
+                    </li>
+                    <li class="nav-item">
+                        <a class="nav-link" href="/view">View</a>
+                    </li>
+                    <li class="nav-item">
+                        <a class="nav-link" href="/edit">Edit</a>
+                    </li>
+                </ul>
+                <div class="btn-toolbar" role="toolbar">
+                    <div class="btn-group mr-2" role="group">
+                        <button class="btn btn-danger my-2 my-sm-0"
+                            onclick="logoutThenRedirect()">Logout (currently unsupported)</button>
+                    </div>
+                </div>
+            </div>
+        </nav>
+        <main class="container" role="main">
+            <div class="jumbotron">
+                <h1 class="display-4">challenges</h1>
+                <h3>You can find a list of the challenges below</h3>
+                <p>You can create, view and edit challenges there</p>
+            </div>
+
+            <div class="jumbotron">
+                <h2 class="display-4">challenges</h2>
+                <h3>You can find a list of the challenges below</h3>
+                <p>You can create, view and edit challenges there</p>
+            </div>
+        </main>
+    </body>
+</html>