diff options
author | Marvin Borner | 2020-10-20 21:53:57 +0200 |
---|---|---|
committer | Marvin Borner | 2020-10-20 21:54:15 +0200 |
commit | 36936cbc7e79e4eef2f2e49432eeb31e4198e5bd (patch) | |
tree | 8f54b905a24c92aff95957c867891a37d11e8723 /admin/public/participation.html | |
parent | 5e345852a79e7f803d7796cb14c0c13a5be3ad14 (diff) |
Quick and dirty participation statistics
Diffstat (limited to 'admin/public/participation.html')
-rw-r--r-- | admin/public/participation.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/admin/public/participation.html b/admin/public/participation.html new file mode 100644 index 0000000..2b132f2 --- /dev/null +++ b/admin/public/participation.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <link + rel="stylesheet" + href="https://unpkg.com/purecss@2.0.3/build/pure-min.css" + integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ" + crossorigin="anonymous" + /> + <link rel="stylesheet" href="style.css" type="text/css" media="all" /> + + <title>Participation</title> + </head> + <body> + <div class="pure-menu pure-menu-horizontal"> + <a href="/" class="pure-menu-item pure-menu-link">Home</a> + <a href="/auth/api/logout" class="pure-menu-item pure-menu-link">Logout</a> + </div> + <div class="card"> + <button class="pure-button" id="switch">Switch</button> + <br /> + <canvas id="participation" width="400" height="400"></canvas> + </div> + + <script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.3/dist/Chart.bundle.min.js"></script> + <script src="participation.js"></script> + </body> +</html> |