about summary refs log tree commit diff
path: root/hosted/access.html
diff options
context:
space:
mode:
authormaride <maride@darknebu.la>2019-10-11 14:53:34 +0200
committermaride <maride@darknebu.la>2019-10-11 14:53:34 +0200
commitf822befed9f4b39f76993adb2376d694023868bf (patch)
tree42134d3d9c08ab830d02cc174a637358d4d61d20 /hosted/access.html
parent92d20710d7cbad0781d04d45ee859a1d66b30b0d (diff)
Display current team score on the website
Diffstat (limited to 'hosted/access.html')
-rw-r--r--hosted/access.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/hosted/access.html b/hosted/access.html
index 11e1fe5..2279fc9 100644
--- a/hosted/access.html
+++ b/hosted/access.html
@@ -6,6 +6,7 @@
         <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.min.js"></script>
         <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
         <script type="text/javascript" src="/files/logout.js"></script>
+        <script type="text/javascript" src="/files/stats.js"></script>
         <style type="text/css">
             body {
                 overflow-y: scroll;
@@ -30,7 +31,16 @@
                         <a class="nav-link" href="/challenges">Challenges</a>
                     </li>
                 </ul>
-                <button class="btn btn-outline-danger my-2 my-sm-0" onclick="logoutThenRedirect()">Logout</button>
+                <div class="btn-toolbar" role="toolbar">
+                    <div class="btn-group mr-2" role="group">
+                        <button type="button" class="btn btn-primary">
+                            <span class="badge badge-light" id="_teamScore">0</span> Points
+                        </button>
+                    </div>
+                    <div class="btn-group mr-2" role="group">
+                        <button class="btn btn-outline-danger my-2 my-sm-0" onclick="logoutThenRedirect()">Logout</button>
+                    </div>
+                </div>
             </div>
         </nav>
         <main class="container" role="main">